Frank, You were right of course. I found that p-mapper selects the output format by selectOutputFormat function that has an input defined in p.mapper config file as "png". So I suppose it just couldn't work using custom imagetype/name.
Now I know the image I see is RGB and the "better" one shown in DWG viewer is probably using sub-pixel rendering thanks very much Frank regards, dejan > -----Original Message----- > From: Frank Warmerdam [mailto:[EMAIL PROTECTED] > Sent: Sunday, July 15, 2007 4:12 PM > To: Gambin Dejan > Subject: Re: [UMN_MAPSERVER-USERS] Spam: Re: > [UMN_MAPSERVER-USERS] Strange imagetype/outputformat behaviour > > Dejan Gambin wrote: > > Frank, > > > > I am using MS4W and p.mapper framework. The request is very > simple - I > > have a raster layer made by tileindex shape file, like this: > > > > LAYER # raster > > NAME "ortofoto" > > GROUP "ortofoto" > > STATUS ON > > TYPE RASTER > > METADATA > > "DESCRIPTION" "Ortofoto" > > END > > TILEINDEX "vodnjan" > > TILEITEM "LOCATION" > > CLASS > > Name 'ortofoto' > > COLOR 51 102 160 > > OUTLINECOLOR 0 0 0 > > TEMPLATE void > > END > > END > > > > Maybe I need to look in the p.mapper somewhere and debug the > > requests...I'll try... > > Dejan, > > I am not familiar with the details of p.mapper, but I do > think you need to understand the requests it is making. > > Best regards, > > -- > ---------------------------------------+---------------------- > ---------- > ---------------------------------------+------ > I set the clouds in motion - turn up | Frank Warmerdam, > [EMAIL PROTECTED] > light and sound - activate the windows | http://pobox.com/~warmerdam > and watch the world go round - Rush | President OSGeo, > http://osgeo.org > >
