Hi Tamas,
Yes, finally, "vsimem" works once bitmap is Png (abbreviated VB.NET code
follows):
Dim bmp As Bitmap = Bitmap.FromFile("C:\Input.tif")
Dim imageBuffer As Byte()
Using stream As New MemoryStream()
bmp.Save(stream, ImageFormat.Png)
We could also convert the bitmap to png or some other formats that the GDAL
drivers reconise, something like:
byte[] imageBuffer;
using (MemoryStream stream = new MemoryStream())
{
bmp.Save(stream, ImageFormat.Png);
imageBuffer = stream.ToArray();
Thanks for the beta2. Patience can easily turn into worry and other emotions
when there is no news.
On Mar 21, 2013, at 6:46 PM, William Kyngesburye wrote:
> Sorry to pester people working diligently on the next release, but what's
> holding up at least an RC for 1.10?
>
> It would be nice to
Hi,
I found an issue in GDAL postgis raster, When we upload multiple tiff files
to a same table as a raster cover through raster2pgsql(each file divided
into tiles and each tile inserted as row in the table). And load the table
back using GDAL driver(tried with 1.10 beta1) into any application, on
Hi EvenR,
I was about to commit my new DDS driver on Monday, at the osgeo code
sprint. I'm going to confirm its addition as soon as it's done. It would
be nice to wait for it before the beta3 (Just mentionning.. I doubt any
other beta was planned in the next 2 days anyway).
Thanks!
Alan
On
This is because there's no driver to recognise the image data directly. You
should provide the image file in a GDAL supported binary format (like jpg
or png or tif) or use the MEM driver to represent the dataset. I've created
a new sample for this approach at:
http://trac.osgeo.org/gdal/browser/tr