It is currently Fri Jul 19, 2024 8:32 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Help with export-layers-to-pdf.py...
PostPosted: Wed Nov 11, 2015 7:47 pm  (#1) 
Offline
New Member

Joined: Nov 11, 2015
Posts: 2
I'm not sure what I'm doing wrong, but I can get this to work with Gimp 2.8.4

I install the .py file in the plug-ins folder and add the new lines to the default.env file. I also downloaded the latest version of Imagemagick. I'm running Windows 7.

Can someone help me figure this out please? Thanks!!!


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: Help with export-layers-to-pdf.py...
PostPosted: Fri Nov 13, 2015 4:46 am  (#2) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2444
Tried all sorts to get that to work in Windows 7 / Gimp 2.8.14 (hours) without success. The plug-in does work in linux, must be something in the Windows compile.
....needs one of the clever guys to investigate...;)

As an alternative, more hands on
Save the layers to individual files. Several scripts for this, this a not overly complicated one, saves as png files.
http://registry.gimp.org/node/18440

Then assemble those into a multi-page-pdf using Saul Goodes script
http://chiselapp.com/user/saulgoode/rep ... -pdf-multi

It does have an advantage in that you can order the sequence of files.

_________________
Image


Top
 Post subject: Re: Help with export-layers-to-pdf.py...
PostPosted: Fri Nov 13, 2015 5:42 am  (#3) 
Offline
Script Coder
User avatar

Joined: Jun 22, 2010
Posts: 1171
Location: Here and there
Rich. Apparently you've already helped someone to get it working ;)
http://gimpforums.com/thread-solved-tut ... ers-to-pdf

Kevin


Top
 Post subject: Re: Help with export-layers-to-pdf.py...
PostPosted: Fri Nov 13, 2015 7:06 am  (#4) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2444
Ahh..Thanks Kevin
that's what happens when you get old, memory failure.

Two years ago, the plug-in was version 0.5 (3227B) now version 0.7 (4653B) but no matter, both work.

I know I rearranged the default.env file but maybe not enough. This is it open in notepad, no line breaks.

Attachment:
default-env.jpg
default-env.jpg [ 31.59 KiB | Viewed 3637 times ]


Editing to

# Example entry in files like these
# FOOPATH=/path/to/foo/stuff
# PATH=${gimp_installation_dir}\bin

PATH=${gimp_installation_dir}\bin;C:\Program Files\ImageMagick-6.9.2-Q16
PYTHONPATH=${gimp_installation_dir}\lib\gimp\2.0\python


now working here Win7 32bit /Gimp 2.8.14
A 64 bit installation might be a little different.

_________________
Image


Top
 Post subject: Re: Help with export-layers-to-pdf.py...
PostPosted: Fri Nov 13, 2015 7:31 am  (#5) 
Offline
Script Coder
User avatar

Joined: Jun 22, 2010
Posts: 1171
Location: Here and there
rich2005 wrote:
Ahh..Thanks Kevin
that's what happens when you get old, memory failure.


I can't take any credit for remembering that -
As the OP didn't post a link to where they got the script from (when will they ever learn that we're not psychic? ;) ) I Googled the script file intending to have a look for myself and that thread was one of the top responses.

Kevin


Top
 Post subject: Re: Help with export-layers-to-pdf.py...
PostPosted: Fri Nov 13, 2015 7:42 am  (#6) 
Offline
New Member

Joined: Nov 11, 2015
Posts: 2
Well, I copied and pasted your code, and now when I click export as pdf it crashes... GRRRR


Top
 Post subject: Re: Help with export-layers-to-pdf.py...
PostPosted: Fri Nov 13, 2015 7:53 am  (#7) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2444
well...crystal ball is in for servicing
Which Win 7 - 32 bit or 64 bit ?
latest IM - I can find that.
Source for script as well.

edit: why are you using Gimp 2.8.4? I assumed a typo but maybe not

_________________
Image


Top
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) Export Layers - new features

2

No new posts Attachment(s) Export as layers not working

5

No new posts Attachment(s) Export Layers by Khalim19 as batch action proces.

3

No new posts Export to tif for print

0

No new posts PNG & JPG Export Size

4



* Login  



Powered by phpBB3 © phpBB Group