RSS/Atom feed Twitter
Site is read-only, email is disabled

Importing PDF into Gimp 2.8.18

This discussion is connected to the gimp-user-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

13 of 13 messages available
Toggle history

Please log in to manage your subscriptions.

Importing PDF into Gimp 2.8.18 David Corbitt 19 Oct 17:07
  Importing PDF into Gimp 2.8.18 Alexandre Prokoudine 19 Oct 22:47
   Importing PDF into Gimp 2.8.18 David Corbitt 20 Oct 12:04
    Importing PDF into Gimp 2.8.18 Pat David 20 Oct 16:21
     Importing PDF into Gimp 2.8.18 David Corbitt 20 Oct 19:37
      Importing PDF into Gimp 2.8.18 Owen Cook 20 Oct 21:21
       Importing PDF into Gimp 2.8.18 Pat David 21 Oct 00:33
        Importing PDF into Gimp 2.8.18 David Corbitt 21 Oct 02:59
         Importing PDF into Gimp 2.8.18 Liam R. E. Quin 21 Oct 04:09
          Importing PDF into Gimp 2.8.18 Simon Budig 21 Oct 08:49
           Importing PDF into Gimp 2.8.18 Simon Budig 21 Oct 08:53
  Importing PDF into Gimp 2.8.18 rich2005 22 Oct 11:20
  Importing PDF into Gimp 2.8.18 vidonnus 18 Sep 23:44
David Corbitt
2016-10-19 17:07:56 UTC (over 7 years ago)

Importing PDF into Gimp 2.8.18

I’m not a code expert at all but I use GIMP to modify and color correct images and PDF documents. The tool set is good, flexible, and very powerful. I was using version 2.8.10 until I recently upgraded to 2.8.18. My platform is a late 2009 iMac running Sierra (OS 10.12). The problem I am now experiencing is I can no longer import certain PDFs to GIMP. It used to be really easy but now, no joy. I hope this will be fixed soon. I really like GIMP’s feature set and I hope this current problem is an easy fix. Attached is a screen shot of an error message when trying to open some PDFs.

Dave Corbitt Whiting, NJ 08759
http://tinyurl.com/lfezg3h

Alexandre Prokoudine
2016-10-19 22:47:32 UTC (over 7 years ago)

Importing PDF into Gimp 2.8.18

On Wed, Oct 19, 2016 at 8:07 PM, David Corbitt wrote:

The problem I am now experiencing is I can no longer import certain PDFs to GIMP. It used to be really easy but now, no joy. I hope this will be fixed soon.

It probably won't unless someone (maybe you?) gives us specific information about those PDF files. Like what's different about them.

Attached is a screen shot of an error message when trying to open some PDFs.

Please upload to smth like imgur.com and send a link.

Alex

David Corbitt
2016-10-20 12:04:07 UTC (over 7 years ago)

Importing PDF into Gimp 2.8.18

Here is a link to the error message I receive when I try to import certain PDFs. I don’t know why some work and some don’t. I never had this problem with GIMP 2.8.10 but 2.8.18 for some reason is fussier with PDFs. Can someone tell me why? http://imgur.com/a/QgkDj
Dave

On Oct 19, 2016, at 6:47 PM, Alexandre Prokoudine wrote:

On Wed, Oct 19, 2016 at 8:07 PM, David Corbitt wrote:

The problem I am now experiencing is I can no longer import certain PDFs to GIMP. It used to be really easy but now, no joy. I hope this will be fixed soon.

It probably won't unless someone (maybe you?) gives us specific information about those PDF files. Like what's different about them.

Attached is a screen shot of an error message when trying to open some PDFs.

Please upload to smth like imgur.com and send a link.

Alex _______________________________________________ gimp-user-list mailing list
List address: gimp-user-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list List archives: https://mail.gnome.org/archives/gimp-user-list

Pat David
2016-10-20 16:21:54 UTC (over 7 years ago)

Importing PDF into Gimp 2.8.18

It might be more helpful to include a link to one of the PDF files that are causing the problem, if possible.

On Thu, Oct 20, 2016 at 7:05 AM David Corbitt wrote:

Here is a link to the error message I receive when I try to import certain PDFs. I don’t know why some work and some don’t. I never had this problem with GIMP 2.8.10 but 2.8.18 for some reason is fussier with PDFs. Can someone tell me why?
http://imgur.com/a/QgkDj
Dave

On Oct 19, 2016, at 6:47 PM, Alexandre Prokoudine <

alexandre.prokoudine@gmail.com> wrote:

On Wed, Oct 19, 2016 at 8:07 PM, David Corbitt wrote:

The problem I am now experiencing is I can no longer import certain PDFs to GIMP. It used to be really easy but now, no joy. I hope this will be fixed soon.

It probably won't unless someone (maybe you?) gives us specific information about those PDF files. Like what's different about them.

Attached is a screen shot of an error message when trying to open some PDFs.

Please upload to smth like imgur.com and send a link.

Alex _______________________________________________ gimp-user-list mailing list
List address: gimp-user-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list List archives: https://mail.gnome.org/archives/gimp-user-list

