Re: [Gimp-user] how to exposing more tiff load options for scripting

2012-08-19 Thread Jernej Simončič
On Sun, 19 Aug 2012 12:08:38 +0100, Tim Dickson wrote:

 1. I am using gimp 2.8 (windows version in this case - the version that 
 comes with slackware is somewhat older)

Note that the Windows version of GIMP ships with older version of libtiff,
because there are problems with the most recent one on Windows.

-- 
 Jernej Simončič  http://eternallybored.org/ 

___
gimp-user-list mailing list
gimp-user-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-user-list


Re: [Gimp-user] A plug-in for those who still don't like the new Save/Export

2012-08-19 Thread Akkana Peck
maderios writes:
 The Akkana script
 https://github.com/akkana/gimp-plugins/blob/master/save-export-clean.py
 works well now.

For those who haven't used sites like Github before: be sure to
click on Raw before saving the plug-in to your plug-ins directory.

minhsien0330 writes:
 After testing it I found this plug-in will not export the background layer
 to save.

Interesting! Thanks for the clear steps -- I see the same thing you do.

I had wondered why the PDB call gimp-file-save required a drawable
(layer) argument. It looks like, when exporting to formats like jpeg
which can't handle multiple layers, gimp-file-save uses that
argument to decide which layer to save. That also explains why,
in GIMP 2.6 and earlier, we had to go through that extra step of
flattening the image if it had multiple layers before it could be
saved to jpeg.

To get around that, the plug-in would probably have to have some
of extra logic:

if (the image has multiple layers)
look up target file type to see if the format supports that
if not supported:
save context for undo, or make a duplicate image
flatten the image
save it
undo the flatten or delete the duplicate image

I don't know of a way using the GIMP pdb to look up whether a
particular file format needs flattening. So the plug-in might have
to maintain its own table of formats.

I had been thinking about this plug-in as something for people who
edit a png or jpg or whatever, make a simple change and re-save it.
I figured that when someone starts adding extra layers, they'd
actually prefer the save as xcf, export a copy to jpg model ...
at least, that's my own workflow. Do you think there are a lot of
people who use multiple layers yet save as jpg?

 Besides, how do I setup the exported  jpg quality? The defualt jpeg output
 quality of Save/Export Clean seems very low.

That's a good question, and might require more research. At first I
assumed it was following my default settings for the jpeg plug-in.
If you export to JPG and get the dialog, you can click on Save
Settings after adjusting the Quality slider. But GIMP doesn't
actually seem to save those settings -- I find that whatever I
adjust them to, my jpg quality settings end up at 90, whether I
actually set the default higher or lower than that.

That might be a bug -- if so, we should probably move to the
gimp-developer list to find out (CCing). I'll do more testing
before filing one, but it seems odd that quality keeps ending
up at 90 and I don't seem to be able to change it.

...Akkana
___
gimp-user-list mailing list
gimp-user-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-user-list


[Gimp-user] Editing Multi Images

2012-08-19 Thread N Q Suzumeh







I want to scale down a set of 125 images. Is there another way to do this other 
than one at a time?  Prue's Doux
  ___
gimp-user-list mailing list
gimp-user-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-user-list


Re: [Gimp-user] Editing Multi Images

2012-08-19 Thread Alexandre Prokoudine
On Sun, Aug 19, 2012 at 10:59 PM, N Q Suzumeh wrote:
 I want to scale down a set of 125 images. Is there another way to do this
 other than one at a time?

Of course :)

Please just use any batch processing software. There's plenty of such
applications. Phatch comes to mind as one of them.

Or you can install something like
http://www.alessandrofrancesconi.it/projects/bimp/ for GIMP.

Alexandre Prokoudine
http://libregraphicsworld.org
___
gimp-user-list mailing list
gimp-user-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-user-list


Re: [Gimp-user] A plug-in for those who still don't like the new Save/Export

2012-08-19 Thread Akkana Peck
 minhsien0330 writes:
  Besides, how do I setup the exported  jpg quality? The defualt jpeg output
  quality of Save/Export Clean seems very low.

Akkana Peck writes:
 I find that whatever I
 adjust them to, my jpg quality settings end up at 90, whether I
 actually set the default higher or lower than that.

