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

Support tiff #95

Closed
danmichaelo opened this issue May 3, 2017 · 4 comments
Closed

Support tiff #95

danmichaelo opened this issue May 3, 2017 · 4 comments

Comments

@danmichaelo
Copy link
Owner

As suggested on nowiki.

Example image: https://commons.wikimedia.org/wiki/File:Pernilla_Stalfelt_2012-02-24_002.tiff

@Sadads
Copy link

Sadads commented Mar 24, 2018

I have been using this tool a lot lately to support files for Wikidata and the #visiblewikiwomen campaign: but without tiffs.

@danmichaelo
Copy link
Owner Author

danmichaelo added a commit that referenced this issue May 11, 2018
CropTool will now at least crop simple TIFF files. But it will probably fail with multi-layer files. Might also be issues with cmyk files or perhaps other things.
@danmichaelo
Copy link
Owner Author

danmichaelo commented May 11, 2018

Ok, so I activated support for TIFF files.

Example file that can be cropped correctly: https://commons.wikimedia.org/wiki/File:Ebola_Virus_-_Electron_Micrograph.tiff

TIFF is a complex format though, and I don't expect that CropTool will support all kinds of complex cases.

Here's one files that does not crop correctly: https://commons.wikimedia.org/wiki/File:Psalm_44.tiff (it has two pages with different size)

danmichaelo added a commit that referenced this issue May 14, 2018
@danmichaelo
Copy link
Owner Author

Added a page selector (same as used with DJVU and PDF), so now the latter file should also crop correctly.

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

No branches or pull requests

2 participants