Image.Save - Conversion from PNG to JPG

S

Sam Martin

Hi all,

got a problem when converting a PNG to a JPG using the Image.Save(stream,
format) method.

When I save the original PNG to a file and open it, it's fine. I then save
it to a database, retrieve it and Save it as a JPG format and most of the
image is fine except a large black band at the bottom of the image.

What can i do?

TIA

Sam Martin

ps. i've check to make sure it's not any problem due to the storage of the
data in the database. After it's retrieved, and saved as PNG, it's still
fine.
 
S

Sam Martin

actually, ignore that last bit. it is due to the conversion to and from the
database

has anyone got an example of how to store and retrieve an image from an
access database.

tia

sam
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top