Re: [Gimp-user] newbie: script for comverting eps line drawings to gif

2011-01-23 Thread Johan Vromans
Ray Tayek rta...@ca.rr.com writes: i agree. this looks like ghostscript is what i should be fooling around with. You need antialiasing. Use explicit settings on the command line, e.g., -dTextAlphaBits=4 -dGraphicsAlphaBits=4 Why not use the tool I sent you? -- Johan

Re: [Gimp-user] newbie: script for comverting eps line drawings to gif

2011-01-23 Thread Ray Tayek
At 04:48 AM 1/23/2011, you wrote: Ray Tayek rta...@ca.rr.com writes: i agree. this looks like ghostscript is what i should be fooling around with. You need antialiasing. Use explicit settings on the command line, e.g., -dTextAlphaBits=4 -dGraphicsAlphaBits=4 Why not use the tool I sent

Re: [Gimp-user] newbie: script for comverting eps line drawings to gif

2011-01-22 Thread Ray Tayek
At 02:03 AM 1/21/2011, you wrote: On 01/21/2011 09:13 AM, Ray Tayek wrote: what should the values be for bounding box? current bounding box size/current scaling factor=235/.47166=498,24 (I used 500) i understand that. what about a bounding box like: %%BoundingBox: -1 -21 101 214 would

Re: [Gimp-user] newbie: script for comverting eps line drawings to gif

2011-01-22 Thread Mike Williams
On Fri, Jan 21, 2011 at 11:28 AM, Ofnuts ofn...@laposte.net wrote: On 01/21/2011 04:30 PM, Mike Williams wrote: Would someone please post the differences between page3.eps and page3b.eps? diff page3.eps page3b.eps 2c2 %%BoundingBox: -1 -1 234 234 --- %%BoundingBox: 0 0 500 500

Re: [Gimp-user] newbie: script for comverting eps line drawings to gif

2011-01-22 Thread Ofnuts
On 01/22/2011 10:38 AM, Ray Tayek wrote: At 02:03 AM 1/21/2011, you wrote: On 01/21/2011 09:13 AM, Ray Tayek wrote: what should the values be for bounding box? current bounding box size/current scaling factor=235/.47166=498,24 (I used 500) i understand that. what about a bounding box

Re: [Gimp-user] newbie: script for comverting eps line drawings to gif

2011-01-21 Thread Ray Tayek
At 03:26 PM 1/20/2011, Ofnuts wrote: ... All of them produce an image with less pixels than the conversion in Gimp... (235x235 instead of 326x326). If you look at the EPS it specifies a 235x235 bounding box, and a scale factor to shoehorn the diagram in it. the page.eps file that i am using

Re: [Gimp-user] newbie: script for comverting eps line drawings to gif

2011-01-21 Thread Ofnuts
On 01/21/2011 09:13 AM, Ray Tayek wrote: At 03:26 PM 1/20/2011, Ofnuts wrote: ... All of them produce an image with less pixels than the conversion in Gimp... (235x235 instead of 326x326). If you look at the EPS it specifies a 235x235 bounding box, and a scale factor to shoehorn the

Re: [Gimp-user] newbie: script for comverting eps line drawings to gif

2011-01-21 Thread Mike Williams
On Fri, Jan 21, 2011 at 5:03 AM, Ofnuts ofn...@laposte.net wrote: On 01/21/2011 09:13 AM, Ray Tayek wrote: At 03:26 PM 1/20/2011, Ofnuts wrote: ... If you edit the EPS to work with a 1:1 scale and a sufficient bounding box (2 lines to edit, no hard to script), the output of convert

Re: [Gimp-user] newbie: script for comverting eps line drawings to gif

2011-01-21 Thread Ofnuts
On 01/21/2011 04:30 PM, Mike Williams wrote: Would someone please post the differences between page3.eps and page3b.eps? I tried changing scale to 1.0 1.0 and get an image with a thicker outer border, but the image is clipped, only the lower left corner of the figure is shown and the

Re: [Gimp-user] newbie: script for comverting eps line drawings to gif

2011-01-20 Thread Ofnuts
On 01/20/2011 02:24 AM, Ray Tayek wrote: hi, i have a lot of eps files that i need to convert to gif (or png). i was trying to use image magic, but not having any luck. i am a programmer, but i do not know lisp. if i import an eps into gimp and save it as a gif, it look pretty good. but i

Re: [Gimp-user] newbie: script for comverting eps line drawings to gif

2011-01-20 Thread Kevin Cozens
Ray Tayek wrote: hi, i have a lot of eps files that i need to convert to gif (or png). i was trying to use image magic, but not having any luck. Install ImageMagick on your computer then you can use its convert program in a script to convert your images to the format you need.

Re: [Gimp-user] newbie: script for comverting eps line drawings to gif

2011-01-20 Thread Chris Mohler
On Wed, Jan 19, 2011 at 10:57 PM, Ray Tayek rta...@ca.rr.com wrote: oh, it's python (didn't know that gimp ate python). i will try some python. don't see any python-fu under filters though. are the conversion options documented anywhere? Are you on Windows? You'll need to install python

Re: [Gimp-user] newbie: script for comverting eps line drawings to gif

2011-01-20 Thread Ray Tayek
At 03:06 AM 1/20/2011, you wrote: On 01/20/2011 02:24 AM, Ray Tayek wrote: hi, i have a lot of eps files that i need to convert to gif (or png). i was trying to use image magic, but not having any luck. ... Not with Gimp... this is the kind of work ImageMagick's convert is meant for. Might

