It is currently Thu Apr 25, 2024 1:35 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 52 posts ]  Go to page 1, 2, 3  Next
Author Message
 Post subject: Colorize-Gimp win32 binary
PostPosted: Mon Apr 25, 2011 10:49 pm  (#1) 
Offline
GimpChat Member

Joined: Apr 25, 2011
Posts: 78
Location: Taiwan
colorize-gimp.zip

test on GIMP2.6.11 and GIMP2.7.2(32bits)

Image

Image


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: Colorize-Gimp win32 binary
PostPosted: Tue Apr 26, 2011 12:14 am  (#2) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12518
Cool James; I've seen this one many years ago, but knew no way to compile it at that time and pretty much forgot about this gem. Thanks for this one. Very much look forward to trying it out soon. Downloading it as I type this message now. :)

edit:

Just did a simple gradient blend and the plugin worked pretty cool. Now I'm waiting for a photo b/w test, but because I still have to paint, I won't actively search for one (since I'm lazy). lol

:)

gradient:
Attachment:
gradient.png
gradient.png [ 146.08 KiB | Viewed 7490 times ]


Color Source:
Attachment:
color_source.png
color_source.png [ 34.61 KiB | Viewed 7490 times ]


Result:
Attachment:
result.png
result.png [ 143.71 KiB | Viewed 7490 times ]

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: Colorize-Gimp win32 binary
PostPosted: Tue Apr 26, 2011 6:24 am  (#3) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
great plugin .thank a lot JamesH

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
 Post subject: Re: Colorize-Gimp win32 binary
PostPosted: Tue Apr 26, 2011 7:23 am  (#4) 
Offline
Global Moderator
User avatar

Joined: Oct 06, 2010
Posts: 4045
Does the Windows binary allow you to work on multiple images in one GIMP session? It won't allow you to do so in Ubuntu. I have to close GIMP and restart if I want to work on a separate image and this totally sucks.

_________________
"In order to attain the impossible, one must attempt the absurd."
~ Miguel de Cervantes


Top
 Post subject: Re: Colorize-Gimp win32 binary
PostPosted: Tue Apr 26, 2011 8:25 am  (#5) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
Website will not load for me.

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Colorize-Gimp win32 binary
PostPosted: Tue Apr 26, 2011 8:55 am  (#6) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
enable flash or java (now i don't remember which of the 2)

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
 Post subject: Re: Colorize-Gimp win32 binary
PostPosted: Tue Apr 26, 2011 9:06 am  (#7) 
Offline
GimpChat Member

Joined: Apr 25, 2011
Posts: 78
Location: Taiwan
mahvin wrote:
Does the Windows binary allow you to work on multiple images in one GIMP session? It won't allow you to do so in Ubuntu. I have to close GIMP and restart if I want to work on a separate image and this totally sucks.


if you compile yourself, you can add this line
colorizevals.marked_id = default_drawable->drawable_id;
to the file "colorize-plugin.c" as the following code show

static gboolean colorize_dialog(GimpDrawable *default_drawable)
{
   GtkWidget *dialog, *combo;
   GimpDrawable *marked;
   gint status;

   gimp_ui_init("colorize", TRUE);

   dialog = gimp_dialog_new(
      "Colorize", "colorize",
      NULL, 0,
      gimp_standard_help_func, "plug-in-colorize",
      GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
      GTK_STOCK_OK, GTK_RESPONSE_OK,
      NULL
   );

   gtk_container_set_border_width(GTK_CONTAINER(GTK_DIALOG(dialog)), 12);
   gtk_box_set_spacing(GTK_BOX(GTK_DIALOG(dialog)->vbox), 6);
   // add this line set marked_id to default to avoid get invalid id error
   if( !gimp_drawable_is_valid(colorizevals.marked_id) ) colorizevals.marked_id = -1;
   if (colorizevals.marked_id == -1)
      colorizevals.marked_id = default_drawable->drawable_id;
   marked = gimp_drawable_get(colorizevals.marked_id);
   if (!marked) return FALSE;


Last edited by JamesH on Tue May 31, 2011 8:23 pm, edited 1 time in total.

Top
 Post subject: Re: Colorize-Gimp win32 binary
PostPosted: Tue Apr 26, 2011 9:33 am  (#8) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
thank for the great tip, i can't compile for win but i may do on ubuntu

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
 Post subject: Re: Colorize-Gimp win32 binary
PostPosted: Tue Apr 26, 2011 9:39 am  (#9) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
PhotoComix wrote:
enable flash or java (now i don't remember which of the 2)

No PC it isn't my settings. The link is incorrect it should be
http://box.net/shared/jme52y9pab
not
http://www.box.net/shared/jme52y9pab

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Colorize-Gimp win32 binary
PostPosted: Tue Apr 26, 2011 10:07 am  (#10) 
Offline
GimpChat Member

Joined: Apr 12, 2010
Posts: 5870
i downloaded before from the first link, most browsers should see both as alias

As even this should work from most browser www.box.net/shared/jme52y9pab

_________________
My 3D Gallery on Deviantart http://photocomix2.deviantart.com/
Main gallery http://www.flickriver.com/photos/photocomix-mandala/
Mandala and simmetry http://www.flickriver.com/photos/photocomix_mandala/

Image

Mrs Wilbress


Top
 Post subject: Re: Colorize-Gimp win32 binary
PostPosted: Tue Apr 26, 2011 12:18 pm  (#11) 
Offline
GimpChat Member
User avatar

Joined: Oct 07, 2010
Posts: 439
Location: home/Nixnine/.gimp-2.0/scripts/nixnine.scm
Is this available for linux?

_________________
I refuse to be confused, but am often confused at this refusal.


Top
 Post subject: Re: Colorize-Gimp win32 binary
PostPosted: Tue Apr 26, 2011 12:57 pm  (#12) 
Offline
GimpChat Member
User avatar

Joined: Apr 18, 2011
Posts: 619
Location: New York
Rod wrote:
PhotoComix wrote:
enable flash or java (now i don't remember which of the 2)

No PC it isn't my settings. The link is incorrect it should be
http://box.net/shared/jme52y9pab
not
http://www.box.net/shared/jme52y9pab

I can access both links in Opera (Ubuntu)

_________________
Ubuntu 22.04, Kernel i686, 5.4.0-131-generic
python3 v3.10.6 ----- GIMP - ver 2.10.30


Top
 Post subject: Re: Colorize-Gimp win32 binary
PostPosted: Tue Apr 26, 2011 2:31 pm  (#13) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
Probably just my browser cache or something similar.
I can not get the plug-in to work anyways.
I opened an image
desaturated it
made sure it was still RGB mode
Then i created a new layer did my painting of color lines where i wanted each color
Selected the image layer
Ran the filter Colors/Colorization
Selected the painted new layer from the dialog
Clicked ok
I got a crash the first time (image was pretty big though) 2600x2600 pixels
Second time the plug-in itself crashed
Third time some other plug-in dvw something exe crashed and so i gave up.
I have no idea if i am running it correctly either.I got the directions from the original site.
All help appreciated

Perhaps it only works on grayscale images in RGB mode?

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Colorize-Gimp win32 binary
PostPosted: Tue Apr 26, 2011 3:16 pm  (#14) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12518
All I did was create a transparent layer and painted over the top of the base layer then selected the base layer and ran the filter. Had no problem at all Rod. Maybe it requires that the source (b/w) layer have no alpha channel or something like that. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: Colorize-Gimp win32 binary
PostPosted: Tue Apr 26, 2011 3:38 pm  (#15) 
Offline
Global Moderator
User avatar

Joined: Oct 06, 2010
Posts: 4045
Quote:
if you compile yourself, you can add this line
colorizevals.marked_id = default_drawable->drawable_id;
to the file "colorize-plugin.c" as the following code show


My file has that line included and still will not allow you to work on a separate image without closing and restarting GIMP. Hmmmm...

Image

On a whim, I tried opening GIMP in terminal to see what the errors produced, and it works fine in terminal. I've just managed to work on 4 different images, but when I run GIMP on its own, it produces those errors (shown above) when I attempt to work on a different image from the very first image I work on. Weirdness!

_________________
"In order to attain the impossible, one must attempt the absurd."
~ Miguel de Cervantes


Top
 Post subject: Re: Colorize-Gimp win32 binary
PostPosted: Tue Apr 26, 2011 4:23 pm  (#16) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2246
Location: Poland
lylejk wrote:
All I did was create a transparent layer and painted over the top of the base layer then selected the base layer and ran the filter. Had no problem at all Rod. Maybe it requires that the source (b/w) layer have no alpha channel or something like that. :)


This filter works only when there is no alpha channel


Attachments:
colorize 1.png
colorize 1.png [ 42.09 KiB | Viewed 2160 times ]
colorize 2.png
colorize 2.png [ 29.25 KiB | Viewed 2160 times ]
colorize 3.png
colorize 3.png [ 17.24 KiB | Viewed 2160 times ]

_________________
Image

Slava
Ukraini!
Top
 Post subject: Re: Colorize-Gimp win32 binary
PostPosted: Tue Apr 26, 2011 5:10 pm  (#17) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12518
Made the right guess then. Glad you went through the excercise Marero. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: Colorize-Gimp win32 binary
PostPosted: Tue Apr 26, 2011 5:47 pm  (#18) 
Offline
GimpChat Member
User avatar

Joined: Apr 18, 2011
Posts: 619
Location: New York
nixnine wrote:
Is this available for linux?

yeah, is this already in the linux version or is it available??

_________________
Ubuntu 22.04, Kernel i686, 5.4.0-131-generic
python3 v3.10.6 ----- GIMP - ver 2.10.30


Top
 Post subject: Re: Colorize-Gimp win32 binary
PostPosted: Tue Apr 26, 2011 6:00 pm  (#19) 
Offline
GimpChat Member
User avatar

Joined: Apr 22, 2010
Posts: 123
Version for Linux http://zenthought.org/content/project/colorize

_________________
Image


Top
 Post subject: Re: Colorize-Gimp win32 binary
PostPosted: Tue Apr 26, 2011 6:05 pm  (#20) 
Offline
Global Moderator
User avatar

Joined: Oct 06, 2010
Posts: 4045
Read here about Linux version (be sure to read ALL the comments in this thread, BEFORE compiling):

http://www.gimpchat.com/viewtopic.php?f ... t=colorize

_________________
"In order to attain the impossible, one must attempt the absurd."
~ Miguel de Cervantes


Top
Post new topic Reply to topic  [ 52 posts ]  Go to page 1, 2, 3  Next

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts G'Mic colorize interactive problem

2

No new posts GMIC colorize(interactive) achieve silver

1

No new posts Printing from Gimp - Using win32 Application

1



* Login  



Powered by phpBB3 © phpBB Group