Re: [Gimp-user] [newbie] easy exports
Kurt Guenther <[EMAIL PROTECTED]> writes: > Is there an easy way to do exports from the xcf format to yield jpgs? > I'm currently using "File -> Save a Copy", but labor intensive for every > change. (Command line is fine, so I can script it.) gimp -i -b "(let* ((image (car (gimp-file-load 1 "foo.xcf" "" (gimp-file-save 1 image (car (gimp-image-merge-visible-layers image 0)) "foo.jpg" "") (gimp-quit 0))" Sven ___ Gimp-user mailing list Gimp-user@lists.xcf.berkeley.edu http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
Re: [Gimp-user] Re: Script-fu inclusion for 2.4
Hi, Eric P <[EMAIL PROTECTED]> writes: >And here's a quick visual of what it does. >http://epierce.freeshell.org/gimp Should probably register next to the Rounded Rectangle script instead of to the bottom of the menu. Try to use /Select/Modify. Sven ___ Gimp-user mailing list Gimp-user@lists.xcf.berkeley.edu http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
Re: [Gimp-user] [newbie] easy exports
On Thu, Apr 28, 2005 at 12:06:18PM -0400, Kurt Guenther wrote: > > Is there an easy way to do exports from the xcf format to yield jpgs? > I'm currently using "File -> Save a Copy", but labor intensive for every > change. (Command line is fine, so I can script it.) > i have some python scripts and pieces of python scripts that do this. http://carol.gimp.org/gimp2/resources/python/comment.html is a script piece that saves jpegs. if you use this, i would (in addition) flatten the image (gimp_image_flatten or pdb.gimp_image_flatten(image) for a python script). the script portion is actually used in these two gallery scripts: http://carol.gimp.org/gimp2/web/python/gallery-simple.py http://carol.gimp.org/gimp2/web/python/gallery-blurbed.py i dont know how to do this from the command line. it should be similar though. you can find what the gimp can do in a script from Xtns -->Procedure Browser. or if you are using script-fu or python, there are script consoles. have fun with TheGIMP, it is cool. carol ___ Gimp-user mailing list Gimp-user@lists.xcf.berkeley.edu http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
[Gimp-user] [newbie] easy exports
Is there an easy way to do exports from the xcf format to yield jpgs? I'm currently using "File -> Save a Copy", but labor intensive for every change. (Command line is fine, so I can script it.) --Kurt ___ Gimp-user mailing list Gimp-user@lists.xcf.berkeley.edu http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
Re: [Gimp-user] No option to open TIFs (probably more of a compile question)
Thanks to everyone who responded (both on and off the list). As I suspected I needed to recompile the gimp. However I also needed to recompile glib, gtk, pango, atk, fontconfig, freetype, and libtiff. The thread at http://www.linuxquestions.org/questions/member.php?action=mailform&userid=179995 was very helpful and amit rao was extremely nice in providing personal help. PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig:/home/strycat/usr/lib/pkgconfig LD_LIBRARY_PATH=/usr/local/lib:/home/strycat/usr/lib PATH=$PATH:/home/strycat/usr/bin All of the aforementioned packages needed to have the --prefix=/home/strycat/usr added to the ./configure line. I still have a few minor problems (couldn't find SGV or libgtkhtml) but the main problem of no tiff support has been resolved. After all of this, the GIMP 2.2 had better be the best program in the whole world. Thanks again to everyone who helped. -Tom On 4/26/05, Tom Cat <[EMAIL PROTECTED]> wrote: > I think this has hit on the problem > libtiff is showing up in /usr/lib instead of $HOME/usr/lib > It is also the ancient version instead of the new version. > > Now how the heck to I get it to look in the right place? Another env > variable? Another option in the configure script? > > Thanks. > > On 4/26/05, Owen <[EMAIL PROTECTED]> wrote: > > On Mon, 25 Apr 2005 14:29:01 -0400 > > Tom Cat <[EMAIL PROTECTED]> wrote: > > > > > During the install I had to set a number of environmental vars: > > > > > > SED=sed > > > LDFLAGS=-L/home/strycat/usr/lib > > > LD_LIBRARY_PATH=/home/strycat/usr/lib > > > PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/strycat/bin:/home/strycat/usr/bin/ > > > LD_RUN_PATH=/home/strycat/usr/lib > > > PKG_CONFIG_LIBDIR=/home/strycat/usr/lib/pkgconfig/:/home/strycat/usr/lib/ > > > PKG_CONFIG_PATH=/home/strycat/usr/:/home/strycat/usr/lib/pkgconfig/:/home/strycat/usr/lib/ > > > LIBTIFF=/home/strycat/usr/lib -ltiff > > > FREETYPE_CONFIG='/home/strycat/usr/bin/freetype-config' > > > > What happens if as root you run 'ldconfig -v'? > > > > or better still 'ldconfig -v|grep tiff' > > > > Does libtiff show up where expected? > > > > > > Owen > > ___ > > Gimp-user mailing list > > Gimp-user@lists.xcf.berkeley.edu > > http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user > > > ___ Gimp-user mailing list Gimp-user@lists.xcf.berkeley.edu http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
Re: [Gimp-user] Making image sizes smaller
> No, it doesn't match any of the indexing options, it just reduces the > numbers of shades per channel (Ok, postering with 6 levels is the same > as indexing to the web palette without dithering, but thats it). Documentation can be really confusing sometimes :) http://docs.gimp.org/de/ch04s05s08.html The english version has it correct, but doesn't give any further explanation. http://docs.gimp.org/en/ch04s05s08.html It should mention that this tool constructs a color cube, the 6x6x6 web palette example might be useful for this. Michael -- +++ GMX - die erste Adresse für Mail, Message, More +++ 10 GB Mailbox, 100 FreeSMS http://www.gmx.net/de/go/topmail ___ Gimp-user mailing list Gimp-user@lists.xcf.berkeley.edu http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
Re: [Gimp-user] Making image sizes smaller
Michael Schumacher ([EMAIL PROTECTED]) wrote: > You can do the indexing manually with the Posterize tool. I don't know if it > matches any of the indexing options presented by the mode conversion, but it > will reduce colors. No, it doesn't match any of the indexing options, it just reduces the numbers of shades per channel (Ok, postering with 6 levels is the same as indexing to the web palette without dithering, but thats it). Bye, Simon -- [EMAIL PROTECTED] http://simon.budig.de/ ___ Gimp-user mailing list Gimp-user@lists.xcf.berkeley.edu http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
Re: [Gimp-user] Making image sizes smaller
> Wonderful! I knew about indexing in relation to GIFs. Didn't know > PNG could to indexing. Is there anything more intelligent than trial > and error for determining how few colours will do while preserving > the quality of the page (there is a graphic on the page I am scanning > that I would like to look decent). You can do the indexing manually with the Posterize tool. I don't know if it matches any of the indexing options presented by the mode conversion, but it will reduce colors. BTW, you should never use any dithering option when indexing an image intended to be saved as PNG - the compression gets better than there are large areas of one color. HTH, Michael -- +++ GMX - die erste Adresse für Mail, Message, More +++ 10 GB Mailbox, 100 FreeSMS http://www.gmx.net/de/go/topmail ___ Gimp-user mailing list Gimp-user@lists.xcf.berkeley.edu http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
Re: [Gimp-user] Making image sizes smaller
Hi, A single scanned page comes in at about 3.5 MB as a png (saved directly to png from the scan). Any suggestions as to how I might reduce that? As already has been suggested: indexed instead of RGB. Another suggestion: reduce the image size - the smaller it is, the less space it needs (obviously). I guess you already set the compression rate to 9 in the png save dialog?! One idea I had was to lift the text off of the page and clean up the background. There is a lot of noise, mostly from information showing faintly through from the other side of the thin glossy paper. I spent a lot of time with the select by colour tool to lift the text off the page. If it is only black and white text, try out the "Threshold" tool (in Image -> Color Tools). It also works on selections. I should add that I rescanned as an *.xcf format image to do this work. Hm - I don't think this makes a difference, both xcf and png are lossless formats, so the pixels should be identical. When I saved to *.png, it was pretty much the same size as before (even a little bigger). Hm. Strange. Did you have any settings on the scanner different? -- Andreas Waechter mailto:[EMAIL PROTECTED] http://www.andreas-waechter.de ___ Gimp-user mailing list Gimp-user@lists.xcf.berkeley.edu http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user