<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
I thought about it some more.<br>
Frank,<br>
<br>
It would be interesting for example to embed text values for pixel
colors for example. A mouse over effect could use the data to make
some nice tooltip functions.<br>
<br>
The first posting I was after a way to store the creation parameters
for an image, inside of the image for retrieval. I'm (we're) using
quite a bit of DHTML. and doing an ItemQuery (with no IMGEXT) makes it
difficult to make a subsequent call based on IMGEXT for an overlay
object (transparent PNG). If the settings like IMGEXT that were used
to create the image were available inside of the image for retrieval,
that would be perfect.<br>
<br>
I may yet take you up on it even if it becomes a private PNG chunk for
our use only. I was just thinking that if some basic parameter related
to the image creation could be embedded into it. That would go a ways
towards solving the problem.<br>
<br>
I'l still looking through things to try and figure it out though.<br>
<br>
I wonder if it wouldn't be wise to consider something like this as a
post process to GDAL creation. I suupose the parameters would still
need to be passed from Mapserver though, so I suppose breaking it out
would have little effect.<br>
Thanks for the info.<br>
<br>
bobb<br>
<br>
<br>
Frank Warmerdam wrote:<br>
<blockquote cite="mid931f8ea90412092156137d76a6@mail.gmail.com"
type="cite">
<pre wrap="">On Thu, 9 Dec 2004 23:32:47 -0600, Blammo <a
class="moz-txt-link-rfc2396E" href="mailto:bob.basques@ci.stpaul.mn.us"><bob.basques@ci.stpaul.mn.us></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">All,
ok, this is going to sound like a wierd request, but here goes.
Is there or has it been thought about, the addition of adding in "Text
Strings" to the PNG output, things like IMGEXT, LAYERS, etc. Something
that could be retrievable programetrically (PERL) ?
bobb
</pre>
</blockquote>
<pre wrap=""><!---->
Bob,
Generally speaking this would be hard to do using the GD PNG output
since it does not give much low level access to libpng for writing specialized
chunks (as far as I know). Potentially I could extend the GDAL PNG output
to allow adding chunks from "creation options" if that was desired, but it
would be a bit clumsy.
Best regards,
</pre>
</blockquote>
</body>
</html>