Using " ImageMagick 6.5.8-9 2010-01-08 Q16" the command:
convert in.dpx out.jpg
is outputting anther DPX files (according to first few bytes SDPX)
But in ImageMagick 6.3.5 09/20/07 Q16 that command works fine, generating a real JPG file...
Since the DPX files I'm testing with are not public domain I'm hesitant to post them, but I can say -verbose tell me this about the conversion:
in.dpx DPX 2048x1556 2048x1556+0+0 10-bit TrueColor DirectClass 12.75MB 0.180u 0:12.679
in.dpx=>out.jpg DPX 2048x1556 2048x1556+0+0 10-bit TrueColor DirectClass 12.75MB 0.150u 0:01.120
Does anyone know why this might happen?
Thanks,
Ken
`convert in.dpx out.jpg` outputs a DPX file
Re: `convert in.dpx out.jpg` outputs a DPX file
Chances are the JPEG development headers were not available when you compiled / built ImageMagick. Type
- identify -list format
identify -list configure
- JPEG* JPEG rw- Joint Photographic Experts Group JFIF format (62)
Re: `convert in.dpx out.jpg` outputs a DPX file
Thank your for the fast response! Yes you are right, they are not listed. I wonder if it would be safer for the configure script to abort or require the user to pass an acknowledge arg, when commonly used codecs do not exist. That they should be expected/required libs, in other words.
Also if convert could print to stderr that it doesn't have output-support for the given file extension
Many thanks again for the fast response and powerful software.
Ken
Also if convert could print to stderr that it doesn't have output-support for the given file extension
Many thanks again for the fast response and powerful software.
Ken
Re: `convert in.dpx out.jpg` outputs a DPX file
ImageMagick alerts you that a codec is not available when you run the configure script. Its in the last 40-50 lines of output. Ours reports that JPEG was validated:
ImageMagick is configured as follows. Please verify that this configuration
matches your expectations.
ImageMagick is configured as follows. Please verify that this configuration
matches your expectations.
Code: Select all
Host system type: x86_64-unknown-linux-gnu
Build system type: x86_64-unknown-linux-gnu
Option Value
-------------------------------------------------------------------------------
Shared libraries --enable-shared=yes yes
Static libraries --enable-static=yes yes
Module support --with-modules=no no
GNU ld --with-gnu-ld=yes yes
Quantum depth --with-quantum-depth=16 16
High Dynamic Range Imagery
--enable-hdri=no no
Delegate Configuration:
BZLIB --with-bzlib=yes yes
Autotrace --with-autotrace=no no
DJVU --with-djvu=yes no
DPS --with-dps=yes no
FFTW --with-fftw=yes yes
FlashPIX --with-fpx=yes no
FontConfig --with-fontconfig=yes yes
FreeType --with-freetype=yes yes
GhostPCL None pcl6 (unknown)
GhostXPS None gxps (unknown)
Ghostscript None gs (8.70)
Ghostscript fonts --with-gs-font-dir=default /usr/share/fonts/default/Type1/
Ghostscript lib --with-gslib=no no
Graphviz --with-gvc=yes no
JBIG --with-jbig=yes no
JPEG v1 --with-jpeg=yes yes
JPEG-2000 --with-jp2=yes yes
LCMS --with-lcms=yes yes
LQR --with-lqr=yes no
Magick++ --with-magick-plus-plus=yes yes
OpenEXR --with-openexr=yes yes
PERL --with-perl=yes /usr/bin/perl
PNG --with-png=yes yes
RSVG --with-rsvg=yes yes
TIFF --with-tiff=yes yes
Windows fonts --with-windows-font-dir= none
WMF --with-wmf=yes no
X11 --with-x= yes
XML --with-xml=yes yes
ZLIB --with-zlib=yes yes
X11 Configuration:
X_CFLAGS =
X_PRE_LIBS = -lSM -lICE
X_LIBS =
X_EXTRA_LIBS =
Options used to compile and link:
PREFIX = /usr/local
EXEC-PREFIX = /usr/local
VERSION = 6.5.9
CC = gcc -std=gnu99
CFLAGS = -I/usr/include/OpenEXR -fopenmp -g -O2 -Wall -W -pthread
CPPFLAGS = -I/usr/local/include/ImageMagick
PCFLAGS = -fopenmp
DEFS = -DHAVE_CONFIG_H
LDFLAGS =
MAGICK_LDFLAGS = -L/usr/local/lib
LIBS = -lMagickCore -llcms -ltiff -lfreetype -ljasper -ljpeg -lpng -lfftw3 -lfontconfig -lXext -lXt -lSM -lICE -lX11 -lbz2 -lIlmImf -lImath -lHalf -lIex -lIlmThread -pthread -lrsvg-2 -lgdk_pixbuf-2.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lrt -lglib-2.0 -lxml2 -lz -lm -lgomp -lpthread
CXX = g++
CXXFLAGS = -g -O2 -Wall -W -pthread
Re: `convert in.dpx out.jpg` outputs a DPX file
Got it. Could convert at least write a warning/error to stderr when a format cant be supported? That would help those of us who might otherwise expect JPG to be a required lib in configure. Otherwise users spend hours (I did) trying to figure this out, and having this conversation