On May 19, 2015, at 9:34 AM, Mark Waddingham <m...@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



_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to