jarun / imgp

:camera_flash: Fast batch image resizer and rotator
GNU General Public License v3.0
1.03k stars 50 forks source link

Some JPGs are not being recognized as JPGs #21

Closed tribut closed 7 years ago

tribut commented 7 years ago

When I throw a JPG from my camera at imgp, it says it is not a JPG (but it is):

$ ~/dev/imgp/imgp -x 1920x1920 -p -z P1010670.JPG 
P1010670.JPG: not JPEG or PNG image
$ file P1010670.JPG 
P1010670.JPG: JPEG image data, Exif standard: [TIFF image data, little-endian, direntries=13, manufacturer=Panasonic, model=DMC-GX80, orientation=upper-left, xresolution=190, yresolution=198, resolutionunit=2, software=Ver.1.2  , datetime=2017:10:31 12:59:19], baseline, precision 8, 4592x3448, frames 3

Here is an image so you can try it for yourself: [removed]

jarun commented 7 years ago

The file is actually an MPO file

However, it gets converted so I guess we can add it, though undocumented.