Yes, the files that I try to open are jpgs and bmps.
--
View this message in context:
http://osgeo-org.1560.n6.nabble.com/Problem-with-reading-OziExplorer-map-world-files-tp4346806p4349081.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.
__
Hey,
I'm new to GDAL and I have a problem when I try to open a raster file with a
.map worldfile(OziExplorer Map Data File):
...
double AdfGeoTransform[6];
pDataset->GetGeoTransform( AdfGeoTransform ) *returs CE_Failure!*
...
Also, I've tried GDALLoadOziMapFile(..) and GDALReadOziMapFile(...):
Martin,
This code below seems to work well:
...
checking if the band is a paletted one
...
else if (bandPalette)
{
// Paletted map
int pixelSpace=1*numBytesPerPixel;
int lineSpace=destWidth * pixelSpace;
unsigned char *rawImageData;
rawImageData = new unsigned char[destWidt
http://osgeo-org.1803224.n2.nabble.com/file/n7175677/Image.cpp Image.cpp
Ari,
void CViewMain::OnDraw()
{
if (m_image.IsOpen())
{
m_image.Draw(hdcMem,m_image.m_XOff,m_image.m_YOff,m_image.m_imgWidth,m_image.m_imgHeight,
m_image.m_xSrc,m_ima
Hi,
I'd like to use GDAL in my program to open raster images (MFC), but I have
one problem - when I try to open images with one raster band, these image
are drawn gray (or, in few cases, almost black). I' ve looked for a
solution, but haven't found any.
Thanks in advance.
--
View this messag