Package: iipimage
For some reason Pyramidal JPEG generated by VIPS (any version, indepedantly of bug #689523 are not supported by IIPImage, the server fails with a 500 error. Input is: $ head -3 test.ppm P6 11904 14848 255 What's working ok is: 1. VIPS + deflate vips test.ppm test1.ok.tif --tile --pyramid --compression deflate --tile-width 256 --tile-height 256 2. IM + JPEG convert test.ppm -compress jpeg -quality 80 -define tiff:tile-geometry=256x256 ptif:test2.ok.tif What's broken is: 3. VIPS + JPEG vips test.ppm test3.notok.tif --tile --pyramid --compression jpeg --Q 80 --tile-width 256 --tile-height 256 Version tested: VIPS 7.28.5-1 + patch from #714984#48 & VIPS 7.36.3-3 Adding tiffdump if this matter: $ tiffdump test1.ok.tif | head -20 test1.ok.tif: Magic: 0x4949 <little-endian> Version: 0x2a <ClassicTIFF> Directory 0: offset 329956498 (0x13aabc92) next 400728092 (0x17e2a01c) ImageWidth (256) SHORT (3) 1<11904> ImageLength (257) SHORT (3) 1<14848> BitsPerSample (258) SHORT (3) 3<8 8 8> Compression (259) SHORT (3) 1<8> Photometric (262) SHORT (3) 1<2> Orientation (274) SHORT (3) 1<1> SamplesPerPixel (277) SHORT (3) 1<3> XResolution (282) RATIONAL (5) 1<10> YResolution (283) RATIONAL (5) 1<10> PlanarConfig (284) SHORT (3) 1<1> ResolutionUnit (296) SHORT (3) 1<3> Predictor (317) SHORT (3) 1<1> TileWidth (322) SHORT (3) 1<256> TileLength (323) SHORT (3) 1<256> TileOffsets (324) LONG (4) 2726<8 104660 209173 314148 419644 526257 632561 738414 844037 948605 1053566 1158580 1263231 1367802 1472182 1575570 1678585 1783145 1888853 1995195 2100904 2206120 2311115 2416228 ...> TileByteCounts (325) LONG (4) 2726<104652 104513 104975 105496 106613 106304 105853 105623 104568 104961 105014 104651 104571 104380 103388 103015 104560 105708 106342 105709 105216 104995 105113 105010 ...> $ tiffdump test2.ok.tif | head -27 test2.ok.tif: Magic: 0x4949 <little-endian> Version: 0x2a <ClassicTIFF> Directory 0: offset 45096116 (0x2b01cb4) next 55253788 (0x34b1b1c) ImageWidth (256) SHORT (3) 1<11904> ImageLength (257) SHORT (3) 1<14848> BitsPerSample (258) SHORT (3) 3<8 8 8> Compression (259) SHORT (3) 1<7> Photometric (262) SHORT (3) 1<2> FillOrder (266) SHORT (3) 1<1> DocumentName (269) ASCII (2) 19<MD.IM.jpeg.256.tif\0> Orientation (274) SHORT (3) 1<1> SamplesPerPixel (277) SHORT (3) 1<3> RowsPerStrip (278) SHORT (3) 1<16> XResolution (282) RATIONAL (5) 1<72> YResolution (283) RATIONAL (5) 1<72> PlanarConfig (284) SHORT (3) 1<1> ResolutionUnit (296) SHORT (3) 1<1> PageNumber (297) SHORT (3) 2<0 9> Whitepoint (318) RATIONAL (5) 2<0.3127 0.329> PrimaryChromaticities (319) RATIONAL (5) 6<0.64 0.33 0.3 0.6 0.15 0.06> TileWidth (322) SHORT (3) 1<256> TileLength (323) SHORT (3) 1<256> TileOffsets (324) LONG (4) 2726<8 11023 22056 33375 44722 56317 67835 79288 90636 101802 113111 124389 135441 146572 157464 168137 178561 189539 200996 212571 223897 235057 246264 257417 ...> TileByteCounts (325) LONG (4) 2726<11015 11033 11319 11347 11595 11518 11453 11348 11166 11309 11278 11052 11131 10892 10673 10424 10978 11457 11575 11326 11160 11207 11153 11122 ...> JPEGTables (347) UNDEFINED (7) 289<0xff 0xd8 0xff 0xdb 00 0x43 00 0x6 0x4 0x5 0x6 0x5 0x4 0x6 0x6 0x5 0x6 0x7 0x7 0x6 0x8 0xa 0x10 0xa ...> YCbCrSubsampling (530) SHORT (3) 2<2 2> $ tiffdump test3.notok.tif | head -21 test3.notok.tif: Magic: 0x4949 <little-endian> Version: 0x2a <ClassicTIFF> Directory 0: offset 12670806 (0xc15756) next 16266174 (0xf833be) ImageWidth (256) SHORT (3) 1<11904> ImageLength (257) SHORT (3) 1<14848> BitsPerSample (258) SHORT (3) 3<8 8 8> Compression (259) SHORT (3) 1<7> Photometric (262) SHORT (3) 1<6> Orientation (274) SHORT (3) 1<1> SamplesPerPixel (277) SHORT (3) 1<3> XResolution (282) RATIONAL (5) 1<10> YResolution (283) RATIONAL (5) 1<10> PlanarConfig (284) SHORT (3) 1<1> ResolutionUnit (296) SHORT (3) 1<3> TileWidth (322) SHORT (3) 1<256> TileLength (323) SHORT (3) 1<256> TileOffsets (324) LONG (4) 2726<8 2179 4322 6521 8726 11058 13342 15643 17861 20077 22317 24555 26731 28879 31089 33180 35207 37311 39634 41941 44160 46284 48414 50564 ...> TileByteCounts (325) LONG (4) 2726<2171 2143 2199 2205 2332 2284 2301 2218 2216 2240 2238 2176 2148 2210 2091 2027 2104 2323 2307 2219 2124 2130 2150 2137 ...> JPEGTables (347) UNDEFINED (7) 574<0xff 0xd8 0xff 0xdb 00 0x43 00 0x6 0x4 0x5 0x6 0x5 0x4 0x6 0x6 0x5 0x6 0x7 0x7 0x6 0x8 0xa 0x10 0xa ...> ReferenceBlackWhite (532) RATIONAL (5) 6<0 255 128 255 128 255> $ tiffinfo test3.notok.tif | head -15 TIFF Directory at offset 0xc15756 (12670806) Image Width: 11904 Image Length: 14848 Tile Width: 256 Tile Length: 256 Resolution: 10, 10 pixels/cm Bits/Sample: 8 Compression Scheme: JPEG Photometric Interpretation: YCbCr Orientation: row 0 top, col 0 lhs Samples/Pixel: 3 Planar Configuration: single image plane Reference Black/White: 0: 0 255 1: 128 255 2: 128 255 JPEG Tables: (574 bytes) -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org