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

text not displaying in jpeg #285

Closed
stooj opened this issue Mar 22, 2017 · 6 comments
Closed

text not displaying in jpeg #285

stooj opened this issue Mar 22, 2017 · 6 comments
Labels

Comments

@stooj
Copy link

stooj commented Mar 22, 2017

The attached jpeg has some text that is invisible when opened with feh or sxiv. It seems to render fine on github in Firefox.

Original file:
exploring_the_paint_editor

Screenshot of the image open in feh:
exploring_the_paint_editor_view_in_feh

Somehow all the black text is being stripped out. It is presumably some weird corner case with the image itself, but it renders correctly with eog/pinta/gimp

I've also reported this to sxiv in case there can be some cross-platform comparison.

@Ferada
Copy link
Contributor

Ferada commented Apr 19, 2017

display / ImageMagick is even better, showing a black background. So the file is in CMYK (edit: YCCK actually) colorspace:

> identify f96ce73a-0fac-11e7-9c57-0fdf4c6999c6.jpg
f96ce73a-0fac-11e7-9c57-0fdf4c6999c6.jpg JPEG 844x739 844x739+0+0 8-bit CMYK 893KB 0.000u 0:00.050

Both GIMP and Krita can open it correctly, GIMP autoconverts it to RGB when exporting again(?), while in Krita you've got to explicitly convert it.

Also, again, Imlib2, not feh or sxiv, issue. Edit: Well, at least Imlib2 could expose something to detect this. Since libjpeg is used for decoding and doesn't implement color space conversion from CMYK to anything other (AFAIK) this would require something like littlecms to do that. Or piping through ImageMagick again and let it do that.

@stooj
Copy link
Author

stooj commented Jun 1, 2017

I've reported this upstream (I think, tough to find the upstream project)
: https://phab.enlightenment.org/T5416

@derf derf added the Imlib2 label May 11, 2018
@Ferada
Copy link
Contributor

Ferada commented Oct 14, 2019

@stooj this looks fixed, at least with latest Imlib2 installed, confirm?

@stooj
Copy link
Author

stooj commented Oct 15, 2019

I've not been able to test the git version of imlib2 yet, but the issue is still present with imlib 1.5.1 and feh 3.2.1

@Ferada
Copy link
Contributor

Ferada commented Oct 15, 2019

There hasn't been a release for Imlib2 yet, the fix was after 1.5.1. I guess this can stay open as a reminder, but it's definitely fixed.

@stooj
Copy link
Author

stooj commented Jan 22, 2020

\o/ New imlib2 release has landed and this is fixed. Thanks so much

@stooj stooj closed this as completed Jan 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants