Image Rendering in LC 7
Mark Talluto
userev at canelasoftware.com
Tue May 19 19:35:16 EDT 2015
On May 19, 2015, at 9:34 AM, Mark Waddingham <mark at livecode.com> wrote:
> We're not entirely sure what algorithm CopyBits uses for scaling images which seems to be so good for certain image types - but if someone does know, and indeed has some suitably open / free source-code lying around which does something similar we could look to see if we could resurrect that kind of filtering (it does seem to be somewhat different from bilinear - I think it is some sort of 'box' filter, but that covers a fair few things).
Hi Mark. We have submitted an enhancement regarding this very important topic for some stuff we work on.
http://quality.runrev.com/show_bug.cgi?id=15395
A complete copy of the enhancement is below:
It would be nice if we could have additional resizeQuality options when scaling images, which would also help mitigate the loss of the CopyBits algorithm for Mac.
In addition to supporting the existing normal, good, and best for backwards compatibility, it might be cool to expose more options well.
One open-source option that seems to support quite a few options is ImageMagick; they're Apache 2.0, and permit inclusion into both open- and closed-source projects.
Take a look at their resize capabilities:
http://trac.imagemagick.org/browser/ImageMagick/trunk/MagickCore/resize.c
They have compatibility with Mac, Windows, Linux, and iOS. No listed compatibility with Android, though. May be worth checking out.
Best regards,
Mark Talluto
livecloud.io
canelasoftware.com
More information about the use-livecode
mailing list