[mapguide-users] FORMAT=PNG, GIF,JPG
Andrew DeMerchant
andrew.demerchant at gemtec.ca
Thu Aug 17 09:57:42 EDT 2006
I'm totally just coming in in the middle of this, but JPG compression is
generally out of 10, not 100 (sometimes 12, if you use photoshop). You
might double check that...
Traian Stanev wrote:
> 100? I thought it was out of 10... I guess that explains why, hehe.
>
> ------------------------------------------------------------------------
> *From:* Walt Welton-Lair
> *Sent:* Wednesday, August 16, 2006 6:50 PM
> *To:* users at mapguide.osgeo.org
> *Subject:* RE: [mapguide-users] FORMAT=PNG, GIF,JPG
>
> Yeah, looking at the source it passes a value of 7 for the quality.
> That's out of a 100, so it's pretty low. And there's no way to change
> this right now other than modifying the source and rebuilding.
>
> You should enter this as an enhancement artifact / wish-list item.
> Seems like a useful setting to be able to control.
>
> Walt
>
> ------------------------------------------------------------------------
> *From:* Gord McKenzie [mailto:gord.mckenzie at canam.com]
> *Sent:* Wednesday, August 16, 2006 6:28 PM
> *To:* users at mapguide.osgeo.org
> *Subject:* [mapguide-users] FORMAT=PNG, GIF,JPG
>
> Following an answer I picked up on this mailing list, I have tried
> setting my FORMAT type to each of the three listed image types. I do
> this in this in the ajaxmappane.templ file. When working with photos
> I get a nice benefit from changing the default from PNG to GIF. The
> GIF images produced in the AJAX viewer are about 1/3^rd the size of
> the PNG images. That has to have a positive impact on performance.
>
>
>
> However, when I try JPG, the image looks like garbage. It seems that
> the JPG is produced with near maximum compression and so loses almost
> all detail. Can the compression rate be set in some fashion, by
> editing a file or adding an argument to the URL constructor?
>
>
>
> Thanks
>
>
>
>
>
--
*Andrew DeMerchant*
*Computer Technologist*
ph.1-877-4GEMTEC x.163
fax 506-453-9470
/GEMTEC Limited <http://www.gemtec.ca>
/191 Doak Road
Fredericton, NB, Canada
E3C 2E6
-------------- next part --------------
Skipped content of type multipart/related
More information about the Mapguide_users
mailing list