Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 100518 - Gimp cannot open PDF files, which contains transparent GIF ... Plug-In could not open image
Summary: Gimp cannot open PDF files, which contains transparent GIF ... Plug-In could ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: John N. Laliberte (RETIRED)
URL: http://www.volny.cz/machytka/bugs/pdf...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-27 14:39 UTC by Josef Machytka
Modified: 2006-09-13 11:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Josef Machytka 2005-07-27 14:39:22 UTC
Gimp cannot open PDF files, which contains transparent GIF ... Plug-In could not
open image, tested on gimp-2.2.6-r1 and gimp-2.2.8-r1 ... emerged with versions:
libexif-0.6.12-r4 (or libexif-0.5.12-r3), ghostscript-7.07.1-r9

Reproducible: Always
Steps to Reproduce:
1. run gimp
2. try open PDF file which contains transparent GIF, the others are OK
3.

Actual Results:  
gimp cannot open this file and show error message window with "Plug-In could not
open image"

Expected Results:  
open the file

Portage 2.0.51.22-r2 (default-linux/amd64/2005.0, gcc-3.4.3, glibc-2.3.5-r0,
2.6.12-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.12-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/mnt/sata2/portage_distfiles/"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.inode.at/ ftp://gentoo.inode.at/source/
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/
http://ftp.uni-erlangen.de/pub/mirrors/gentoo
ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://ftp.gentoo.mesh-solutions.com/gentoo/
http://pandemonium.tiscali.de/pub/gentoo/
ftp://pandemonium.tiscali.de/pub/gentoo/
http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/
ftp://ftp.unina.it/pub/linux/distributions/gentoo http://src.gentoo.pl
http://gentoo.prz.rzeszow.pl http://gentoo.zie.pg.gda.pl http://gentoo.ynet.sk/pub"
LANG="en_US.UTF-8"
LC_ALL="cs_CZ.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X aalib acpi alsa arts avi berkdb bitmap-fonts bonobo cdr crypt cups
curl dvd dvdr dvdread encode esd fam ffmpeg foomaticdb fortran ftp gif gnome gpm
gtk gtk2 gtkhtml icq imagemagick imlib ipv6 java javascript jpeg kde libwww lzw
lzw-tiff mad mikmod motif mozilla mp3 mpeg mysql ncurses nls ogg opengl pam
pdflib perl php png python qt quicktime readline recode scanner sdl slang spell
ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts unicode usb userlocales
vorbis wmf wxwindows xml xml2 xmms xpm xv zlib userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 John N. Laliberte (RETIRED) gentoo-dev 2005-07-27 20:23:59 UTC
can you please provide ( web link ) a pdf that has this?
Comment 2 Josef Machytka 2005-07-28 03:46:43 UTC
(In reply to comment #1)
> can you please provide ( web link ) a pdf that has this?

Yes of course. I created an example PDF files named OK.PDF and FALSE.PDF

http://www.volny.cz/machytka/bugs/

PDF files was created in OpenOffice.org 1.1.4 and SXD files are on the link
below too.
Comment 3 John N. Laliberte (RETIRED) gentoo-dev 2005-07-28 05:31:31 UTC
the FALSE.pdf opened fine for me.  Is the box supposed to just be black?
( I didn't get an error )

Could you provide emerge -av gimp so we can see what use flags you compiled with?

Thanks!
Comment 4 Josef Machytka 2005-07-28 11:24:47 UTC
(In reply to comment #3)
...

Yes, the box is black in both files, but in FALSE.PDF is used transparent GIF.

emerge -av gimp
[ebuild     UD] media-gfx/gimp-2.2.6-r1 [2.2.8-r1] +aalib (-altivec) -debug -doc
-gimpprint +gtkhtml +jpeg (-mmx) -mng +png +python (-sse) -svg +tiff +wmf 0 kB

ACCEPT_KEYWORDS="~amd64" emerge -av gimp
[ebuild   R   ] media-gfx/gimp-2.2.8-r1  +aalib (-altivec) -debug -doc
-gimpprint +gtkhtml -hardened +jpeg -lcms (-mmx) -mng +png +python +scanner -smp
(-sse) -svg +tiff +wmf 0 kB

The same problem occurs in windows version of gimp, I have tested versions 2.2.8
and 2.2.7 ...
Comment 5 Mike Gardiner (RETIRED) gentoo-dev 2005-11-06 07:09:19 UTC
This also works fine for me with 2.2.8-r1.
Comment 6 Josef Machytka 2005-11-26 14:56:57 UTC
I was needed to reinstall my computer, the problem still occurs :( OK.pdf
is opened normal and the FALSE.pdf fails.

-------------------------------------------------------------------

emerge info

Portage 2.0.51.22-r3 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r1,
2.6.14-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.14-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/mnt/sata2/gentoo_portage_distfiles/"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://130.59.10.34/mirror/gentoo/
http://mir.zyrianes.net/gentoo/ http://130.59.10.35/mirror/gentoo/
ftp://130.59.10.35/mirror/gentoo/"
LANG="cs_CZ.UTF-8"
LINGUAS="cs"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac aalib acpi alsa apache2 arts audiofile avi bash-completion
berkdb bitmap-fonts bzip2 cdparanoia cdr clamav crypt cups curl dio directfb
divx4linux dri dvd dvdr dvdread eds emboss emul-linux-x86 encode esd exif expat
fam fbcon ffmpeg flac foomaticdb fortran ftp gif glut gmp gphoto2 gpm gstreamer
gtk gtk2 iconv icq idn imagemagick imlib ipv6 jabber java javascript joystick
jpeg kde lcms libcaca libwww lzw lzw-tiff mad memlimit mhash mikmod mime mng
mozilla mp3 mpeg mysql mysqli ncurses nls nvidia ogg openal opengl oss pam pcre
pdflib perl php png python qt quicktime readline recode scanner sdl sharedmem
slang sndfile sockets sox speex spell ssl svg sysvipc tcltk tcpd theora tiff
truetype truetype-fonts type1-fonts udev unicode usb userlocales vcd videos
vorbis wmf wxwindows xine xml2 xmms xpm xprint xv xvid zlib linguas_cs
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS, PORTDIR_OVERLAY

-------------------------------------------------------------------

emerge -av gimp

[ebuild   R   ] media-gfx/gimp-2.2.8-r1  +aalib (-altivec) -debug -doc
-gimpprint -gtkhtml -hardened +jpeg +lcms (-mmx) +mng* +png +python -smp (-sse)
+svg +tiff +wmf 0 kB

-------------------------------------------------------------------

ACCEPT_KEYWORDS="~amd64" emerge -av gimp

[ebuild     U ] media-gfx/gimp-2.2.9 [2.2.8-r1] +aalib (-altivec) -debug -doc
-gimpprint -gtkhtml -hardened +jpeg +lcms (-mmx) +mng* +png +python -smp (-sse)
+svg +tiff +wmf 12,511 kB

-------------------------------------------------------------------

I will try new Gimp 2.2.9 ...
Comment 7 Josef Machytka 2005-11-26 16:05:08 UTC
The same problem with masked gimp 2.2.9.
Comment 8 Henrik Brix Andersen 2006-01-22 16:10:10 UTC
Both PDF files opens correctly with current GIMP CVS HEAD (media-gfx/gimp-9999) and USE=pdf here.

Comment 9 Josef Machytka 2006-02-05 14:14:58 UTC
(In reply to comment #8)

Yes! Thanks! The Gimp CVS HEAD relly works fine! The FALSE.PDF opens correctly. I will use this cvs head.

Thanks.

--------------------------------------------------

pinom ~ # emerge --info
Portage 2.0.54 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.15-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r1 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/mnt/sata2/gentoo_portage_distfiles/"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://130.59.10.34/mirror/gentoo/ http://mir.zyrianes.net/gentoo/ http://130.59.10.35/mirror/gentoo/ ftp://130.59.10.35/mirror/gentoo/"
LANG="cs_CZ.UTF-8"
LC_ALL="cs_CZ.UTF-8"
LINGUAS="cs en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac aalib acpi alsa apache2 arts audiofile avi bash-completion berkdb bitmap-fonts bzip2 cdparanoia cdr clamav crypt cups dio directfb dri dvd dvdr dvdread eds emboss emul-linux-x86 encode exif expat fam fbcon ffmpeg foomaticdb fortran ftp gif glut gphoto2 gpm gstreamer gtk2 iconv icq idn imagemagick imlib ipv6 jabber java javascript joystick jpeg jpeg2k kde lcms libcaca libwww lzw lzw-tiff mad memlimit mime mng mozilla mp3 mpeg mysql mysqli ncurses nls nvidia ogg openal opengl oss pam pcre pdf pdflib perl php png python qt quicktime readline recode scanner sdl sharedmem slang sockets sox spell ssl svg sysvipc tcltk tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales vcd videos vorbis wmf wxwindows xml xml2 xmms xpm xv xvid zlib linguas_cs linguas_en userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, PORTDIR_OVERLAY
Comment 10 Henrik Brix Andersen 2006-06-26 15:28:29 UTC
This is fixed in media-gfx/gimp-2.3.9. Thank you for reporting this.
Comment 11 Hanno Böck gentoo-dev 2006-09-13 11:11:40 UTC
Seems to be fixed upstream