Keysize for raster legend
Frank Warmerdam
warmerdam at POBOX.COM
Wed Jan 4 07:49:27 PST 2006
On 1/4/06, Jørn Vegard Røsnes <jorn at spacetec.no> wrote:
> Attached is also the colorbar jpg that should be embedded as a legend.
> I am using the KEYIMAGE tag in the map file to include the legend file.
Jørn,
I skimmed the mapserver 4.8 code, and it uses the gd
function gdImageCopyResampled() to resize the keyimage.
Could you let us know which version of MapServer and
gd are being used?
Also, I see your keyimage is 24bit RGB. If you output
image is 8bit PNG, you *might* get better results using
an 8bit PNG file for the keymap.
I would appreciate your filing a bug on this issue with all
the details, and all the data needed to reproduce the problem.
Feel free to assign it to me.
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 | Geospatial Programmer for Rent
More information about the MapServer-users
mailing list