Jpeg will not display in internet explorer

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
troyd1
Posts: 73
Joined: 2007-07-29T17:13:19-07:00

Jpeg will not display in internet explorer

Post by troyd1 »

I have 2 jpegs thumbnails. One will display in internet explorer and one will not. Doing an identify -verbose, I can see they are highly different. What do I need to do to get the bad one to display?

Here is the identify's

Bad:

Image: c:\temp\graphics\tn_5015.jpg
Format: JPEG (Joint Photographic Experts Group JFIF format)
Class: DirectClass
Geometry: 89x45+0+0
Type: ColorSeparation
Endianess: Undefined
Colorspace: CMYK
Depth: 8-bit
Channel depth:
Cyan: 8-bit
Magenta: 8-bit
Yellow: 8-bit
Black: 8-bit
Channel statistics:
Cyan:
Min: 0 (0)
Max: 242 (0.94902)
Mean: 25.6444 (0.100566)
Standard deviation: 54.8781 (0.215208)
Magenta:
Min: 0 (0)
Max: 241 (0.945098)
Mean: 22.3111 (0.0874946)
Standard deviation: 53.8383 (0.21113)
Yellow:
Min: 0 (0)
Max: 238 (0.933333)
Mean: 9.09788 (0.035678)
Standard deviation: 24.4545 (0.0958999)
Black:
Min: 0 (0)
Max: 10 (0.0392157)
Mean: 0.329588 (0.0012925)
Standard deviation: 1.0841 (0.00425136)
Total ink density: 192%
Colors: 1314
Rendering intent: Undefined
Resolution: 72x72
Units: PixelsPerInch
Filesize: 2.92383kb
Interlace: None
Background color: white
Border color: cmyk(223,223,223,0)
Matte color: grey74
Transparent color: black
Page geometry: 89x45+0+0
Dispose: Undefined
Iterations: 0
Compression: JPEG
Quality: 91
Orientation: Undefined
Jpeg:colorspace: 4
Jpeg:sampling-factor: 1x1,1x1,1x1,1x1
Signature: 00ae3678ed0401404e3997b378d9f8f2478edaae0d63d6ec65b5b6a82098ca52
Tainted: False
Version: ImageMagick 6.3.5 07/21/07 Q16 http://www.imagemagick.org


Good:

Image: c:\temp\graphics\tn_5014.jpg
Format: JPEG (Joint Photographic Experts Group JFIF format)
Class: DirectClass
Geometry: 90x45+0+0
Type: TrueColor
Endianess: Undefined
Colorspace: RGB
Depth: 8-bit
Channel depth:
Red: 8-bit
Green: 8-bit
Blue: 8-bit
Channel statistics:
Red:
Min: 0 (0)
Max: 255 (1)
Mean: 207.739 (0.814661)
Standard deviation: 76.4666 (0.299869)
Green:
Min: 76 (0.298039)
Max: 255 (1)
Mean: 224.201 (0.879221)
Standard deviation: 50.0337 (0.19621)
Blue:
Min: 113 (0.443137)
Max: 255 (1)
Mean: 232.674 (0.912447)
Standard deviation: 36.0713 (0.141456)
Colors: 1254
Rendering intent: Undefined
Resolution: 72x72
Units: (null)
Filesize: 2.24219kb
Interlace: None
Background color: white
Border color: rgb(223,223,223)
Matte color: grey74
Transparent color: black
Page geometry: 90x45+0+0
Dispose: Undefined
Iterations: 0
Compression: JPEG
Quality: 75
Orientation: TopLeft
Exif:ApertureValue: 0/1000000
Exif:BrightnessValue: 0/1000000
Exif:ColorSpace: 65535
Exif:CompressedBitsPerPixel: 0/1000000
Exif:DateTime: 2006:04:03 15:47:29
Exif:ExifImageLength: 225
Exif:ExifImageWidth: 450
Exif:ExifOffset: 314
Exif:ExposureBiasValue: 0/1000000
Exif:ExposureIndex: 0/1000000
Exif:ExposureProgram: 0
Exif:ExposureTime: 0/1000000
Exif:FileSource: 0
Exif:Flash: 0
Exif:FNumber: 0/1000000
Exif:FocalLength: 0/1000000
Exif:FocalPlaneResolutionUnit: 0
Exif:FocalPlaneXResolution: 0/1000000
Exif:FocalPlaneYResolution: 0/1000000
Exif:ISOSpeedRatings: 0
Exif:LightSource: 0
Exif:MaxApertureValue: 0/1000000
Exif:MeteringMode: 0
Exif:Orientation: 1
Exif:PrimaryChromaticities: 0/1000000
Exif:ReferenceBlackWhite: 0/1000000
Exif:ResolutionUnit: 2
Exif:SceneType: 0
Exif:SensingMethod: 0
Exif:ShutterSpeedValue: 0/1000000
Exif:Software: Adobe Photoshop CS Macintosh
Exif:SubjectDistance: 0/1000000
Exif:WhitePoint: 0/1000000
Exif:XResolution: 72/1
Exif:YCbCrCoefficients: 0/1000000
Exif:YCbCrPositioning: 0
Exif:YResolution: 72/1
Jpeg:colorspace: 2
Jpeg:sampling-factor: 2x2,1x1,1x1
Signature: da3dad8573cb880880d53dada7f67c27024b445f6598d2149b5eed2b5fa76876
Profile-exif: 804 bytes
Tainted: False
Version: ImageMagick 6.3.5 07/21/07 Q16 http://www.imagemagick.org


Please provide a convert to change this.

Thanks, Troy
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Jpeg will not display in internet explorer

Post by magick »

IE does not support the CMYK JPEG images. Convert your JPEG images to the RGB colorspace and IE should display them.
Post Reply