[MAPSERVER-USERS] Tile4ms pre-cached images loses quality
riteshambastha
ritesh.linux at gmail.com
Tue Mar 11 23:35:31 PDT 2008
Hey Sahca,
thanks for sharing such helpful information.
Still I am facing some problems. Kindly check this part of the code and see
:
elseif (strtoupper($_REQUEST['i']) == 'AGGA') { /// <-- also use
AlphaCh if AGGA
$useAlphaCh = true;
}
I think "AlphaCh if AGGA" must be commented.
<snip>
/////// in tile.php (around line 85): /////////////////
$useAlphaCh = false;
if (isset($_REQUEST['i'])) {
setOutputFormat( $_REQUEST['i'] );
if (strtoupper($_REQUEST['i']) == 'ALPHA') {
$useAlphaCh = true;
}
elseif (strtoupper($_REQUEST['i']) == 'AGGA') { /// <-- also use
AlphaCh if AGGA
$useAlphaCh = true;
}
}
</snip>
Let me know if am not in the right direction.
Thanks,
Ritesh
Sacha Black wrote:
>
> Ambastha,
>
> are you also trying to use AGG here ? with tile.php? if so you might
> be affected by this discussion / solution from the Ka-Map list:
>
> http://www.nabble.com/Ka-map-and-AGG-%2B-Alpha----Solved-%28need-confirm%29-to15973299.html
>
> Sacha
>
> On Tue, Mar 11, 2008 at 8:51 PM, riteshambastha <ritesh.linux at gmail.com>
> wrote:
>>
>> Dear Mapserver Geniuses,
>>
>> I have used pre-caching script for my ka-map based map. The pre-cached
>> images doesn't retain the same quality compared to on-the-fly generation
>> of
>> images. I am using png24 outputformat. Is it true that the tiled
>> pre-cached
>> images normally lose their quality? Is there any solution for solving
>> this
>> issue?
>>
>> Your suggestions will be highly appreciated.
>>
>> Regards,
>> Ambastha
>> --
>> View this message in context:
>> http://www.nabble.com/Tile4ms-pre-cached-images-loses-quality-tp15997333p15997333.html
>> Sent from the Mapserver - User mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> mapserver-users mailing list
>> mapserver-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
--
View this message in context: http://www.nabble.com/Tile4ms-pre-cached-images-loses-quality-tp15997333p15998644.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
More information about the MapServer-users
mailing list