[Gimp-user] exif

2007-09-11 Thread norman
Is there some way I can obtain the exif information of a photograph
using Gimp, please?

Norman

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


[Gimp-user] color pick up tool

2007-09-11 Thread Bettina Lechner
hi all, 

one more question:
 
the new color pick up tool (pipette) which is now available in the color
selector reacts very strange. look at this:

http://www.newhouse.at/messen.jpg

I click on the pipette, click on the picture and get a very different
foreground-color (look at the actual color - this is supposed to be the
color in the picture, which is green)

what's wrong with it?

thanks tina



-- 

newhouse -  new media
Bettina Karena Lechner
neue str 16, 2565 neuhaus
austria

mobil: +43 660 46 25 0 25
tel.: +43 26 74 878 72
fax: +43 2674 878 81
mailto:[EMAIL PROTECTED]
www.newhouse.at
---
Der Anfang ist die Hälfte des Ganzen.
Aristoteles (384 - 322 v. Chr)


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


[Gimp-user] color pick up tool

2007-09-11 Thread Bettina Lechner
ups sorry: 
I am using:

mac osx 10.4.
gimp 2.4 rc 1.0



hi all, 

one more question:
 
the new color pick up tool (pipette) which is now available in the color
selector reacts very strange. look at this:

http://www.newhouse.at/messen.jpg

I click on the pipette, click on the picture and get a very different
foreground-color (look at the actual color - this is supposed to be the
color in the picture, which is green)

what's wrong with it?

thanks tina



-- 

newhouse -  new media
Bettina Karena Lechner
neue str 16, 2565 neuhaus
austria

mobil: +43 660 46 25 0 25
tel.: +43 26 74 878 72
fax: +43 2674 878 81
mailto:[EMAIL PROTECTED]
www.newhouse.at
---
Der Anfang ist die Hälfte des Ganzen.
Aristoteles (384 - 322 v. Chr)


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


Re: [Gimp-user] exif

2007-09-11 Thread Johan Vromans
norman [EMAIL PROTECTED] writes:

 Is there some way I can obtain the exif information of a photograph
 using Gimp, please?

Not as far as I know (but my knowledge may be slightly outdated) but
there are many tools easily installable that will tell you everything
that's in the exif.

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


[Gimp-user] get raw histogram data for image, not just statistics

2007-09-11 Thread phil laks
Hi, 
 I would like to use the perl interface to automate processing of black and 
white images. I would like to set a threshold for white vs black on the images 
based 
 upon the histogram without 
 physically looking at each image. I dont want to do it  using the gimp-gui. 
 I would like to get an array consisting of the histogram 
 hist[i] = count of pixels in image with intensity i. 
 
however the only function i see in the PDB is 
 (mean,std_dev,median,pixels,count,percentile) = gimp_histogram 
 (drawable,channel,start_range,end_range) 
 which would require 256 calls of this function to get the data. Is 
 there another function that can return an array of the histogram? 
 
My goal is to use the histogram to pick a threshold between gray 
 background and text on a jpg image of a book page that I make a 
 picture of with my digital camera. 
 
Thanks 
 Mitchell

I also posted this to usenet gimp group. I dont know how to avoid cross posting 
this. 
 
   
-
Be a better Heartthrob. Get better relationship answers from someone who knows.
Yahoo! Answers - Check it out. ___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] exif

2007-09-11 Thread norman

  Is there some way I can obtain the exif information of a photograph
  using Gimp, please?
 
 Not as far as I know (but my knowledge may be slightly outdated) but
 there are many tools easily installable that will tell you everything
 that's in the exif.

My research has also led me to believe that there is no way to get the
info in Gimp. Which tools would you recommend please?

Norman

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


Re: [Gimp-user] exif

2007-09-11 Thread Jeffery Small
norman [EMAIL PROTECTED] writes:


  Is there some way I can obtain the exif information of a photograph
  using Gimp, please?
 
 Not as far as I know (but my knowledge may be slightly outdated) but
 there are many tools easily installable that will tell you everything
 that's in the exif.

My research has also led me to believe that there is no way to get the
info in Gimp. Which tools would you recommend please?

I recomment exiftool by Phil Harvey.  You can get this at:

http://owl.phy.queensu.ca/~phil/exiftool/

Regards,
-- 
Jeffery Small

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


Re: [Gimp-user] exif

2007-09-11 Thread norman

 
 I recomment exiftool by Phil Harvey.  You can get this at:
 
   http://owl.phy.queensu.ca/~phil/exiftool/
 
Thanks.

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


Re: [Gimp-user] Create layered animation from a tiled animation.

2007-09-11 Thread Brian Vanderburg II

[EMAIL PROTECTED] wrote:

Quoting Brian Vanderburg II [EMAIL PROTECTED]:

  

Out of need I created a script and finally got it working even on 2.3.18.

Normally an animation is either done as one layer for each frame or
using GIMP Animation Package one file per frame.  With the first
method, it is not possible to have multiple layers per frame since a
layer is a frame.  With the second, multiple files must be kept.  While
GAP is good, for simple animations it would be easier to just store
each frame in one image side by side.



I would propose you consider modifying your script to handle the more  
generic case of multiple rows of tiles. Your dialog would need an  
additional entry for Tile Height and could provide a Use image  
height (ie, Single Row) checkbox for convenience.





___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user
  
I've made those changes and more.  It supports frame width (0 for image 
width), frame height (0 for image height) frame count (0 for rows * col) 
in case there are 3x3 rows but only say 7 frames, and direction (left to 
right then top to bottom or top to bottom then left to right).


It may only work with gimp 2.3+ since it uses the function 'floor' and I 
don't know if gimp 2.2 has it.


I have attached it here if anyone is interested and I will try and 
submit it to the register.
;; tile2anim.scm -*-scheme-*-
;; Converts a tiled animation to a layered animation
;; A tiled animation is one where each frame of the animation
;; is tiled across the image horizontally.  For example,
;; a 48x48 30 frame animation would be an image with the
;; size 1440x48.  Frame 1 is at (0,0)-(47,47), 2 at (48,0)-(95,47)
;; and so on
;; 
;; Version 1.2
;;
;; Copyright (C) 2007 by Brian Vanderburg II
;; [EMAIL PROTECTED]
;; 
;; This program is free software; you can redistribute it and/or
;; modify it under the terms of the GNU General Public License
;; as published by the Free Software Foundation; either version 2
;; of the License, or (at your option) any later version.
;; 
;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;; GNU General Public License for more details.
;; 
;; You should have received a copy of the GNU General Public License
;; along with this program; if not, write to the Free Software
;; Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
;;

