Re: Better Image Scaling...
Re: Better Image Scaling...
- Subject: Re: Better Image Scaling...
- From: Brent Gulanowski <email@hidden>
- Date: Tue, 18 May 2004 08:29:28 -0400
On May 17, 2004, at 5:18 PM, Jerry LeVan wrote:
>
I have been wondering the same...
>
>
Have you tried /usr/bin/sips? ( sips -h will provide documentation)
>
>
Your AppleScript Books mentions "Image Events" :)
>
>
It seems like Python might offer a variety of scaling
>
algorithms in the Img package.
>
>
>
Jerry
>
>
>
On May 17, 2004, at 4:21 PM, email@hidden wrote:
>
>
> In my app I scale images to make thumbnails using NSImageRep
>
> drawInRect:.
>
> When these thumbnails are reasonably large it is easy to see that the
>
> results are fuzzy - much fuzzier than, for example, when Photoshop
>
> does the
>
> same scaling. Is there anything I can do about this? I'm not very
>
> expert on
>
> graphics but I get the idea that there is more than way to scale. m.
Not sure whom I'm addressing, but if AppKit hasn't been internally
revised to use it anyway, you might check out the vImage library:
http://developer.apple.com/documentation/Performance/Conceptual/vImage/
index.html
Perhaps direct use will let you set parameters... I haven't used it yet.
--
Brent Gulanowski email@hidden
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.