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
can you please provide ( web link ) a pdf that has this?
(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.
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!
(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 ...
This also works fine for me with 2.2.8-r1.
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 ...
The same problem with masked gimp 2.2.9.
Both PDF files opens correctly with current GIMP CVS HEAD (media-gfx/gimp-9999) and USE=pdf here.
(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
This is fixed in media-gfx/gimp-2.3.9. Thank you for reporting this.
Seems to be fixed upstream