Image.Save - Conversion from PNG to JPG

  • Thread starter Thread starter Sam Martin
  • Start date Start date
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.
 
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
 
Back
Top