Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

jdavidb (1361)

jdavidb
  (email not shown publicly)
http://voiceofjohn.blogspot.com/

J. David Blackstone has a Bachelor of Science in Computer Science and Engineering and nine years of experience at a wireless telecommunications company, where he learned Perl and never looked back. J. David has an advantage in that he works really hard, he has a passion for writing good software, and he knows many of the world's best Perl programmers.

Journal of jdavidb (1361)

Monday November 29, 2004
09:35 PM

Mozilla can't handle JPEGs

[ #22060 ]

My wife discovered tonight that Mozilla (including Firefox) can't handle CMYK-format JPEGs. Apparently there aren't a whole lot of these (they are usually RGB), but apparently it is a valid part of the JPEG specification. I understand people who do prepress-style work deal with these.

I was under the impression that Mozilla used a lot of image libraries to handle the different graphics formats (like libpng, etc.). I would have thought that whatever library Mozilla used for JPEGs would specialize in whatever JPEGs need and handle it just fine. Instead the user gets a broken image icon, or if trying to view the image directly, a statement saying that the image cannot be viewed because it contains errors.

This bug was reported four years ago. :) If you have an interest in having it fixed, please vote for Mozilla bug #44781.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • There's only one image rendering lib in Mozilla. It's custom written, high performance, and apparently doesn't support CYMK. I speak, of course, of libpr0n [libpr0n.com] (sfw (not a joke)).
  • No, MS Internet Explorer cannot, either.

    With Microsoft's tendency to snoop files against your wishes, that's annoying. Your server reports this is a binary file, intended for download, yet MSIE (I'm talking about 5.x and before; 6.x is different) snoops on it, recognizes it as an image file, insists on trying to show it, fails, and shows a "broken image" icon. Fun.
  • There is no single way to correctly render CMYK images on screen. It all depends on the color of your ink. If you put shit in your black, that might still be exactly what you want to achieve :)