Re: Determining if images are roughly equal
Re: Determining if images are roughly equal
- Subject: Re: Determining if images are roughly equal
- From: Joe Osborn <email@hidden>
- Date: Sat, 1 Feb 2003 10:58:10 -0600
Apple recently posted sources to ImageDifference, a tool for
subtracting images from each other-- here's a link:
http://developer.apple.com/samplecode/Sample_Code/Graphics_2D/
Image_Difference.htm
It's handy, I'm gonna use it for something soon, too.
Can someone suggest a method for roughly comparing NSImages? I am
creating a disk caching mechanism for my app, and I need a way to
check if an image downloaded from the web (could be in any format) is
equal to an NSImage I've created from a PNG on disk.
...
-Jan Van Tol
--joie
"If you are new to Vi and Vim, using 'nocompatible' is strongly
recommended, because Vi has a lot of unexpected side effects, which are
avoided by this setting." -- Vim manual
_______________________________________________
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.