Re: [mapserver-users] MS 6.0 beta4, is image/jpeg output OK?

2011-04-15 Thread Jeff McKenna

Jukka,

You indeed found a good one: image/jpeg output for all 6.0 betas in MS4W 
was broken.  In fact the underlying GD library was pointing to a an old 
non-existent libjpeg version, jpeg-6b, and recent MS4W is built against 
jpeg-8b (this is what the error message was really trying to tell us: 
Wrong JPEG library version: you are calling JPEG-6 through GD but 
MapServer expects to find JPEG-8).  So here is a patch, which contains 
a rebuilt GD library that points to an upgraded JPEG-8c library: 
http://www.maptools.org/dl/ms4w/mapserver_ms4w-6.0.0-beta6-patch.zip


I thank you very much for discovering this problem.  I guess this is why 
we have a 'beta' stage.


(the MS4W ticket is http://bugzilla.maptools.org/show_bug.cgi?id=2313)

Thanks again for this feedback!

happy friday to all.

-jeff



--
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/




On 11-04-12 10:47 AM, Rahkonen Jukka wrote:

Hi,
I have a pretty basic mapfile without my own OUTPUTFORMAT settings. MS
6.0 beta4 is advertising image/jpeg in the GetCapabilities. However, if
I use it in the GetMap I am getting my request back from the server. I
mean that by browser shows me exactly the same query as a result in test
format that I was sending from the URL line. I have never before seen
this behaviour. If I change format into image/png or image/gif I am
getting a proper image back. I am testing with MS4W package.
-Jukka Rahkonen-


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] MS 6.0 beta4, is image/jpeg output OK?

2011-04-14 Thread Jeff McKenna

Hello Jukka,

If you create a test case I can do some testing (and if you can file it 
in the MS4W issue tracker that would be excellent).  Also in the ticket 
please mention whether this works for you with MS4W 3.0.2 (MapServer 
5.6.6), or if this issue applies to just the MapServer 6.0 beta packages 
(and which exact package did this issue first occur at for you, 
including beta5).  Thanks.


-jeff


--
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/




On 11-04-13 4:09 AM, Rahkonen Jukka wrote:




-Alkuperäinen viesti-
Lähettäjä: Frank Warmerdam [mailto:warmer...@pobox.com]
Lähetetty: 12. huhtikuuta 2011 21:38
Vastaanottaja: Rahkonen Jukka
Aihe: Re: [mapserver-users] MS 6.0 beta4, is image/jpeg output OK?

On 11-04-12 02:23 PM, Rahkonen Jukka wrote:

Hi,
Some more information found from the Apache error log:

[Tue Apr 12 17:19:05 2011] [error] [client xxx.xx.xx.xx]

Wrong JPEG library

version: library is 62, caller expects 80\r

Can anybody guess where this wrong JPEG library is hiding?

I am running Windows

2003 server with MS4W 3.0.1, updated into MS 6.0 beta4.


Jukka,

I would suggest looking in \windows\system32 for any jpeg
DLLs.  It may be
that one is overriding the one distributed with MS4W.


Hi,

MS4W does not come with jpeg dll as far as I understand. Nor do I have such in 
my system disk in any directory. I checked it with running

dir /s *jpeg*.dll

I do have jpeg.dlls in other places like Java \bin directory. In addition I have 
jpeg_osgeo.DLLs in various places, but not within the MS4W tree. Renaming everything that 
looks like jpeg dll did not change anything, the error is still library is 62, 
caller expects 80

Perhaps this is more MS4W problem?


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] MS 6.0 beta4, is image/jpeg output OK?

2011-04-12 Thread Rahkonen Jukka
Hi,
 
I have a pretty basic mapfile without my own OUTPUTFORMAT settings.  MS
6.0 beta4 is advertising image/jpeg in the GetCapabilities.  However, if
I use it in the GetMap I am getting my request back from the server.  I
mean that by browser shows me exactly the same query as a result in test
format that I was sending from the URL line.  I have never before seen
this behaviour. If I change format into image/png or image/gif I am
getting a proper image back. I am testing with MS4W package.
 
-Jukka Rahkonen-
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] MS 6.0 beta4, is image/jpeg output OK?

2011-04-12 Thread thomas bonfort
I think some browsers do that if the image is corrupt. Try to use curl
or wget or view-source to see the actual returned data.

--
thomas

On Tue, Apr 12, 2011 at 15:47, Rahkonen Jukka jukka.rahko...@mmmtike.fi wrote:
 Hi,

 I have a pretty basic mapfile without my own OUTPUTFORMAT settings.  MS 6.0
 beta4 is advertising image/jpeg in the GetCapabilities.  However, if I use
 it in the GetMap I am getting my request back from the server.  I mean that
 by browser shows me exactly the same query as a result in test format that I
 was sending from the URL line.  I have never before seen this behaviour.
 If I change format into image/png or image/gif I am getting a proper image
 back. I am testing with MS4W package.

 -Jukka Rahkonen-
 ___
 mapserver-users mailing list
 mapserver-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapserver-users


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] MS 6.0 beta4, is image/jpeg output OK?

2011-04-12 Thread Rahkonen Jukka
Hi,
 
Some more information found from the Apache error log:
[Tue Apr 12 17:19:05 2011] [error] [client xxx.xx.xx.xx] Wrong JPEG library 
version: library is 62, caller expects 80\r

Can anybody guess where this wrong JPEG library is hiding? I am running Windows 
2003 server with MS4W 3.0.1, updated into MS 6.0 beta4.

-Jukka Rahkonen-

 




Lähettäjä: mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] Puolesta Rahkonen Jukka
Lähetetty: 12. huhtikuuta 2011 16:48
Vastaanottaja: mapserver-users@lists.osgeo.org
Aihe: [mapserver-users] MS 6.0 beta4, is image/jpeg output OK?


Hi,
 
I have a pretty basic mapfile without my own OUTPUTFORMAT settings.  MS 6.0 
beta4 is advertising image/jpeg in the GetCapabilities.  However, if I use it 
in the GetMap I am getting my request back from the server.  I mean that by 
browser shows me exactly the same query as a result in test format that I was 
sending from the URL line.  I have never before seen this behaviour. If I 
change format into image/png or image/gif I am getting a proper image back. I 
am testing with MS4W package.
 
-Jukka Rahkonen-
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users