Skin question - How to get transparency?
Started by Dracula


Rate this topic
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5


5 posts in this topic
Dracula
Senior Member
****


0
407 posts 28 threads Joined: Dec 2002
02-09-2004, 04:24 PM -
#1
When I edit the png files of a certain skin, and save the new png (with one transparent color), there's always some sort of dark shadow in the background. I'm using Hypersnap to paint and edit the images.

How do you professional skinners get a transparent image? Big Grin

In the screenshot below I set the background color of the system monitor to 'transparent' and replaced the png file...

(Btw, also notice how system monitor draws *outside* its canvas on the right, I always have ghost pixels there... Edit: ok, this was easily fixed in the ini file)
Windows 7, IE 9.0, Shell 6.0.6000.16386, TLB 4.2.3 beta
Yuri Kobets
Posting Freak
*****


10
6,208 posts 429 threads Joined: Jan 2002
02-09-2004, 05:51 PM -
#2
I see you take numbers from other skin? That numbers have shadows so you get them too Wink
The TORDEX Team
http://www.tordex.com
shapeshifter
Senior Member
****


0
658 posts 24 threads Joined: Sep 2002
02-09-2004, 06:46 PM -
#3
PNG transparency is different from GIF transparency. You can't just set a color as transparent in a PNG like you can with a GIF. To achieve the effect you want in a PNG, you have to actually erase the background pixels. Most programs use a checkerboard or cross-hatch pattern to indicate these "null" pixels. I've never used Hypersnap, so I can't give you specifics, but there are several ways to do this with Paint Shop Pro and Photoshop. Do you have one of those?
shapeshifter
Senior Member
****


0
658 posts 24 threads Joined: Sep 2002
02-09-2004, 06:51 PM -
#4
Alternately, if you can't figure out how to do it in Hypersnap, and don't have PSP or Photoshop, you can email me your background PNG file and I'll convert it for you.
Dracula
Senior Member
****


0
407 posts 28 threads Joined: Dec 2002
02-10-2004, 01:13 AM -
#5
Ok, thanks for the explanation so far!

Yuri, what numbers are you referring to? The system monitor is the line graph in the middle Wink

I'm wondering what's happening now then. The program allows me to mark one color as transparent, and save it to transparent png. And in fact, if I paint the background magenta and mark that color as transparent, only that gray shade appears....

I bet png transparency is a bit more advanced, and I'm actually defining some kind of [ringing terms]alpha-blend subpixel transparency mask[/ringing terms]?

Let me see if I can find a nice editor for PNG files myself before I come to you for help each time :p However, thanks a lot for the offer!
Windows 7, IE 9.0, Shell 6.0.6000.16386, TLB 4.2.3 beta


Forum Jump:


Users browsing this thread: 2 Guest(s)