Turns out that's a known bug that has already been fixed in the GIMP
2.8 tree.

...Akkana
___
gimp-user-list mailing list
gimp-user-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-user-list


Re: [Gimp-user] A plug-in for those who still don't like the new Save/Export

2012-08-19 Thread Chris Mohler
On Sun, Aug 19, 2012 at 2:10 PM, Akkana Peck akk...@shallowsky.com wrote:
 wouldn't it be more simple to flatten everything rather than ...  ?

 It wouldn't make you very happy after you saved an XCF and tried to
 reopen it ... some formats DO support layers. :-)

How about:

 - Duplicate image
 - Flatten duplicate
 - Save
 - Destroy duplicate

Chris
___
gimp-user-list mailing list
gimp-user-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-user-list


Re: [Gimp-user] Editing Multi Images

2012-08-19 Thread Kevin Cozens

On 12-08-19 02:59 PM, N Q Suzumeh wrote:

I want to scale down a set of 125 images. Is there another way to do this other 
than one at a time?  Prue's Doux


Check out ImageMagick. I seem to remember I used it once before to do a bulk 
modify. Look at convert or mogrify.



--
Cheers!

Kevin.

http://www.ve3syb.ca/   |Nerds make the shiny things that distract
Owner of Elecraft K2 #2172  | the mouth-breathers, and that's why we're
| powerful!
#include disclaimer/favourite | --Chris Hardwick
___
gimp-user-list mailing list
gimp-user-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-user-list


Re: [Gimp-user] Editing Multi Images

2012-08-19 Thread Partha Bagchi
On Sun, Aug 19, 2012 at 5:35 PM, Kevin Cozens ke...@ve3syb.ca wrote:
 On 12-08-19 02:59 PM, N Q Suzumeh wrote:

 I want to scale down a set of 125 images. Is there another way to do this
 other than one at a time?  Prue's Doux


 Check out ImageMagick. I seem to remember I used it once before to do a bulk
 modify. Look at convert or mogrify.


 --
 Cheers!

 Kevin.

Right!

Since you didn't mention OS, you can try this with Linux, Apple
terminal, or Msys in Windows:

for i in *.jpg; do
out=$(ls $i | sed -e 's/.jpg//g')
convert $i -resize 1024 $out-s.jpg
done
___
gimp-user-list mailing list
gimp-user-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-user-list


Re: [Gimp-user] A plug-in for those who still don't like the new Save/Export

2012-08-19 Thread Akkana Peck
Chris Mohler writes:
 On Sun, Aug 19, 2012 at 2:10 PM, Akkana Peck akk...@shallowsky.com wrote:
  wouldn't it be more simple to flatten everything rather than ...  ?
 
  It wouldn't make you very happy after you saved an XCF and tried to
  reopen it ... some formats DO support layers. :-)
 
 How about:
 
  - Duplicate image
  - Flatten duplicate
  - Save
  - Destroy duplicate

That was exactly one of the two options I just described. and
if you're saving to XCF, you'll end up with a flattened XCF
that's lost all the layer info.

Sure, it's fine if you only use the plug-in for exporting to JPG,
and use Save for XCF. But then you probably wouldn't want to bind
it to Ctrl-S.

...Akkana
___
gimp-user-list mailing list
gimp-user-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-user-list


[Gimp-user] How make an image fade to black

2012-08-19 Thread Caleb Halbrook


Hello, 



I am trying to make my image fade to black on one side .  I have read the blend 
tool tutorial in the user manual but all I can get to hap pen  is a black and 
white gradient completely covering my image.  I have tried adding a transparent 
layer over the image and applying the gradient to it but for some reason when 
one side of the image (using the linear mode) starts to get darker, the other 
side gets lighter, creating a severely distorted contrast with the image, plus 
the fade covers an entire half of the image. 



If someone could give me some help with this it would be greatly appreciated. 

Note: I am a Gimp newbie so I don't quite understand all of the techniques 
and/or terminology. 

Also, I will gladly give more info if my question doesn't quite make sense :) 



Thanks alot! 

p.s. I attached a drawing of what I am trying to accomplish (btw I used Paint 
so the quality or accuracy is not ideal, but you get the basic picture)attachment: fade.jpg___
gimp-user-list mailing list
gimp-user-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gimp-user-list