Gray scale Icons - Editor

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
Jim2007
Posts: 3
Joined: Fri Nov 25, 2011 10:22 pm

Gray scale Icons - Editor

Post by Jim2007 » Mon Dec 19, 2011 1:10 pm

Hi There,

Can someone recommend a simple editor for the Mac that I can use to convert colored Icons to gray scale for my disabled buttons? Thanks.

I've been searching for a while, but so far have not some up with a simple tool

Jim2007

sturgis
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1685
Joined: Sat Feb 28, 2009 11:49 pm

Re: Gray scale Icons - Editor

Post by sturgis » Mon Dec 19, 2011 3:14 pm

Its not really an external tool but.. If you look at this lesson http://lessons.runrev.com/s/lessons/m/4 ... Grayscale- it will explain how you can use livecode to convert an image to greyscale. Handy and educational too which is hard to beat.

Jim2007
Posts: 3
Joined: Fri Nov 25, 2011 10:22 pm

Re: Gray scale Icons - Editor

Post by Jim2007 » Wed Dec 21, 2011 10:02 pm

Thanks for the tip, I will look into it

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2729
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

Re: Gray scale Icons - Editor

Post by jmburnod » Wed Dec 21, 2011 11:10 pm

Hi Jim,

You can also use the blendLevel propertie like that

Code: Select all

on DisableBtn pBtn
   set the blendlevel of btn pBtn to 50
   disable btn pBtn
end DisableBtn

on EnableBtn pBtn
   set the blendlevel of btn pBtn to 0
   enable btn pBtn
end EnableBtn
Best regards

Jean-Marc
https://alternatic.ch

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7392
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: Gray scale Icons - Editor

Post by jacque » Thu Dec 22, 2011 8:43 pm

It's not a simple tool, but Graphic Converter is free and will convert an image to grayscale. You can ignore all the complexities and just choose a single submenu item to do it:

Picture -> Colors -> Grayscale
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

Jim2007
Posts: 3
Joined: Fri Nov 25, 2011 10:22 pm

Re: Gray scale Icons - Editor

Post by Jim2007 » Fri Dec 23, 2011 11:09 pm

Thanks for the tip. As of version 7 the converter is now a paid application... I tried the old version 6 and while it does convert the png files to gray, it also blows the transparent backgrounds... seems like running my old editor via Parallels is the way to go for now :(

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7392
Joined: Sat Apr 08, 2006 8:31 pm
Contact:

Re: Gray scale Icons - Editor

Post by jacque » Sat Dec 24, 2011 6:32 am

That's too bad, I didn't realize he'd changed the payment scheme. Version 6 should be fine though.

After converting to grayscale, choose the transparency tool from the tool palette (it looks like a magic wand over a big "T") and click in the background to reinstate transparency. Then save as a png file. I just tested it, and it works in version 6.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

Post Reply