LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-20-2012, 05:40 AM   #16
igor012
Member
 
Registered: Feb 2010
Posts: 89

Original Poster
Rep: Reputation: 2
Question


Hi,
So I tried your solution with the provided rpm. Thanks for that but nothing changed.

Then I tried on another OpenSuse 12.1 and did like in #9. And i got
Code:
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=no		no
Module support    --with-modules=yes		yes
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
Dejavu fonts      --with-dejavu-font-dir=default	none
DJVU              --with-djvu=yes		yes
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 (9.00)
Ghostscript fonts --with-gs-font-dir=default	/usr/share/ghostscript/fonts/
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 v1           --with-lcms=yes		yes
LCMS v2           --with-lcms2=yes		no
LQR               --with-lqr=yes		no
LZMA              --with-lzma=yes		yes
Magick++          --with-magick-plus-plus=yes	yes
OpenEXR           --with-openexr=yes		yes
PERL              --with-perl=no		no
PNG               --with-png=yes		yes
RSVG              --with-rsvg=yes		yes
TIFF              --with-tiff=yes		yes
WEBP              --with-webp=yes		yes
Windows fonts     --with-windows-font-dir=	none
WMF               --with-wmf=yes		yes
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.7.2
  CC              = gcc -std=gnu99 -std=gnu99
  CFLAGS          = -fopenmp -g -O2 -Wall -pthread
  CPPFLAGS        = -I/usr/local/include/ImageMagick
  PCFLAGS         = -fopenmp
  DEFS            = -DHAVE_CONFIG_H
  LDFLAGS         = 
  MAGICK_LDFLAGS  = -L/usr/local/lib64 
  LIBS            = -lMagickCore -llcms -ltiff -lfreetype -ljpeg -lfftw3 -lfontconfig -lXext -lSM -lICE -lX11 -lXt -llzma -lbz2 -lz -lm -lgomp -lpthread -lltdl
  CXX             = g++
  CXXFLAGS        = -g -O2 -pthread
  FEATURES        = OpenMP
I was pretty excited but after make and make install
convert -list configure returned no EXR neither identify -list format nor identify -list configure

I also used display to open an EXR and as excepted "NO DELEGATES..."

I don't know what else to do
 
Old 06-20-2012, 05:52 AM   #17
igor012
Member
 
Registered: Feb 2010
Posts: 89

Original Poster
Rep: Reputation: 2
While ./configure I noticed that it doesn't check for any file in relation with exr, unlike other formats.
Code:
-------------------------------------------------------------
checking for LZMA... 
checking lzma.h usability... yes
checking lzma.h presence... yes
checking for lzma.h... yes
checking for lzma_code in -llzma... yes
checking if LZMA package is complete... yes
-------------------------------------------------------------
checking for OPENEXR... yes

-------------------------------------------------------------
checking for PNG support ... 
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking for LIBPNG15 support ... no
checking for LIBPNG14 support ... no
checking for LIBPNG12 support ... yes
checking for png_get_io_ptr in -lpng12... yes
checking if png12 package is complete... yes
This may be a clue.
 
Old 06-20-2012, 06:10 AM   #18
igor012
Member
 
Registered: Feb 2010
Posts: 89

Original Poster
Rep: Reputation: 2
So I have finally made it work.
I only used
Code:
./configure --enable-hdri
Thanks to all of you for your time.
 
Old 01-15-2013, 06:03 AM   #19
williej
LQ Newbie
 
Registered: Jan 2008
Location: Wehr
Distribution: openSUSE
Posts: 9

Rep: Reputation: 0
Using display to open file foo.eps producing image on dark background

Hello All,

I have installed openSUSE12.1 and when i open a file foo.eps using "display foo.eps", the image is producing a non white (dark) background. But when i use "gv foo.eps", the background is white, which is what i want.

But when i use convert to change the image from .eps to .jpg and .png, the display foo.jpg is now on a white background but the same is not true for the foo.png image. Background same to that for the foo.eps image. Why is display doing this? Any help would be appreciated.

In case you are interested in checking the image it is attached in jpg and png formats

Thanks
Jimmy


Quote:
Originally Posted by knudfl View Post
Suse 12.1 , x86_64 , ImageMagick example ..

Source code + patches : ImageMagick-6.7.2.7-5.1.3.src.rpm
http://ftp5.gwdg.de/pub/opensuse/sou...-5.1.3.src.rpm

1) su 2) zypper in \
gcc-c++ libtool fdupes pkgconfig dcraw freetype2-devel \
ghostscript-fonts-other ghostscript-fonts-std ghostscript-library \
liblcms-devel libtiff-devel libwmf-devel libxml2-devel libexif-devel \
libjasper-devel libwebp-devel librsvg-devel libopenexr-devel \
libpng12-devel libjpeg8-devel pango-devel libwebp-devel \
fftw3-devel libbz2-devel xz-devel libdjvulibre-devel

3) $ cd ImageMagick-6.7.2-7/
patch -p1 < ImageMagick-6.6.9.1-inc-struct.diff
patch -p0 < ImageMagick-6.6.8.9-doc.patch
patch -p0 < ImageMagick-6.6.8.9-examples.patch
patch -p0 < ImageMagick-6.7.2.7-scene.patch
Code:

./configure --enable-shared --without-frozenpaths --with-magick_plus_plus --with-modules --with-threads --without-perl --disable-static --with-djvu=yes

                  Option                        Value
-------------------------------------------------------------------------------
Shared libraries  --enable-shared=yes           yes
Static libraries  --enable-static=no            no
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
Dejavu fonts      --with-dejavu-font-dir=default        none
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 (9.00)
Ghostscript fonts --with-gs-font-dir=default    /usr/share/ghostscript/fonts/
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 v1           --with-lcms=yes               yes
LCMS v2           --with-lcms2=yes              no
LQR               --with-lqr=yes                no
LZMA              --with-lzma=yes               yes
Magick++          --with-magick-plus-plus=yes   yes
OpenEXR           --with-openexr=yes            yes	
PERL              --with-perl=no                no
PNG               --with-png=yes                yes
RSVG              --with-rsvg=yes               yes
TIFF              --with-tiff=yes               yes
WEBP              --with-webp=yes               yes
Windows fonts     --with-windows-font-dir=      none
WMF               --with-wmf=yes                yes
X11               --with-x=                     yes
XML               --with-xml=yes                yes
ZLIB              --with-zlib=yes               yes
$ make : OK.

.
Attached Thumbnails
Click image for larger version

Name:	foo.jpg
Views:	26
Size:	16.5 KB
ID:	11622   Click image for larger version

Name:	foo.png
Views:	17
Size:	7.0 KB
ID:	11623  
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to install ImageMagick Allanitto Newbee Slackware 3 02-20-2011 08:41 AM
install ImageMagick-6.5.1-2 & ImageMagick-devel-6.5.1.2 in red hat mokkai Linux - Enterprise 4 04-16-2009 12:04 PM
ImageMagick Install ?'s digitalninja42 Fedora 8 01-19-2007 01:37 PM
Imagemagick Install grob115 Linux - Newbie 7 01-28-2006 05:53 AM
ImageMagick Install tommytomato Linux - Newbie 2 05-31-2004 04:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration