Re: Converting Gray-scale Images to Color

2000-03-30 Thread Jon Winters

Rick Rosinski wrote:
> 
> Is there any way to convert gray-scale images to color?

Yep!

> Is there any software out there that can do this?

If you've got one of the newer 1.1.x versions of Gimp you already have
the software.
Here is a quickie intro to how its done.

First you'll need your greyscale image and another image that you're
going to get colors from.  

Convert the greyscale image to RGB 

Select an area from the color image, this will be the source for the
color in your colorized image.

Now right mouse click on the image to be colorized and select Filters >
Colors > Map > Sample Colorize.

You'll get a dialogue window where you can select the source and target
and adjust colors and stuff.  When the preview looks like it might work
click Apply and be amazed as your image is colorized.

This filter is a LOT of fun and I think you'll be surprised by the
results. If you do a good job of selecting the source colors you can get
some incredible results.  

Enjoy!
--
Jon Winters  http://www.obscurasite.com/jon/

   "Everybody Loves The GIMP!"
  http://www.gimp.org/



Re: Converting Gray-scale Images to Color

2000-03-30 Thread pixel fairy

> On Thu, 30 Mar 2000, Rick Rosinski wrote:
>
> > Is there any way to convert gray-scale images to color?
> > Is there any software out there that can do this?
> > I know that it takes more to convert to color than it does to grayscale, and
> > that makes me wonder if it is even possible.

best you can do is promote the mode (greyscale->rgb) and start coloring in.
quickmask, wand,  channels are good things. so is painting with the brush
mode (in the brushes window) set to hue or color.


__
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com



Re: Converting Gray-scale Images to Color

2000-03-30 Thread Amy


Do you mean you want to change color modes from greyscale to rgb?  Or do
you want software that colors an image in?  I don't know that you can
automatically do that.  When you convert to greyscale, you are loosing all
the color info.

On Thu, 30 Mar 2000, Rick Rosinski wrote:

> Is there any way to convert gray-scale images to color?
> Is there any software out there that can do this?
> I know that it takes more to convert to color than it does to grayscale, and
> that makes me wonder if it is even possible.
> 
> 
> -- 
> Rick Rosinski
> http://www.rickrosinski.com
> [EMAIL PROTECTED]
> 

--Ames
--
   "Fine!  Then I'm just gonna take my laptop and go home!!!"
Amy L. Abascal  [EMAIL PROTECTED]
Web Design Chic, VA Linux Systems  www.valinux.com
Web Design Chic, Silicon Valley Linux Users Groupwww.svlug.com
--





Converting Gray-scale Images to Color

2000-03-30 Thread Rick Rosinski

Is there any way to convert gray-scale images to color?
Is there any software out there that can do this?
I know that it takes more to convert to color than it does to grayscale, and
that makes me wonder if it is even possible.


-- 
Rick Rosinski
http://www.rickrosinski.com
[EMAIL PROTECTED]



Re: Script-Fu beginner...

2000-03-30 Thread Christian Schlange

Hi Fabio,

>  I'm wondering how do I know which is the reference to the background
>  layer of a image that I've just opened. I think that my error is
>  occurring when I try to pass the drawable references to the
>  gimp-edit-copy/paste functions. I simple passed "0" (I don't know any
>  reference, so I thought that "0" would refer to first layer in the
>  stack), but it's not working...

Register the function like:

(script-fu-register
"script-fu-selection-split-image"
"/Script-Fu/Selection/Split An Image"
"description ..."
"author "
"."
"03/09/2000"
"RGB* GRAY*"
SF-IMAGE "Image" 0
SF-DRAWABLE "Drawable" 0
more parameters 

and define it as:

(define (script-fu- image drawable ... more parameters)

Then you get a reference to the active layer, called drawable ...
You simple pass 'drawable' to all the functions then. Was this 
your problem ?

Bye,
Christian 





Script-Fu beginner...

2000-03-30 Thread Fábio Sato

Hi people,

I'm beginning to work with script-fu and I'm having a little difficulty
to load two images and paste one into other.

I'm wondering how do I know which is the reference to the background
layer of a image that I've just opened. I think that my error is
occurring when I try to pass the drawable references to the
gimp-edit-copy/paste functions. I simple passed "0" (I don't know any
reference, so I thought that "0" would refer to first layer in the
stack), but it's not working...

This is what I've tried:

;;
(define (teste fileImg1 fileImg2)
  (let*
(
  (img1)
  (img2)
)

  ; Ahh! Other question: what is the difference between these guys?
  ; -
  ; --/
  ; ||

  (set! img1 (car (gimp-file-load 0 fileImg1 fileImg1)))
  (set! img2 (car (gimp-file-load 0 fileImg2 fileImg2)))
 
  (gimp-edit-copy img1 0)
  (gimp-edit-paste img2 0 TRUE)
 
  (gimp-display-new img2)
  )
)
 
(script-fu-register
  "teste"
  "/Xtns/Script-Fu/Teste/Teste"
  "Teste"
  ""
  ""
  ""
  ""
 
  SF-VALUE "Image 1: " "\"mapafinal.jpg\""
  SF-VALUE "Image 2: "
"\"manha.gif\""  
)


Thanks
-- 
Fábio Sato - [EMAIL PROTECTED]



Re: text layer manipulations

2000-03-30 Thread Stephan Skrodzki

> The only problem is that the text from different buttons end up
> looking wrong depending on what characters are in each text string.
> Ie, whether the characters have any decenders or ascenders.

What I do in my scripts is getting the size of the text first via 
get_text_extends. You could find the baseline for the whole alphabet by 
getting the height of all possible chars. To center the box horizontal you 
have to get the extends for each string itself...

This works fine for me. Sorry, I could not give you an example, as I am doing 
something little bit different from producing buttons... you could find the 
code on http://www.stevekist.de/software.html

Regards
 Steve




Re: Sane - Mustek scanner

2000-03-30 Thread [EMAIL PROTECTED]

there is a kernel patch for mustek scsi scanner in this directory.
 
ftp://ftp.mostang.com/pub/sane/

maybe this can help you.

s@m