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

save_tiff() having issues on 32 bit computer #45

Closed
bijjuair opened this issue Mar 7, 2016 · 2 comments
Closed

save_tiff() having issues on 32 bit computer #45

bijjuair opened this issue Mar 7, 2016 · 2 comments

Comments

@bijjuair
Copy link

bijjuair commented Mar 7, 2016

save_tiff() function when used with the cimg_use_tiff directive, ends up in writing an incorrect file format on 32 bit machines. When the file is opened in a tool like ImageJ, gives an error that the file is not in supported format. However it is working on a 64 bit machine.

I am not sure what the cause of the problem is. Kindly help resolve the issue.

@dtschump
Copy link
Collaborator

dtschump commented Mar 7, 2016

Hi.
We use the bigtiff format by default to save tiff files, which may explain this problem.
I've just committed a change to disable bigtiff when used on 32bits systems.
Could you try to get the latest repo version, and tell me is that fixes your problem ?

I've tested on a 32bits virtual machine, and save/reloading a tiff file works (but I don't have ImageJ to test more thoroughly).

@bijjuair
Copy link
Author

bijjuair commented Mar 8, 2016

Thanks. It works now.

PS: I love to code with CImg :)

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