Re: [Gimp-user] newbie: script for comverting eps line drawings to gif

2011-01-20 Thread Ray Tayek
At 11:07 PM 1/19/2011, you wrote: Ray Tayek rta...@ca.rr.com writes: if i import an eps into gimp and save it as a gif, it look pretty good. but i need to convert hundreds of these. can someone point me to some kind of starter script that would go throug the eps files in a directory and

Re: [Gimp-user] newbie: script for comverting eps line drawings to gif

2011-01-20 Thread Ray Tayek
At 07:05 PM 1/19/2011, you wrote: On Wed, Jan 19, 2011 at 7:24 PM, Ray Tayek rta...@ca.rr.com wrote: hi, i have a lot of eps files that i need to convert to gif (or png) ... i am a programmer, but i do not know lisp. This was one of the first hits I got for 'batch' and 'convert' at the plugin

Re: [Gimp-user] newbie: script for comverting eps line drawings to gif

2011-01-20 Thread Ray Tayek
At 12:46 AM 1/20/2011, you wrote: Ray Tayek rta...@ca.rr.com writes: http://tayek.com/bobt/images/gif.html Can you send me the eps, please? sure, attached please find. page3 is one i did the testing on. thanks --- co-chair http://ocjug.org/ page3.eps Description: PostScript document

Re: [Gimp-user] newbie: script for comverting eps line drawings to gif

2011-01-20 Thread Ray Tayek
At 11:30 PM 1/19/2011, you wrote: On 1/20/2011 2:24 AM, Ray Tayek wrote: hi, i have a lot of eps files that i need to convert ... Try David's Batch Processor: http://members.ozemail.com.au/~hodsond/dbp.html It's really cool. i will try this. thanks --- co-chair http://ocjug.org/

Re: [Gimp-user] newbie: script for comverting eps line drawings to gif

2011-01-20 Thread Ray Tayek
At 03:06 AM 1/20/2011, you wrote: On 01/20/2011 02:24 AM, Ray Tayek wrote: hi, i have a lot of eps files that i need to convert to gif (or png). i was trying to use image magic, but not having any luck. ... Not with Gimp... this is the kind of work ImageMagick's convert is meant for. Might

Re: [Gimp-user] newbie: script for comverting eps line drawings to gif

2011-01-20 Thread Ray Tayek
At 11:29 PM 1/19/2011, you wrote: What are your problems with Imagemagick, which is exactly the tool you need? i go some ideas from the image magic list and i tried a bunch of combinations of their suggestions. you can see what i tried at http://tayek.com/bobt/images/gif.html. what happens is

Re: [Gimp-user] newbie: script for comverting eps line drawings to gif

2011-01-20 Thread Ray Tayek
At 10:58 AM 1/20/2011, Chris Mohler wrote: On Wed, Jan 19, 2011 at 10:57 PM, Ray Tayek rta...@ca.rr.com wrote: oh, it's python (didn't know that gimp ate python). i will try some python. don't see any python-fu under filters though. are the conversion options documented anywhere? Are

Re: [Gimp-user] newbie: script for comverting eps line drawings to gif

2011-01-20 Thread Ofnuts
On 01/20/2011 11:40 PM, Ray Tayek wrote: At 03:06 AM 1/20/2011, you wrote: On 01/20/2011 02:24 AM, Ray Tayek wrote: hi, i have a lot of eps files that i need to convert to gif (or png). i was trying to use image magic, but not having any luck. ... Not with Gimp... this is the kind of

Re: [Gimp-user] newbie: script for comverting eps line drawings to gif

2011-01-20 Thread Kevin Cozens
Ray Tayek wrote: yes, i tried a bunch of them at http://tayek.com/bobt/images/gif.html but none of them are very good There is a problem with the set of sample conversions. The image produced by GIMP which is supposedly the good version of the image is larger than the other samples you show.

Re: [Gimp-user] newbie: script for comverting eps line drawings to gif

2011-01-20 Thread Ray Tayek
At 08:44 PM 1/20/2011, you wrote: Ray Tayek wrote: yes, i tried a bunch of them at http://tayek.com/bobt/images/gif.html but none of them are very good There is a problem with the set of sample conversions. The image produced by GIMP which is supposedly the good version of the image is larger

Re: [Gimp-user] newbie: script for comverting eps line drawings to gif

2011-01-20 Thread Kevin Cozens
Ray Tayek wrote: i put one here: http://tayek.com/bobt/images/page3.eps I looked at the contents of the source file. Ignoring the scaling factor in the image, all lines are 0.8 points with the exception of the outside border which has a width of 1.92 points. You can see the thicker border

[Gimp-user] newbie: script for comverting eps line drawings to gif

2011-01-19 Thread Ray Tayek
hi, i have a lot of eps files that i need to convert to gif (or png). i was trying to use image magic, but not having any luck. i am a programmer, but i do not know lisp. if i import an eps into gimp and save it as a gif, it look pretty good. but i need to convert hundreds of these. can

Re: [Gimp-user] newbie: script for comverting eps line drawings to gif

2011-01-19 Thread Tőkés Ábel
On 1/20/2011 2:24 AM, Ray Tayek wrote: hi, i have a lot of eps files that i need to convert to gif (or png). i was trying to use image magic, but not having any luck. i am a programmer, but i do not know lisp. if i import an eps into gimp and save it as a gif, it look pretty good. but i