On Mon, Jun 10, 2013 at 5:35 PM, Ameet <[email protected]> wrote:
> Using the WMS Animator service, I am giving aparam=layers and a total of 56
> layers in the avalues.
>
> This is returning a single 6.8 MB animated gif and takes time to display in
> browser. This image is 24-bit gif.
>
> How can I request a lower resolution image from this service (I want only
> 16-bit colors, infact 8-bit will also be fine).
>
All GIFs are paletted images, so there is a table linking a integer number
between
0 and 255 to a color, and then all the pixels refer to indexes in that
table.
So, reducing the color size from 24 to 16 bits is just going to save you:
1 (saved byte) * 255 (entries in the table) * 56 (number of images) = 14KB
more or less
So you're not going to get any significant saving by trying to go that way.
I believe the only thing you can control is the image size in pixels, and
the number
of frames in the animation, if you cannot reduce neither of these I believe
you'll
have to just accept the current file size.
Cheers
Andrea
--
==
GeoServer training in Milan, 6th & 7th June 2013! Visit
http://geoserver.geo-solutions.it for more information.
==
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users