[gdal-dev] JPEG format.
Martin Chapman
chapmanm at pixia.com
Wed Jul 29 13:56:04 EDT 2009
Use:
if (!pDriver->TestCapability(ODrCCreateDataSource))
to test create capabilties of the driver.
I think jpeg driver only supports CreateCopy().
You could use the Memory dataset to create a different size dataset and then
use the jpeg driver to save it to disk.
Martin
From: gdal-dev-bounces at lists.osgeo.org
[mailto:gdal-dev-bounces at lists.osgeo.org] On Behalf Of Belaid MOA
Sent: Wednesday, July 29, 2009 11:45 AM
To: gdal-dev at lists.osgeo.org
Subject: [gdal-dev] JPEG format.
Hi Everyone,
When I try to use GDALCreate() on the JPEG driver, I got the following
error: "GDALDriver::Create() ... no create method implemented for this
format."
Does is this mean that JPEG driver does not have its GDALCreate() function
implemented? Any example on how to use JPEG driver is appreciated.
As always, any help on this is very appreciated.
With best regards.
~Belaid
_____
Stay in the loop and chat with friends, right from your inbox! Learn how!
<http://go.microsoft.com/?linkid=9671349>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20090729/fd353130/attachment.html
More information about the gdal-dev
mailing list