_______________________________________________ gimp-user-list mailing list
List address: gimp-user-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list List archives: https://mail.gnome.org/archives/gimp-user-list

David Corbitt
2016-10-20 19:37:40 UTC (over 7 years ago)

Importing PDF into Gimp 2.8.18

OK, I uploaded one of the PDF files that GIMP 2.8.18 will not import as an example. I hope someone can tell me why this version of GIMP will not load this. http://imgur.com/gallery/h0SLM

Dave Corbitt

On Oct 20, 2016, at 12:21 PM, Pat David wrote:

It might be more helpful to include a link to one of the PDF files that are causing the problem, if possible.

On Thu, Oct 20, 2016 at 7:05 AM David Corbitt > wrote: Here is a link to the error message I receive when I try to import certain PDFs. I don’t know why some work and some don’t. I never had this problem with GIMP 2.8.10 but 2.8.18 for some reason is fussier with PDFs. Can someone tell me why? http://imgur.com/a/QgkDj
Dave

On Oct 19, 2016, at 6:47 PM, Alexandre Prokoudine > wrote:

On Wed, Oct 19, 2016 at 8:07 PM, David Corbitt wrote:

The problem I am now experiencing is I can no longer import certain PDFs to GIMP. It used to be really easy but now, no joy. I hope this will be fixed soon.

It probably won't unless someone (maybe you?) gives us specific information about those PDF files. Like what's different about them.

Attached is a screen shot of an error message when trying to open some PDFs.

Please upload to smth like imgur.com and send a link.

Alex _______________________________________________ gimp-user-list mailing list
List address: gimp-user-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list List archives: https://mail.gnome.org/archives/gimp-user-list

_______________________________________________ gimp-user-list mailing list
List address: gimp-user-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list List archives: https://mail.gnome.org/archives/gimp-user-list

Owen Cook
2016-10-20 21:21:14 UTC (over 7 years ago)

Importing PDF into Gimp 2.8.18

Subject: Re: [Gimp-user] Importing PDF into Gimp 2.8.18

OK, I uploaded one of the PDF files that GIMP 2.8.18 will not import as an example. I hope someone can tell me why this version of GIMP will not load this. http://imgur.com/gallery/h0SLM

Nope,

That's an image.

Owen

Pat David
2016-10-21 00:33:29 UTC (over 7 years ago)

Importing PDF into Gimp 2.8.18

You can try something like filebin.net or transfer.sh to upload your PDF. On Thu, Oct 20, 2016 at 4:21 PM Owen Cook wrote:

Subject: Re: [Gimp-user] Importing PDF into Gimp 2.8.18

OK, I uploaded one of the PDF files that GIMP 2.8.18 will not import as

an example. I hope someone can tell me why this version of GIMP will not load this.

http://imgur.com/gallery/h0SLM

Nope,

That's an image.

Owen _______________________________________________ gimp-user-list mailing list
List address: gimp-user-list@gnome.org List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list List archives: https://mail.gnome.org/archives/gimp-user-list

David Corbitt
2016-10-21 02:59:16 UTC (over 7 years ago)

Importing PDF into Gimp 2.8.18

Sorry, I’m new with imgur after it was suggested to me. When I dragged a PDF to imgur, it got converted to a jpeg. I guess I’m looking a bit foolish to all the expert code writers here. Has no one else experienced this problem of GIMP 2.8.18 not importing certain PDF files? There is another website (filebin.net ) that allows uploading of PDFs and this particular PDF will not import into my GIMP 2.8.18 on iMac (late 2009 running OS 10.12). Perhaps now someone can take a look and tell me why GIMP is not importing this and many others. I hope so. Perhaps I should revert to OS 10.11 (El Capitan) and GIMP 2.8.10?

https://filebin.net/vi1uxshq2x85hxwn/North_by_Northwest__1959_.pdf

Thanks Dave Corbitt

On Oct 20, 2016, at 8:33 PM, Pat David wrote:

You can try something like filebin.net or transfer.sh to upload your PDF. On Thu, Oct 20, 2016 at 4:21 PM Owen Cook wrote:

Subject: Re: [Gimp-user] Importing PDF into Gimp 2.8.18

OK, I uploaded one of the PDF files that GIMP 2.8.18 will not import as

an example. I hope someone can tell me why this version of GIMP will not load this.

http://imgur.com/gallery/h0SLM

Nope,

That's an image.

Owen

Liam R. E. Quin
2016-10-21 04:09:27 UTC (over 7 years ago)

Importing PDF into Gimp 2.8.18

On Thu, 2016-10-20 at 22:59 -0400, David Corbitt wrote:

 
https://filebin.net/vi1uxshq2x85hxwn/North_by_Northwest__1959_.pdf

This made GIMP (2.9)'s pdf loader crash for me on Linux, but I could open the document ith eveince, print to a PDF file, and then open the PDF file.

The stack trace wasn't useful.

Liam

Simon Budig
2016-10-21 08:49:37 UTC (over 7 years ago)

