Lincoln wrote:
> The generator type "imagedirectory" doesn't appear to generate the
> attributes "width" and "height" for png's. Gifs and jpg are fine.
> 
> Is there a workaround?
> Am I doing something wrong?
> 

If you look at src/java/org/apache/cocoon/util/ImageUtils.java, you'll
see that it only supports gifs and jpgs for the moment.

It shouldn't be too hard to add support for other filetypes though, it
only requires to have their magic numbers and write some code to peek
into the first bytes of the file.

Jorg


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to