It is currently Mon Apr 15, 2024 7:31 am


All times are UTC - 5 hours [ DST ]


Switch to mobile style

Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Script to import from EPS
PostPosted: Fri Jan 11, 2013 6:38 am  (#1) 
Offline
New Member

Joined: Jan 11, 2013
Posts: 2
Hello,

I just discovered gimp (3 days). I'm building a script who load eps file, apply some filters, and save it to png format. It is almost good, except that I use the "gimp-file-load" which does't allow me to change the import settings ("Rendering", "coloring", "Text antialiasing" "Graphic antialising").
Which function should I use to import eps file with the possibility to control the "resolution" and "text-antialisasing" ?

Many Thanks,

Maika, France ( Gimp 2.8, Window XP)


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: Script to import from EPS
PostPosted: Fri Jan 11, 2013 8:04 am  (#2) 
Offline
GimpChat Member

Joined: May 09, 2012
Posts: 914
Bonjour,

The 2 functions to use :
(file-ps-load-setargs resolution width height check-bbox pages coloring text-alpha-bits graphic-alpha-bits)
(file-ps-load run-mode filename raw-filename)

Example with C:\tests\tiger.eps

(file-ps-load-setargs 72 300 600 0 "1" 7 2 2)
(gimp-display-new (car (file-ps-load 1 "C:\\tests\\tiger.eps" "C:\\tests\\tiger.eps")))


Top
 Post subject: Re: Script to import from EPS
PostPosted: Fri Jan 11, 2013 9:44 am  (#3) 
Offline
New Member

Joined: Jan 11, 2013
Posts: 2
Hello,

Yes, it's working with this 2 functions.

Merci Beaucoup,

Maika


Top
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) Gimp curves import

2

No new posts Import- Circle Bugs in Gimp 2.10

1

No new posts Attachment(s) Looking for Script Coder to make Script of my VHS effect

2

No new posts Attachment(s) A liitle Start Help with a Script-Fu Script

3

No new posts Attachment(s) Cannot run test script-fu script via console

7



* Login  



Powered by phpBB3 © phpBB Group