Search the web
Sign In
New User? Sign Up
gdal-vb6-appdev · GDAL VB6 Application Development
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
vb6 GDAL create JPEG Image   Message List  
Reply | Forward Message #43 of 90 |
Re: [gdal-vb6-appdev] vb6 GDAL create JPEG Image

geosetdelvinu wrote:
>
>
> Hello
> Is there a way to create JPEG or GIF images using GDAL from within vb6?
> Thanks in advance


Michael,

Yes.

The tutorial http://www.gdal.org/vb6_tutorial.html seems to cover use
of Create() and CreateCopy() adequately. The only tricky aspect of GIF
and JPEG is that the drivers don't support Create(), so you need to first
create the dataset you want in another format (perhaps MEM format - the all
in memory driver) and then use CreateCopy() to compress to the GIF or JPEG
format.

Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam@...
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | President OSGeo, http://osgeo.org




Sun Apr 20, 2008 2:17 pm

nfwarmer
Offline Offline
Send Email Send Email

Forward
Message #43 of 90 |
Expand Messages Author Sort by Date

Hello Is there a way to create JPEG or GIF images using GDAL from within vb6? Thanks in advance Michael Salahori...
geosetdelvinu
Offline Send Email
Apr 19, 2008
6:36 pm

... Michael, Yes. The tutorial http://www.gdal.org/vb6_tutorial.html seems to cover use of Create() and CreateCopy() adequately. The only tricky aspect of GIF...
Frank Warmerdam
nfwarmer
Offline Send Email
Apr 20, 2008
2:18 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help