Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

can't fugure out how to use Graphics::RGBManipulate

Status
Not open for further replies.

NateBro

Programmer
Sep 1, 2004
233
US
the only code given is:
Code:
 use Graphics::RGBManipulate;
        
        my ($red, $green, $blue) = Graphics::RGBManipulate::tweak(
                hue => 40,
                red => 255,
                green => 0,
                blue => 0
        ); # Changes the colour RGB(255, 0, 0) into bright orange
        
        my $hex_string = Graphics::RGBManipulate::tweak(
                hex => $old_hex_string,
                saturation => 0
        ); # Returns what $old_hex_string would be as greyscale

the link to the page is,

I'm not sure how i'm supposed to use this script to edit a picture, and i searched cpan, and google, but i could not find anything on it.


if any of you know how to take an image, adjust the Hue and print it out, please let me know,

thanks soooo much for your time!
Nate_Bro
 
I have never seen this module. I imagine you might get more help with PerlMagick - but i could be mistaken!


Kind Regards
Duncan
 
i have never used PerlMagick, but i guess i'll take a look at it.

Thanks,
Nate_Bro
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top