is there a way to find out the level of transparency in a png?

  • 6 Replies
  • 4916 Views
*

Offline Headgrinder

  • 901
  • 35
  • Smart Steel Polisher
    • View Profile
    • www.matthewepperson.wordpress.com
Subject says it.  I'm working with gimp on tilesets for my next ks level, which uses further modifications of those I used in White City and Vague Feeling.  I've got a finished tileset that I don't want to modify, but I can't seem to match the transparency level on it with a second and third tileset I'm making to compliment it.  I always seem a few shades off.

Re: is there a way to find out the level of transparency in a png?
« Reply #1 on: May 27, 2012, 17:12:15 »
I'm not a big fan of GIMP but if someone is and knows an easy GIMP-related solution to this, fine, but in this I'd suggest using Paint.NET as you could simply use the color picker tool on whatever transparent color you want to copy and it would give you and let you work with the the transparent color in it's particular alpha setting.
SG's difficult KS levels:
Very Hard: Dark Sea, Industral Trap.
Lunatic: Dark Sea 2, Going Left.
Very Lunatic: Safety 1, 2, and 3.
Misc: AdvancedAmidst the Clouds, Candy Town.

*

Offline Headgrinder

  • 901
  • 35
  • Smart Steel Polisher
    • View Profile
    • www.matthewepperson.wordpress.com
Re: is there a way to find out the level of transparency in a png?
« Reply #2 on: May 27, 2012, 17:55:52 »
Ok, that is a good solution.  I've used paint.net before, but for some reason its layout didn't jive with me.  I'll try it for this problem though.  Thanks!

EDIT:  grrr.... yeah, I can't figure out how to do anything with paint.net.  I should be able to select all the tiles I want, delete them, then re-fill with the correct transparency and color.  I'm just using single colored transparent tiles cut into various shapes.  Instead, it deletes the marque selection.   :sick:

I'll keep trying, but if anyone has another suggestion, please let me know. 

*

Offline ixMarcel

  • 357
  • 70
  • I'll get you during my next save game!
    • View Profile
Re: is there a way to find out the level of transparency in a png?
« Reply #3 on: May 27, 2012, 20:02:01 »
Och... i want to help you and I'm very good at GIMP, but I'm not very good at English, so I don't understand 100% of the problem...
« Last Edit: May 27, 2012, 20:04:05 by ixMarcel »

Re: is there a way to find out the level of transparency in a png?
« Reply #4 on: May 27, 2012, 20:29:19 »
Ok, that is a good solution.  I've used paint.net before, but for some reason its layout didn't jive with me.  I'll try it for this problem though.  Thanks!

EDIT:  grrr.... yeah, I can't figure out how to do anything with paint.net.  I should be able to select all the tiles I want, delete them, then re-fill with the correct transparency and color.  I'm just using single colored transparent tiles cut into various shapes.  Instead, it deletes the marque selection.   :sick:

I'll keep trying, but if anyone has another suggestion, please let me know. 

Why even select them? Just use the fill tool on all the wrongly colored stuff. Just pick the fill tool, set the tolerance to zero, set blending to overwrite, then just shift-fill in.

If you want I could just fix up the tilesets for you. Wouldn't be a problem.
SG's difficult KS levels:
Very Hard: Dark Sea, Industral Trap.
Lunatic: Dark Sea 2, Going Left.
Very Lunatic: Safety 1, 2, and 3.
Misc: AdvancedAmidst the Clouds, Candy Town.

*

Offline egomassive

  • 1850
  • 250
    • View Profile
    • egomassive games
Re: is there a way to find out the level of transparency in a png?
« Reply #5 on: May 27, 2012, 21:12:46 »
To answer your original question: In Gimp, hold shift when you left click with the color picker tool. An info window will appear that tells you everything about that color including the alpha.