; Internal function to create the layered animation
(define (script-fu-tile2anim img drw frameWidth frameHeight frameCount 
frameDirection)

  (let*
(
  (theWidth)
  (theHeight)
  (theCols)
  (theRows)
  (theCol)
  (theRow)
  (theImage)
  (theLayer)
  (framePos)
  (tmpLayer)
)

; get image information
(set! theWidth (car (gimp-image-width img)))
(set! theHeight (car (gimp-image-height img)))

; create new image and layer
(set! theImage (car (gimp-image-new theWidth theHeight RGB)))
(set! theLayer (car (gimp-layer-new theImage theWidth theHeight RGBA-IMAGE 
TMP 100 NORMAL-MODE)))

(gimp-image-add-layer theImage theLayer 0)
(gimp-drawable-fill theLayer TRANSPARENT-FILL)

; copy visible portion of image
(gimp-selection-none img)

(if (= (car (gimp-edit-copy-visible img)) TRUE)
  (begin
(gimp-rect-select theImage 0 0 theWidth theHeight CHANNEL-OP-REPLACE 0 
0)
(gimp-floating-sel-anchor (car (gimp-edit-paste theLayer FALSE)))
  )
)

; frame width
(if (= frameWidth 0) (set! frameWidth theWidth) )

; frame height
(if (= frameHeight 0) (set! frameHeight theHeight) )

; number of columns and rows
(set! theCols (floor (/ theWidth frameWidth)) )
(set! theRows (floor (/ theHeight frameHeight)) )

; number of frames
(if (= frameCount 0)
  (set! frameCount (* theCols theRows))
  (if ( frameCount (* theCols theRows)) (set! frameCount (* theCols 
theRows)))
)

; process frames
(set! framePos 0)
(set! theCol 0)
(set! theRow 0)

(while ( framePos frameCount)

  ; create new layer and add it to image
  (set! tmpLayer (car (gimp-layer-new theImage frameWidth frameHeight 
RGBA-IMAGE Layer 100 NORMAL-MODE)))
  (gimp-image-add-layer theImage tmpLayer -1)
  (gimp-drawable-fill tmpLayer TRANSPARENT-FILL)
  
  ; copy
  (gimp-rect-select theImage (* theCol frameWidth) (* theRow frameHeight) 
frameWidth frameHeight CHANNEL-OP-REPLACE 0 0)
  
  (if (= (car (gimp-edit-copy theLayer)) TRUE)
(begin
  (gimp-rect-select theImage 0 0 frameWidth theHeight 
CHANNEL-OP-REPLACE 0 0)
  (gimp-floating-sel-anchor (car (gimp-edit-paste 

[Gimp-user] make image tileable

2007-09-11 Thread Alan Wolfe
Hey guys,

Is there some way in gimp to take a generic image and make it
tileable?  I thought there was something in one of the menus but i
can't find it anymore ... ):
___
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user


Re: [Gimp-user] make image tileable

2007-09-11 Thread David Gowers
filters-map-make seamless

On 9/12/07, Alan Wolfe [EMAIL PROTECTED] wrote:
 Hey guys,

 Is there some way in gimp to take a generic image and make it
 tileable?  I thought there was something in one of the menus but i
 can't find it anymore ... ):
 ___
 Gimp-user mailing list
 Gimp-user@lists.XCF.Berkeley.EDU
 https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user

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


[Gimp-user] 262K color palette for TFT

2007-09-11 Thread Francois du Toit
I want to optimize images for display on a cellphone with a 262K color 
(18bit) TFT screen.
What's the easiest way to do this in gimp?

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


Re: [Gimp-user] 262K color palette for TFT

2007-09-11 Thread David Gowers
I made a plugin to do this myself; it's fairly simple to script.

This is what is involved in optimizing for 18bit:

First, make a 64color palette; this will be a gray gradient from black
to white, matching the intensities displayable on the TFT. The easiest
way to do this is to reset FG/BG colors to default, and import the
palette from the gradient 'FG to BG (RGB)' with 'number of colors' ==
64.

For each image:
* Decompose the image (Colors-components-decompose, choose RGB)
* Indexize the resulting image to your pre-made palette, with
dithering (you may want to experiment with different dithering
methods; I personally prefer 'positional'/'fixed' because it is
predictable.)
* Recompose the resulting image (Colors-components-recompose)
* Close the 'work' image. The original image is now optimized for
18bit. You should be aware that the dithering will make the image
harder to compress.

If you just want a quick preview of the image using 18bit:
* Colors-Posterize, select 64 levels of posterization.
* If you don't want dithering, performing that step is all you need to
throw away any data that is meaningless for 18bit display, so the
image will compress better.

Note: the above workflows are for 2.4rc2. If you are using a
significantly earlier version of the GIMP, the decompose and recompose
filters are instead found somewhere in a submenu of the 'Filters'
menu.

On 9/11/07, Francois du Toit [EMAIL PROTECTED] wrote:
 I want to optimize images for display on a cellphone with a 262K color
 (18bit) TFT screen.
 What's the easiest way to do this in gimp?

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