[OWW-Discuss] Upload of Scalable Vector Graphics files is now working on OWW. Finally.
Bill Flanagan
bill.altmail at gmail.com
Sun Jun 8 13:09:27 EDT 2008
The results look promising. Keep in mind: this support may not work
flawlessly for all files. Since SVG can support embedded scripting commands,
the ImageMagick imaging package may not do a perfect job of handling the
image. But, it works. I've turned on SVG images as a legal upload option now
that it's working reliably. The image is processed by ImageMagic upon upload
just to make a PNG thumbnail of the original. The original image is not
affected: it's stored like any other image on the server.
I've identified the problem related to large PNG image files and have a
tentative solution to the problem. I'll discuss this once I have it working.
Meanwhile, JPEG image files work most reliably.
Please note: a new parameter added to the image import code tries to keep
the image quality as high as possible. To do this, an ImageMagick feature,
"sharpening", is now being invoked. This leads to higher quality-looking
thumbnails or image reductions but it comes at the cost of a lot of server
CPU overhead. The time to process a large 'sharpened' image is 10 time that
of one that's simply reduced.
For now, I'm leaving the sharpening parameter in place. For scientific apps,
resolution is critical. Granted, you can still look at the original file
which is what's stored on the server. But we may have to revisit this if the
time to do uploads and corresponding CPU utilization proves to be a problem
for the community.
If anyone has any comments, please let me know. This is a pretty big change
in the most recent revision that we all should be aware of.
Thanks.
Bill
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/oww-discuss/attachments/20080608/cd2e8667/attachment.htm
More information about the Oww-discuss
mailing list