FW: [mapserver-users] ...JPEG Panic

Hankley, Chip Chip.Hankley at gasai.com
Wed Sep 25 06:16:22 PDT 2002


For the sake of the archive...

Chip

-----Original Message-----
From: Yewondwossen Assefa [mailto:assefa at dmsolutions.ca]
Sent: Tuesday, September 24, 2002 7:27 PM
To: Hankley, Chip
Cc: 'warmerdam at pobox.com'
Subject: Re: [mapserver-users] ...JPEG Panic


Hi There,

 I just did some quick tests on this. It seems that the conflict comes from
the
gd library built in jpeg and the one used with mapserver.

 To test it, I have recompiled mapserver with gd where I removed the jpeg
support (USE_JPEG flag) and I could load the jpeg files.
 The real solution for me is to recompile gd with the same jpeg lib that is
used
for mapserver. Unfortunaltly I could not do this right now, It does not
compile
on windows out of the box (I am currently using precompiled binaries). I
will
try to do this some time this week ....

PS : I have entered a bug relative to this :
http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=203


"Hankley, Chip" wrote:

> ugh... thanks Frank... I'm on windows, and have compiled nothing. I'm just
> using the stock exe's from the MS web site and the dlls from DMSolutions.
>
> thnks anyway...chip
>
> -----Original Message-----
> From: Frank Warmerdam [mailto:warmerdam at pobox.com]
> Sent: Tuesday, September 24, 2002 1:52 PM
> To: Hankley, Chip
> Subject: Re: [mapserver-users] ...JPEG Panic
>
> Hankley, Chip wrote:
> > Sorry to be pushy... I've got a bit of a deadline, and I can't seem to
get
> > this working. Does MS even support geo-referenced JPEGs? I have an app
> that
> > is going to put up a LOT of orthophotos, and JPEG seems like the best
> > solution (size wise).
> >
> > o ECW is out (I'm using PHP MapScript, and don't want / can't compile my
> own
> > DLL)
> > o WMS is out (don't have a WMS server)
>
> Chip,
>
> There was a response from the IJG guy about this a while ago.  It is some
> problem with structure packing pragmas.  Apparently different ones were
used
> when you built libjpeg from what was used when mapserver was built.  Did
> you build either the jpeg shared library or mapserver yourself?  If so,
> start
> digging into the pragmas about structure packing.
>
> Best regards,
>
> --
>
---------------------------------------+------------------------------------
> --
> I set the clouds in motion - turn up   | Frank Warmerdam,
> warmerdam at pobox.com
> light and sound - activate the windows | http://pobox.com/~warmerdam
> and watch the world go round - Rush    | Geospatial Programmer for Rent

--
----------------------------------------------------------------
Assefa Yewondwossen
Software Analyst

Email: assefa at dmsolutions.ca
http://www.dmsolutions.ca/

Phone: (613) 565-5056 (ext 14)
Fax:   (613) 565-0925
----------------------------------------------------------------





More information about the MapServer-users mailing list