Importing PDF into Gimp 2.8.18

Hi all.

Liam R. E. Quin (liam@holoweb.net) wrote:

On Thu, 2016-10-20 at 22:59 -0400, David Corbitt wrote:

 
https://filebin.net/vi1uxshq2x85hxwn/North_by_Northwest__1959_.pdf

This made GIMP (2.9)'s pdf loader crash for me on Linux, but I could open the document ith eveince, print to a PDF file, and then open the PDF file.

The stack trace wasn't useful.

Yeah, the crash is in file-pdf-load, and the stack trace is from gimp.

you can start gimp like this:

GIMP_PLUGIN_DEBUG=file-pdf-load Gimp North_by_Northwest__1959_.pdf

and then attach a gdb to the process when gimp halts the execution of the plugin on startup.

which gives this stacktrace after the crash:

[...] (gdb) cont
Continuing.
[New Thread 0x7f3e29cb9700 (LWP 15440)] [New Thread 0x7f3e294b8700 (LWP 15441)] [New Thread 0x7f3e23fff700 (LWP 15442)]

Thread 4 "thumbnailer" received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7f3e23fff700 (LWP 15442)] 0x00007f3e32a77f20 in cmsGetColorSpace () from /usr/lib/x86_64-linux-gnu/liblcms2.so.2 (gdb) bt
#0 0x00007f3e32a77f20 in cmsGetColorSpace () at /usr/lib/x86_64-linux-gnu/liblcms2.so.2 #1 0x00007f3e30468ef8 in GfxICCBasedColorSpace::parse(Array*, OutputDev*, GfxState*, int) () at
/usr/lib/x86_64-linux-gnu/libpoppler.so.61 #2 0x00007f3e30468412 in GfxColorSpace::parse(GfxResources*, Object*, OutputDev*, GfxState*, int) () at
/usr/lib/x86_64-linux-gnu/libpoppler.so.61 #3 0x00007f3e3048e332 in Page::loadThumb(unsigned char**, int*, int*, int*) ()
at /usr/lib/x86_64-linux-gnu/libpoppler.so.61 #4 0x00007f3e34e5c3e9 in poppler_page_get_thumbnail () at /usr/lib/x86_64-linux-gnu/libpoppler-glib.so.8 #5 0x0000000000403fe4 in get_thumb_surface (doc=, page_num=page_num@entry=0, preferred_size=preferred_size@entry=128) at file-pdf-load.c:963
#6 0x0000000000404681 in thumbnail_thread (preferred_size=128, page_num=0, doc=) at file-pdf-load.c:994 #7 0x0000000000404681 in thumbnail_thread (data=0x7ffca5545260) at file-pdf-load.c:1048
#8 0x00007f3e345ac325 in g_thread_proxy (data=0x215bc50) at ././glib/gthread.c:784
#9 0x00007f3e33da5464 in start_thread (arg=0x7f3e23fff700) at pthread_create.c:333
#10 0x00007f3e33ae89df in clone ()
at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

So it seems that this is a) something in libpoppler, maybe related to getting thumbnails, and b) might be related to a unusual color space specification in this specific PDF.

Bye, Simon

simon@budig.de              http://simon.budig.de/
Simon Budig
2016-10-21 08:53:28 UTC (over 7 years ago)

Importing PDF into Gimp 2.8.18

Simon Budig (simon@budig.de) wrote:

Thread 4 "thumbnailer" received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7f3e23fff700 (LWP 15442)] 0x00007f3e32a77f20 in cmsGetColorSpace () from /usr/lib/x86_64-linux-gnu/liblcms2.so.2

[...]

So it seems that this is a) something in libpoppler

Eh. Actually the crash is in lcms.

Bye, Simon

simon@budig.de              http://simon.budig.de/
rich2005
2016-10-22 11:20:21 UTC (over 7 years ago)

Importing PDF into Gimp 2.8.18

I’m not a code expert at all but I use GIMP to modify and color correct images and PDF documents. The tool set is good, flexible, and very powerful. I was using version 2.8.10 until I recently upgraded to 2.8.18. My platform is a late 2009 iMac running Sierra (OS 10.12). The problem I am now experiencing is I can no longer import certain PDFs to GIMP. It used to be really easy but now, no joy. I hope this will be fixed soon. I really like GIMP’s feature set and I hope this current problem is an easy fix. Attached is a screen shot of an error message when trying to open some PDFs.

I am using linux not OSX and as with others Gimp will not open the posted NxNW_1959.pdf. It does open in a linux pdf editor and apart from the creator, nothing unusual, fonts are nothing spaecial for example.

A straight save produces a pdf which does open in Gimp. A slight difference in file size orig: 585,860B vs new: 558.823

Usual problem editing PDF in Gimp, it is rasterized, A better bet might be LibreOffice which does open the original file.

2017-09-18 23:44:14 UTC (over 6 years ago)
postings
1

Importing PDF into Gimp 2.8.18

Procedure 'file-pdf-load' returned no return values

My solution to this is making any edit to the PDF in Preview before importing into GIMP.