[Gimp-user] Scripting - How to save JPEG with thumbnails

2007-05-07 Thread Guillaume Bonillo
Hi,

I am new to scheme scripting.
What i want to do is open pictures from a directory and apply a very 
simple macro.

I can do it manually with the following steps :
- open image the_image.jpg.
- save as  the_image_with_thumbnail.jpg
- choose options : q = 0.85 , progressive, and default other options.
- check the option : save thumbnail.
- Click OK.
- close image.

Could someone show me some sample scripts to do that ?
I've found several way to save a thumbnail in jpg or png format in a 
separate file,
but did not find any script matching the steps i've exposed ...

Thanks for any reply

G.B.
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] [Gimp-docs] Wacom tablet

2007-05-07 Thread Axel Wernicke

Hi Sufyan,

Am 07.05.2007 um 06:19 schrieb sufyan bakir:


I am using Gimp on Mac OSX 10.4.9.
I have a Wacom tablet connected to my PC but cannot seem to have  
the pressure sensitivity working.
In the File  Preferences  Input Devices  it did not detect the  
connected Wacom tablet.


Although this is not the right mailing list (gimp-user would be a  
better place) I can answer your question. Unfortuntely the pressure  
sensitivity is not going to work in GIMP at OS X right now. I know  
this does not help you (us) right now, but it's not GIMPs fault, but  
a missing function in Apples X11 application. Good news is, that  
there might be a native gtk (which is the GIMPs toolkit) in the  
future, which replaces X11 for GIMP at OS X.


Greetings, lexA


How to activate this function? Please help.
Thank you.
___
Gimp-docs mailing list
[EMAIL PROTECTED]
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-docs


---
Remember: There are only two tools in life. WD-40, for when something  
doesn't move, and should, and Duct Tape, for when something is moving  
and it shouldn't.

So does the universe explode if you spray duct tape with WD-40?


___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Scripting - How to save JPEG with thumbnails

2007-05-07 Thread Guillaume Bonillo

Guillaume Bonillo a écrit :

Paul Surgeon a écrit :

On Monday 07 May 2007 11:37, Guillaume Bonillo wrote:
  

Hi,

I am new to scheme scripting.
What i want to do is open pictures from a directory and apply a very
simple macro.

I can do it manually with the following steps :
- open image the_image.jpg.
- save as  the_image_with_thumbnail.jpg
- choose options : q = 0.85 , progressive, and default other options.
- check the option : save thumbnail.
- Click OK.
- close image.



Using a bash script or DOS batch file with imagemagick is a better and easier 
solution.


Below is a bash script that I use to create thumbnails of photos from my 
digital camera.
You can pass the jpg quality parameter to convert - I used the default which 
is 75% I think. The options are in the docs.


-

#!/bin/bash

echo Converting ...

if [ ! -d resized-1024x768 ]
then
  mkdir resized-1024x768
fi

if [ ! -d resized-256x192 ]
then
  mkdir resized-256x192
fi

# Loop through all jpg files in current folder
# 
for i in *.jpg
do
  FileName_Stripped=`echo $i | cut -d. -f1`

  if [ ! -e resized-1024x768/$FileName_Stripped-1024x768.jpg ]
  then
echo Converting $i to $FileName_Stripped-1024x768.jpg
convert -resize 1024x768 
$i resized-1024x768/$FileName_Stripped-1024x768.jpg

  fi

  if [ ! -e resized-256x192/$FileName_Stripped-256x192.jpg ]
  then
echo Converting $i to $FileName_Stripped-256x192.jpg
convert -resize 256x192 
$i resized-256x192/$FileName_Stripped-256x192.jpg

  fi
done

echo Done

-
  

Thank you very much for pointing this tool to me.
However ...
I can't find in imagemagick the ability to save thumbnail as EXIF data 
in the jpeg, and not in a different picture.


Ok, so if someone want to write Exif thumbnail to jpeg i've done this 
with imagemagik and exiftools to write thumbnail generated by imagemagik...
Maybe there's a better way to do this but this tools works just as 
expected and there's no loss of other exif info.


But if someone ever got a scheme script to do that through GIMP ... i'am 
interested


Thanks list !
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] general, basic image properties

2007-05-07 Thread Scott Bicknell
On Monday, May 7, 2007 11:39 am, Seb wrote:

 Hi,

 How does one learn about basic image file properties like size and
 resolution in general.  I found an old thread here where the exif
 filter was mentioned, but I don't see this among the options in my
 Debian unstable gimp package.  In any case, IIUC, this would only
 work for jpeg, not for other formats.  Any pointers appreciated.

View/Info Window
-- 
73, AC7ZZ
http://counter.li.org/
Linux User #246504
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] general, basic image properties

2007-05-07 Thread Seb
On Mon, 7 May 2007 12:53:31 -0700,
Scott Bicknell [EMAIL PROTECTED] wrote:

[...]

 View/Info Window

I must have missed it many times...thanks.


-- 
Seb

___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] Scripting - How to save JPEG with thumbnails

2007-05-07 Thread Sven Neumann
Hi,

On Mon, 2007-05-07 at 11:37 +0200, Guillaume Bonillo wrote:

 I am new to scheme scripting.
 What i want to do is open pictures from a directory and apply a very 
 simple macro.
 
 I can do it manually with the following steps :
 - open image the_image.jpg.
 - save as  the_image_with_thumbnail.jpg
 - choose options : q = 0.85 , progressive, and default other options.
 - check the option : save thumbnail.
 - Click OK.
 - close image.

It's acutally a bad idea to do that. When you are opening a JPEG file
and saving it again as JPEG, you are recompressing it and this
recompression means a loss of quality. This can be avoided by using a
tool that manipulates the JPEG file without recompressing the image
data. Such tools are available and they can even rotate the image for
you without decompressing the image data. See for example exiv2
(http://www.exiv2.org/). The manual page says that it can insert
thumbnails.


Sven


___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] general, basic image properties

2007-05-07 Thread Michael J. Hammel
On Mon, 07 May 2007 13:39:02 -0500, Seb [EMAIL PROTECTED] wrote:
 How does one learn about basic image file properties like size and
 resolution in general.  I found an old thread here where the exif filter
 was mentioned, but I don't see this among the options in my Debian
 unstable gimp package.  In any case, IIUC, this would only work for jpeg,
 not for other formats.  Any pointers appreciated.

You can start with this:
http://www.faqs.org/faqs/graphics/fileformats-faq/part1/

Or the Encyclopedia of Graphics File Formats, if you can find it:
http://www.amazon.com/Encyclopedia-Graphics-Formats-James-Murray/dp/1565921615

Or you can try Graphics File Formats, Reference and Guide, Brown and
Shepherd (Manning Plublications), which is the one I started with though
I'm not sure if it's still in print:
http://www.manning.com/brown/

Hope that helps.
-- 
Michael J. HammelSenior Software Engineer
[EMAIL PROTECTED]   http://graphics-muse.org
--
Reintarnation: Coming back to life as a hillbilly. 

___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


[Gimp-user] hi, merge two jpg together, the 2nd one does not display

2007-05-07 Thread Suin Edit
Dear All

I just installed the GIMP on my windows box.  My task is simple, merging two 
jpg files together.

When I increase the canvas size and copy and paste the second jpg into the 
first one, there is only a dashed outline of the second picture.  I have no 
idea what's wrong. 

Could anyone help me?

Thanks.

Scott D.





 

Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.
http://autos.yahoo.com/new_cars.html 
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user