On 21/10/09 18:11, Anish wrote:
But the problem is that when the gif stream is generated by our modified
image reader, somewhere in the code Cocoon automatically converts its
mime type to JPEG and again returns a JPEG image irrespective of the
required mime-type.
For that matter, you can set it in the pipelines, like:
<map:match pattern="favicon.ico">
<map:read src="resource/external/images/favicon.ico"
mime-type="image/vnd.microsoft.icon"/>
</map:match>
<map:match pattern="*.png">
<map:read src="resource/external/images/{1}.png" mime-type="image/png"/>
</map:match>
...etc
--------------------
Luca Morandini
www.lucamorandini.it
--------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]