Image Rendering in LC 7

Peter Bogdanoff bogdanoff at me.com
Wed May 20 15:56:57 EDT 2015


For my purposes, resizeQuality best does the job.

Thanks Mark W.

(And thanks Mark W. for the bad news for me :( that losing QuickDraw causes some fonts to now take more horizontal space than pre-LC 6.7, notably Helvetica.

Peter Bogdanoff
UCLA

> On May 19, 2015, at 4:35 PM, Mark Talluto <userev at canelasoftware.com> wrote:
> 
> 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
> 
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list