New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wrong compression type reported for TIFF's #309

Closed
PlugOne opened this Issue Oct 18, 2016 · 1 comment

Comments

2 participants
@PlugOne
Copy link

PlugOne commented Oct 18, 2016

Hi.

I'm using Wand (Mac 10.11.6. Wand(0.4.3), imagemagick(6.9.6-2) and dependencies installed through brew, pyenv running 3.5.2) to, among other things, verify the properties (colorspace, depth, compression, etc. ) of a huge batch of TIFF's. Wand is reporting that the compression type of some of the TIFF's is 'b44a,' which is far as I know is not supported by the TIFF format. Looking at the images using Imagemagick's identify (identify -format "%C" [path\to\tiff]) shows them as 'None' or uncompressed. EXIFTool as well as a hex dump of the files confirm that they are uncompressed. Testing it out a little, a TIFF using JPEG compression reports as 'JPEG2000' while a Group 4 encoded bitonal image reports as 'fax.'

Thanks for your help. And thanks for Wand.

@emcconville

This comment has been minimized.

Copy link
Owner

emcconville commented Dec 13, 2018

Ah! Looks like COMPRESSION_TYPES was mapped to ImageMagick-7's CompressionType enumerators. Should be a simple fix.

@emcconville emcconville added this to the 0.5.0 milestone Dec 13, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment