[SOLVED] Pictures from 'Annals of Internal Medicine' don't display properly
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Pictures from 'Annals of Internal Medicine' don't display properly
When I try to display a picture from 'Annals of Internal Medicine', such as the one associated with https://annals.org/aim/fullarticle/2...m-grand-rounds (humorous, not medical) , fbi gives me an error, ImageMagick displays it in reverse colors. Firefox gets it right. Does anyone see what the problem is?
ImageMagick & fbi know about EXIF; I have the EXIF libraries installed and they link to them. I can convert to a TIFF file that works. Is it an improperly-interpreted PhotometricIntepretation? Have they missed that and tried to interpret it as RGB? That's my best guess.
So, first you have been presented with a solution which was not good enough because
Quote:
Originally Posted by RandomTroll
I want something automatic, and not-X
and the solution you had in mind did not work as intended:
Quote:
Originally Posted by RandomTroll
Code:
convert -alpha deactivate image.jpeg
and
Code:
convert -flatten image.jpeg
don't work.
Then your syntax has been corrected for the 'convert' command and you have subsequently been offered a solution that does not require X and can be very well automated, thus fulfilling your requrirement.
This, however, only lead to you posting that you "knew" that all along which contradicts your previous posts.
Quote:
Originally Posted by RandomTroll
I've always known that I could convert to a different format then back.
Please make up your mind about what you actually want and stop wasting everyones time. Thank you.
first you have been presented with a solution which was not good enough because
and the solution you had in mind did not work as intended:
Then your syntax has been corrected for the 'convert' command and you have subsequently been offered a solution that does not require X and can be very well automated, thus fulfilling your requrirement.
I did not ask for a solution: I asked what was wrong. I meant how fbi and ImageMagick mis-interpreted the image so as to display the colo(u)rs backwards.
Responders responded with solutions that I treated as diagnostics, pointed out that they didn't answer my question. That spun off into a discussion of solutions.
I did not ask for a solution: I asked what was wrong.
Sorry, but no, your initial post is not unambiguous in this regard and after you received answers on fixing/working around the issue you made three posts where you did not clarify that you are not looking for solutions. Especially in post #4 you are asking:
Quote:
Originally Posted by RandomTroll
How do you remove the alpha channel?
Even if your initial post would have been crystal clear on your requirement, this is definitely a follow up question. You also present your failed attempts in trying to remove the alpha channel which can only be understood as, well, you are looking for a solution to remove the alpha channel.
Quote:
Originally Posted by RandomTroll
Responders responded with solutions that I treated as diagnostics, pointed out that they didn't answer my question.
The only thing you pointed out was that you are not looking for solutions that require X:
Quote:
Originally Posted by RandomTroll
Those all use X, which I try not to use.
Quote:
Originally Posted by RandomTroll
I want something automatic, and not-X
Anyway, I did not see anything in the manpage that would explain this behaviour. No additional steps *should* be required - like passing some extra options - to display a JPEG image.
When I run 'identify' in a shell on the image then I get
It seems that ImageMagick falsely (??) identifies the color scheme as CMYK which may explain the behaviour we are seeing. At this point the best course of action might be to contact the developers and file a bug report.
PS:
I am using ImageMagick 6.9.4-9 on Slackware 14.2. You might want to try with a newer version before filing a Bug report and see if the issue still persists.
Last edited by crts; 07-09-2019 at 02:58 PM.
Reason: Added version info for ImageMagick
your initial post is not unambiguous in this regard
It is clear.
Quote:
Originally Posted by crts
after you received answers on fixing/working around the issue you made three posts where you did not clarify that you are not looking for solutions.
I thought it superfluous.
Quote:
Originally Posted by crts
Even if your initial post would have been crystal clear on your requirement, this is definitely a follow up question.
It was a follow-up question to test the hypothesis. A responder said it was the alpha channel. To test that hypothesis I had to know how to remove the alpha channel. The ImageMagick function that would seem to do that made no difference.
Quote:
Originally Posted by crts
You also present your failed attempts in trying to remove the alpha channel which can only be understood as, well, you are looking for a solution to remove the alpha channel.
A solution to remove the alpha channel, so as to test the hypothesis that the alpha channel was the problem.
Quote:
Originally Posted by crts
It seems that ImageMagick falsely (??) identifies the color scheme as CMYK
What makes you think the colo(u)r scheme isn't CMYK? file thinks it is.
Quote:
Originally Posted by crts
I am using ImageMagick 6.9.4-9 on Slackware 14.2. You might want to try with a newer version before filing a Bug report and see if the issue still persists.
I update to Slackware's latest every morning. Sometimes I'm a day behind. Latest made no difference.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.