[Gdal-dev] Problem in gdal_translate and -co "PHOTOMETRIC=MINISBLACK"

Frank Warmerdam warmerdam at pobox.com
Sun Apr 1 15:48:37 EDT 2007


Aki Suvanto wrote:
> Hello,
> 
> I already wrote once about this same problem, but nobody has replied me so I
> write again.
> 
> I have a problem which relates to the gdal_translate and -co
> "PHOTOMETRIC=MINISBLACK" option.
...
> So is there something wrong in those commands or do you have any good advices,
> please tell me.

Aki,

Your approach is correct.  There is a problem somewhere in the code with
making assumptions that 4band data is rgba.  Please file a bug with all the
details we will need to reproduce the problem (ie. including a *small*
example input file).

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




More information about the Gdal-dev mailing list