Skip to content
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
Closed

wrong compression type reported for TIFF's #309

PlugOne opened this issue Oct 18, 2016 · 1 comment
Milestone

Comments

@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
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants