>>> imaging <progress_3q.png> >>> dynamic output <progress_done.png> >>> can be done >>> betteer rendering <progress_done.png> >>> at some time we make it non-transparent >>> not simple to fix > I'm curious how you chose to implement some of this.
Here we just change the resizing strategy (http://jira.magnolia-cms.com/browse/MGNLETK-36). > We struggled with image conversion for a while and eventually developed a > system where you specify what alternate sizes and formats you want as node > data and they are generated whenever you upload a new image using a field > save handler. If you do not specify the format we calculate it from the > original file's extension and use that, so long as it is a supported format. The imaging module renders the variation on demand. This has the benefit that you don't have to know all the use cases when uploading the image. I bit of documentation can be found here: http://wiki.magnolia-cms.com/display/DEV/STK+Imaging > We tried and tried to get JAI to consistently produce quality scaled images, > even test driving some of the non-free JAI resizers. Quite frankly, they > were all garbage, so either we don't know what we're doing or they really do > not work consistently well enough for production use. Yea, that is what we learned two. > > In the end we went back to where we should have started and wrote a very > simple wrapper around ImageMagick. Quality and compatibility with various > formats is excellent and consistent. It uses the ImageMagick executables > directly, so no real integration with Java, but the quality results were well > worth that particular tradeoff. At some point - MGNLETK-36 is only a midstep to ensure that the transparency is kept - I expect us to do the same thing. Since you can register any operations in the image generator chain, we could simply provide a set of delegating operations. Philipp ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
