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

Does it support .tiff images? #148

Closed
hassanms opened this issue Feb 20, 2021 · 6 comments
Closed

Does it support .tiff images? #148

hassanms opened this issue Feb 20, 2021 · 6 comments
Assignees
Labels
question Further information is requested

Comments

@hassanms
Copy link

Great project guys,

I am trying to annotate some .tiff images but upon uploading the tiff image, the editor area becomes blank and the sidebar image keeps on loading.

How can I run this project on tiff images?

image

@SkalskiP SkalskiP self-assigned this Feb 21, 2021
@SkalskiP SkalskiP added the question Further information is requested label Feb 21, 2021
@SkalskiP
Copy link
Owner

Hi @hassanms! We intentionally do not support images in this format due to file size concerns. How large are the files that you want to label?

@hassanms
Copy link
Author

Hello @SkalskiP. I am glad to hear back from you. The images I want to label are gigantic satellite images but I can crop them to say 500x500 patches.

How can I add the support for tiff?

@hassanms
Copy link
Author

@SkalskiP Would you please point me to a way to making the project run tiff images?

@SkalskiP
Copy link
Owner

Hi @hassanms To allow loading of tiff images you would have to modify the application code. Exactly this file. But I wonder if it wouldn't be easier for you to just convert the files from tiff to png lib jpg? Since you are using 500x500px crops anyway.

@hassanms
Copy link
Author

@SkalskiP Yes I modified that file and added the desired format, that's how I was able to upload the tiff images in the first place.

Thanks for your suggestion. Would converting the tiff to png degrade the quality of the image, what do you think?

@SkalskiP
Copy link
Owner

@hassanms It might but I don't think that it would stop you from labeling. The quality loss shouldn't be significant.

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

No branches or pull requests

2 participants