Color profile is lost after conversion to JPEG

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
tleegwater
Posts: 1
Joined: 2013-06-26T02:09:04-07:00
Authentication code: 6789

Color profile is lost after conversion to JPEG

Post by tleegwater »

Code: Select all

convert in.tif out.jpg
Color profile is lost

Code: Select all

convert in.tif out.tif
Color profile is kept.

Does anyone now what's going on here?

Code: Select all

otool -L `which convert` | grep lcms
	/opt/local/lib/liblcms2.2.dylib (compatibility version 3.0.0, current version 3.4.0)

Code: Select all

convert -list configure

Path: /usr/local/lib/ImageMagick-6.8.6//config-Q16/configure.xml

Name           Value
-------------------------------------------------------------------------------
CC             gcc -std=gnu99 -std=gnu99
CFLAGS         -D_THREAD_SAFE -I/opt/local/include/OpenEXR -I/opt/local/include/freetype2 -I/opt/local/include -fopenmp -g -O2 -Wall -D_FORTIFY_SOURCE=0 -D_THREAD_SAFE -pthread -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16
CODER_PATH     /usr/local/lib/ImageMagick-6.8.6/modules-Q16/coders
CONFIGURE      ./configure 
CONFIGURE_PATH /usr/local/etc/ImageMagick-6/
COPYRIGHT      Copyright (C) 1999-2013 ImageMagick Studio LLC
CPPFLAGS       -I/usr/local/include/ImageMagick-6
CXX            g++
CXXFLAGS       -g -O2 -D_THREAD_SAFE -pthread
DEFS           -DHAVE_CONFIG_H
DELEGATES      bzlib mpeg fontconfig freetype jbig jng jp2 jpeg lcms lzma openexr pango png ps tiff x xml zlib
DISTCHECK_CONFIG_FLAGS --disable-deprecated --with-quantum-depth=16 --with-umem=no --with-autotrace=no --with-gslib=no --with-fontpath= --with-gvc=no --with-rsvg=no --with-wmf=no --with-perl=no
DOCUMENTATION_PATH /usr/local/share/doc/ImageMagick-6
EXEC-PREFIX    /usr/local
EXECUTABLE_PATH /usr/local/bin
FEATURES       DPC OpenMP
FILTER_PATH    /usr/local/lib/ImageMagick-6.8.6/modules-Q16/filters
HOST           x86_64-apple-darwin12.3.0
INCLUDE_PATH   /usr/local/include/ImageMagick-6
LDFLAGS        -L/usr/local/lib -L/usr/X11/lib -R/usr/X11/lib
LIB_VERSION    0x686
LIB_VERSION_NUMBER 6,8,6,0
LIBRARY_PATH   /usr/local/lib/ImageMagick-6.8.6
LIBS           -lMagickCore -ljbig -llcms2 -ltiff -L/opt/local/lib -lfreetype -ljasper -ljpeg -lpng15 -L/opt/local/lib -lfontconfig -lwebp -lXext -lXt -lSM -lICE -lX11 -L/opt/local/lib -llzma -lbz2 -L/opt/local/lib -lIlmImf -lz -lImath -lHalf -lIex -lIlmThread -L/opt/local/lib -lpangocairo-1.0 -lcairo -lpangoft2-1.0 -lpango-1.0 -lm -lgobject-2.0 -lglib-2.0 -lintl -lfreetype -lfontconfig -lxml2 -lz -lm -lgomp -lpthread
NAME           ImageMagick
PCFLAGS        -fopenmp -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16
PREFIX         /usr/local
QuantumDepth   16
RELEASE_DATE   2013-06-20
SHARE_PATH     /usr/local/share/ImageMagick-6
SHAREARCH_PATH /usr/local/lib/ImageMagick-6.8.6/config-Q16
SVN_REVISION   12473
TARGET_CPU     x86_64
TARGET_OS      darwin12.3.0
TARGET_VENDOR  apple
VERSION        6.8.6
WEBSITE        http://www.imagemagick.org

Path: [built-in]

Name           Value
-------------------------------------------------------------------------------
FEATURES       OpenMP 
NAME           ImageMagick
QuantumDepth   16
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Color profile is lost after conversion to JPEG

Post by fmw42 »

probably should report this on the bugs forum and provide your input tif
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Color profile is lost after conversion to JPEG

Post by fmw42 »

Did you repost to the bugs forum?
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Color profile is lost after conversion to JPEG

Post by fmw42 »

see viewtopic.php?f=3&t=23651

My tests show that the profile may be there, but just has limited information.
Post Reply