Link to home
Start Free TrialLog in
Avatar of wainc18
wainc18

asked on

convert tiff file to jpeg file

Can anyone please help me to get some sourcecode in vb or c++ on how to convert tiff file to jpeg file.
Avatar of TheRedGuy
TheRedGuy

I believe that VB PictureBoxes will allow the loading of tiff images. So, once you have the handle to the device context, all you need is some code to write out the file as a jpeg.

I believe there's some code at the end of this link that should help...

www.vbaccelerator.com/codelib/gfx/vbjpeg.htm

Good luck....
ASKER CERTIFIED SOLUTION
Avatar of dgorin
dgorin

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Do  you  have   a photo manipulation package  such  as  phtotshop  or  corel  photopaint? (Of any  othr  of dozens  of  such  packages)
Normally  you  just  open  your  Tiff  into  these packages, go  -File - Save AS-  and  teh  Save  as  panel  which opens offers  a  whole  range  of  options  from  JPEG  to  Tif  to Gif.  You  select  waht  suit  you and  it's  saved  to  a seperate  file  still  leavign  your  Tiff  in reserve.