Jason,

Yes, i was trusting on right-click properties in Windows, now i took the file to Photoshop but still couldn't get a clear bit depth information, so I did this to accomplish your advice of checking file sizes:

Run mapguide with ImageFormat = PNG8, and go to some part of the map, file of the tiled image: 13.4 KB, and then
run mapguide with ImageFormat = PNG, and go to the same part of the map, file of the tiled image: 41.7 KB, that means PNG8 is working and Windows file information is not to be trust.

Thanks a lot,
Best Regards,
Lucio


Jason Birch wrote:
Hi Lucio,

How are you determining the bit depth of the images?  I have found that
the Windows file information dialog incorrectly identifies images as
32bit when they are actually 8bit.

If you open the image in a different program (like Photoshop) or test
the size of format=PNG vs FORMAT=PNG8 you should be able to confirm that
8bit rendering is actually working.

Keep in mind that this only works for tiled maps.  To get back 8bit
images for regular maps, you will need to update the appropriate
template.

Jason

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of LucioSoto
Sent: Friday, July 11, 2008 10:03
To: [email protected]
Subject: Re[mapguide-users] ndering to PNG8


Hi, I need some help, I'm changing the ImageFormat = PNG8 in
serverconfig.ini, but I'm still getting 32bit PNG images, if I change
that
to JPG it works, but it seems it is not recognizing PNG8 format. I have
Mapguide 2.0.0.2308 over Windows.
Thanks a lot,
Lucio
  
_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to