<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6001.18157" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Well...</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>If you look at the size of your output file, the
size is quite huge... ^^</FONT></DIV>
<DIV><FONT face=Arial size=2>12345 x 23456 pixels, that's quite a big image !!
;)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Here is the result of gdalinfo on the image
:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Driver: PNG/Portable Network Graphics<BR>Files:
f:\temp\4947ac7e_29f5_0.png<BR>Size is 12345, 23456<BR>Coordinate System is
`'<BR>Corner Coordinates:<BR>Upper Left (
0.0, 0.0)<BR>Lower Left (
0.0,23456.0)<BR>Upper Right (12345.0, 0.0)<BR>Lower Right
(12345.0,23456.0)<BR>Center (
6172.5,11728.0)<BR>Band 1 Block=12345x1 Type=Byte, ColorInterp=Palette<BR>
Color Table (RGB with 256 entries)<BR> 0:
255,255,255,255<BR> 1: 0,0,0,255<BR> 2:
255,0,0,255<BR> 3: 234,233,233,255<BR> 4:
233,232,233,255<BR> 5: 234,233,234,255<BR>
6: 233,233,233,255<BR> 7: 215,148,53,255<BR></FONT><FONT
face=Arial size=2>...</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Now, you should look at your map file to see why
this output size :</FONT></DIV>
<DIV><FONT size=2>
<P>IMAGETYPE png<BR>#NAME "mapa"<BR>SIZE 12345 23456#583 421<BR></P>
<P><FONT face=Arial>So, you put 12345 23456 as the optimal size for rendering
the whole map and you commented another size (583 421).<BR>You should try to put
the size of your input file instead of 12345 23456.</FONT></P>
<P><FONT face=Arial>Something else is coming to my mind ? Why do you want to use
Mapserver to serve a file like this one ? Couldn't you use your web server to
serve it ?</FONT></P>
<P><FONT face=Arial>Regards,</FONT></P>
<P><FONT face=Arial>Benoît Andrieu<BR>+33.(0)1.30.08.95.21<BR><A
href="mailto:bea@ixsea.com">bea@ixsea.com</A><BR><A
href="mailto:benoit.andrieu@gmail.com">benoit.andrieu@gmail.com</A><BR></FONT></P></FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=amiyapatra188@gmail.com href="mailto:amiyapatra188@gmail.com">Amiya
Patra</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=mapserver-users@lists.osgeo.org
href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, December 16, 2008 2:23
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [mapserver-users] simple
question regarding output image</DIV>
<DIV><FONT face=Arial size=2></FONT><FONT face=Arial
size=2></FONT><BR></DIV>hi<BR>Yeah If I put imagetype as gif then also o/p
image size big than i/p gif..As well as if I put imagetype(map file) is
png or other o/p image size is still big........<BR>
<P>
<HR>
<P></P>_______________________________________________<BR>mapserver-users
mailing list<BR><A
href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</A><BR><A
href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</A><BR></BLOCKQUOTE></BODY></HTML>