Selon akshay gupta <akshaygupta...@gmail.com>:

> Hi all,
>
> I am having problems trying to read .jpg images using gdal. Using GDAL I
> am  able to read jpg images using GA_ReadOnly mode but  in GA_Update mode
> its giving errors. Can any one tell me what might be the problem, and
> suggest me a turnaround to open jpg image in update mode.

It is expected and there is no support for opening a JPEG image in update mode.
The JPEG format is essentially read-only or write-only. You cannot modify the
imagery in place without regenerating a full file. You can use the CreateCopy()
method of the JPEG driver for that.

>
> Thanks in advance,
> Akhy Hückelheim
>


_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to