← Back to team overview

hugin-devs team mailing list archive

[Bug 679266] Re: JPEG: Maximum supported image dimension is 65500 pixels

 

I would like to second the suggestion of checking for desired width
before starting the stitching, rather than allowing users to spend hours
trying to stitch an image which is too big for the jpeg library, only to
have it error near the end.

Even better would be a helpful message saying "this image is too large
to stitch as a jpeg, try writing it as a tiff or png instead".

-- 
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Hugin.
https://bugs.launchpad.net/bugs/679266

Title:
  JPEG: Maximum supported image dimension is 65500 pixels

Status in Hugin:
  Fix Released

Bug description:
  C:\Programme\Hugin\bin\nona -z PACKBITS  -r ldr -m TIFF_m -o test\ 5 -i 0 C:\DOKUME~1\LUTZGR~1\LOKALE~1\Temp\hug9.tmp
  C:\Programme\Hugin\bin\nona -z PACKBITS  -r ldr -m TIFF_m -o test\ 5 -i 1 C:\DOKUME~1\LUTZGR~1\LOKALE~1\Temp\hug9.tmp
  C:\Programme\Hugin\bin\nona -z PACKBITS  -r ldr -m TIFF_m -o test\ 5 -i 2 C:\DOKUME~1\LUTZGR~1\LOKALE~1\Temp\hug9.tmp
  C:\Programme\Hugin\bin\nona -z PACKBITS  -r ldr -m TIFF_m -o test\ 5 -i 3 C:\DOKUME~1\LUTZGR~1\LOKALE~1\Temp\hug9.tmp
  C:\Programme\Hugin\bin\nona -z PACKBITS  -r ldr -m TIFF_m -o test\ 5 -i 4 C:\DOKUME~1\LUTZGR~1\LOKALE~1\Temp\hug9.tmp
  C:\Programme\Hugin\bin\enblend --compression 100 -w -f11387x415337 -o test\ 5.jpg test\ 50000.tif test\ 50001.tif test\ 50002.tif test\ 50003.tif test\ 50004.tif 
  Loading next image: test 50000.tif
  Loading next image: test 50001.tif
  Creating blend mask: 1/6 2/6 3/6 4/6 5/6 6/6
  Optimizing 2 distinct seams.
  Strategy 1, s0:

  Strategy 1, s1: 1/4 2/4 3/4 4/4
  Strategy 2: s0 s1
  Using 8 blending levels
  Generating Gaussian pyramid:  g0 g1 g2 g3 g4 g5 g6 g7
  Generating Gaussian pyramid:  g0 g1 g2 g3 g4 g5 g6 g7
  Generating Laplacian pyramid: l0 l1 l2 l3 l4 l5 l6 l7
  Generating Gaussian pyramid:  g0 g1 g2 g3 g4 g5 g6 g7
  Generating Laplacian pyramid: l0 l1 l2 l3 l4 l5 l6 l7
  Blending layers:              l0 l1 l2 l3 l4 l5 l6 l7
  Collapsing Laplacian pyramid: l7 l6 l5 l4 l3 l2 l1 l0
  Loading next image: test 50002.tif
  Creating blend mask: 1/6 2/6 3/6 4/6 5/6 6/6
  Optimizing 2 distinct seams.

  Strategy 1, s0: 1/4 2/4 3/4 4/4
  Strategy 1, s1:
  Strategy 2: s0 s1
  Using 8 blending levels
  Generating Gaussian pyramid:  g0 g1 g2 g3 g4 g5 g6 g7
  Generating Gaussian pyramid:  g0 g1 g2 g3 g4 g5 g6 g7
  Generating Laplacian pyramid: l0 l1 l2 l3 l4 l5 l6 l7
  Generating Gaussian pyramid:  g0 g1 g2 g3 g4 g5 g6 g7
  Generating Laplacian pyramid: l0 l1 l2 l3 l4 l5 l6 l7
  Blending layers:              l0 l1 l2 l3 l4 l5 l6 l7
  Collapsing Laplacian pyramid: l7 l6 l5 l4 l3 l2 l1 l0
  Loading next image: test 50003.tif
  Creating blend mask: 1/6 2/6 3/6 4/6 5/6 6/6
  Optimizing 1 distinct seam.

  Strategy 1, s0: 1/4 2/4 3/4 4/4
  Strategy 2: s0
  Using 8 blending levels
  Generating Gaussian pyramid:  g0 g1 g2 g3 g4 g5 g6 g7
  Generating Gaussian pyramid:  g0 g1 g2 g3 g4 g5 g6 g7
  Generating Laplacian pyramid: l0 l1 l2 l3 l4 l5 l6 l7
  Generating Gaussian pyramid:  g0 g1 g2 g3 g4 g5 g6 g7
  Generating Laplacian pyramid: l0 l1 l2 l3 l4 l5 l6 l7
  Blending layers:              l0 l1 l2 l3 l4 l5 l6 l7
  Collapsing Laplacian pyramid: l7 l6 l5 l4 l3 l2 l1 l0
  Loading next image: test 50004.tif
  Creating blend mask: 1/6 2/6 3/6 4/6 5/6 6/6
  Optimizing 2 distinct seams.

  Strategy 1, s0: 1/4 2/4 3/4 4/4
  Strategy 1, s1: 1/4 2/4 3/4 4/4
  Strategy 2: s0 s1
  Using 8 blending levels
  Generating Gaussian pyramid:  g0 g1 g2 g3 g4 g5 g6 g7

  Generating Gaussian pyramid:  g0 g1 g2 g3 g4 g5 g6 g7
  Generating Laplacian pyramid: l0 l1 l2 l3 l4 l5 l6 l7
  Generating Gaussian pyramid:  g0 g1 g2 g3 g4 g5 g6 g7
  Generating Laplacian pyramid: l0 l1 l2 l3 l4 l5 l6 l7
  Blending layers:              l0 l1 l2 l3 l4 l5 l6 l7
  Collapsing Laplacian pyramid: l7 l6 l5 l4 l3 l2 l1 l0
  Writing final output...
  Maximum supported image dimension is 65500 pixels

  enblend: an exception occured
  error in jpeg_start_compress()
  make: *** [test 5.jpg] Error 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/hugin/+bug/679266/+subscriptions