rodchar said:
totally different, thanks for remembering though.
As you used the same useless subject, the message turned up in the same
thread... :/
no, this is a plain .aspx
page where i'd like to get a .png to overlay a .jpg. Let me tell you why i'm
trying to do this. the .jpg is just a picture of a product. i created a .png
image that has a sold tag on it and when i copy the .png over to the .jpg
using paint and save it, it kinda degrades my .png image.
You can load the JPEG and PNG images into bitmap objects, paint the PNG
image on the JPEG image, and save it. There are some properties in the
Graphics object (used for drawing on the image) you can set to affect
the quality of drawing.
The sold tag will degrade somewhat when you save the image, as JPEG uses
lossy compression. If you use an alpha channel in the PNG image so that
it can blend nicely when you draw it, the degradation should hardly be
noticable, though.