Thread: Image Masker
View Single Post
  #12  
Old 12-08-2014, 07:29
altef_4's Avatar
altef_4 altef_4 is offline
Registered User
 
Join Date: Mar 2012
Location: Ukraine
Posts: 361
Thanks: 248
Thanked 1,022 Times in 239 Posts
altef_4 is on a distinguished road
Wink

Quote:
Originally Posted by Razor12911 View Post
Thanks Grumpy. These days I don't care about what people say anymore.

KaktoR Thanks for your concern about the program. You can use the sensitivity bar to detect semi- transparent regions, if the sensitivity is high then even semi transparent regions will be black but if it is low then transparent regions will be white.

the sensitivity bar is made for transparency.

later guys...

will create progressbar and checkbox creator at a later stage. I think I can pronounce myself as a 17 year old programmer. .

I will try my best to make this forum the future I guess,

@jamel2013

the form and png must be the same width and height else that will happen.
little proposition for your program, you can do it without sensitivity gauge, just check every pixel for alpha (if < 255 then mask pixel will be black(or white) in other way mask pixel will be white (or black). as you may know, to create ideal mask for inno, you must make some steps:
-png and bmp must be the same size.
-all pixels with opacity less then 255 must by black(or white) and all others white (or black)
-bmp format must be monochrome

if you don't know where to start - search png alphascanline
i hope i help you.
Reply With Quote
The Following 4 Users Say Thank You to altef_4 For This Useful Post:
Andrey167 (12-08-2014), Dante1995 (12-08-2014), Grumpy (12-08-2014), houcine80 (14-08-2014)