• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Determining if images are roughly equal
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.
  • Follow-Ups:
    • Re: Determining if images are roughly equal
      • From: "John C. Randolph" <email@hidden>
  • Prev by Date: [ANN] PyObjC Article @ O'Reilly
  • Next by Date: [ANN] PreFab UI Browser 1.0
  • Previous by thread: Re: Determining if images are roughly equal
  • Next by thread: Re: Determining if images are roughly equal
  • Index(es):
    • Date
    • Thread