Re: A possibly simpler way to do custom Core Data migration

2014-02-24 Thread Jerry Krinock
On 2014 Feb 23, at 01:07, Yi Lin yionco...@gmail.com wrote: After reading Apple’s docs on migration policy subclasses, I find it very convoluted I don’t find mapping models or NSMigrationPolicy to be any more complex than is necessary. There are some holes in the documentation which you’ll

exporting image files to disk using CGImageDestination

2014-02-24 Thread Kevin Meaney
I've written a command line tool that takes an image file (when testing I'm using JPEG files) and applies a custom CIFilter (a naive chroma key filter I've written) and saves a file to disk. Sampling the command line tool when processing files shows it is spending 90% of its time writing the

Re: Issues with CIFilters and CALayers

2014-02-24 Thread David Duncan
On Feb 23, 2014, at 1:06 PM, Gordon Apple g...@ed4u.com wrote: We have run into a number is issues trying to use CIFilters with CALayers: 1. When a layer is hidden, its filters, especially background filters, should be temporarily removed, or at least bypassed. Hiding the layer should

Re: exporting image files to disk using CGImageDestination

2014-02-24 Thread Mike Abdullah
On 24 Feb 2014, at 17:00, Kevin Meaney k...@yvs.eu.com wrote: I've written a command line tool that takes an image file (when testing I'm using JPEG files) and applies a custom CIFilter (a naive chroma key filter I've written) and saves a file to disk. Sampling the command line tool when

Re: Issues with CIFilters and CALayers

2014-02-24 Thread Gordon Apple
Apparently, my comment about not understanding this construct for setValueForKeyPath was correct. It actually works. I finally got the highlighting filter to work and update properly. Now I¹m trying to do something much simpler, i.e., construct a freezeFilter. Nothing I¹ve tried so far works.

Re: Disabling screen capture

2014-02-24 Thread Jeffrey Oleander
On 2014 Feb 21, at 18:24, Scott Ribe wrote: On Feb 21, 2014, at 2:26 PM, Bradley O'Hearne br...@bighillsoftware.com wrote: Industries such as medical (HIPAA), legal, government, education, military defense, etc. all have such security needs. The only way I can see for the app under discussion

Re: exporting image files to disk using CGImageDestination

2014-02-24 Thread Kevin Meaney
On 24 Feb 2014, at 17:21, Mike Abdullah mabdul...@karelia.com wrote: On 24 Feb 2014, at 17:00, Kevin Meaney k...@yvs.eu.com wrote: I've written a command line tool that takes an image file (when testing I'm using JPEG files) and applies a custom CIFilter (a naive chroma key filter I've

Re: exporting image files to disk using CGImageDestination

2014-02-24 Thread Bill Dudney
On Feb 24, 2014, at 9:48 AM, Kevin Meaney k...@yvs.eu.com wrote: On 24 Feb 2014, at 17:21, Mike Abdullah mabdul...@karelia.com wrote: On 24 Feb 2014, at 17:00, Kevin Meaney k...@yvs.eu.com wrote: I've written a command line tool that takes an image file (when testing I'm using JPEG files)

Re: exporting image files to disk using CGImageDestination

2014-02-24 Thread Sandy McGuffog
You should not be seeing worse image quality for TIFF unless very different options are being used in each case. Can you tell what about the image quality is worse? Sandy On Feb 24, 2014, at 7:48 PM, Kevin Meaney k...@yvs.eu.com wrote: On 24 Feb 2014, at 17:21, Mike Abdullah

Re: exporting image files to disk using CGImageDestination

2014-02-24 Thread Kevin Meaney
On 24 Feb 2014, at 18:08, Sandy McGuffog mcguff...@gmail.com wrote: You should not be seeing worse image quality for TIFF unless very different options are being used in each case. Can you tell what about the image quality is worse? That was my assumption which is why I was confused. As per

Re: exporting image files to disk using CGImageDestination

2014-02-24 Thread Kevin Meaney
On 24 Feb 2014, at 18:04, Bill Dudney bdud...@mac.com wrote: Make sure that what you are looking at is what you think you are looking at. When you look at it in Preview is it being scaled? If so then the default scaling algorithm in Preview for TIFF might be 'fast but ugly’ (I don’t know,

Re: exporting image files to disk using CGImageDestination

2014-02-24 Thread David Duncan
On Feb 24, 2014, at 10:25 AM, Kevin Meaney k...@yvs.eu.com wrote: On 24 Feb 2014, at 18:04, Bill Dudney bdud...@mac.com wrote: Make sure that what you are looking at is what you think you are looking at. When you look at it in Preview is it being scaled? If so then the default scaling

Re: exporting image files to disk using CGImageDestination

2014-02-24 Thread Kevin Meaney
On 24 Feb 2014, at 18:40, David Duncan david.dun...@apple.com wrote: On Feb 24, 2014, at 10:25 AM, Kevin Meaney k...@yvs.eu.com wrote: I'd already done that, but doing it again made me realize that the problem is 100% associated with the alpha channel. Where the pixels are fully opaque

Re: NSNumber : method to return pointer to represented value

2014-02-24 Thread jonat...@mugginsoft.com
On 23 Feb 2014, at 13:15, Graham Cox graham@bigpond.com wrote: Either that or a custom class would actually require very little effort - probably less than the typing in this discussion so far anyway! It actually takes a bit more effort to subclass NSNumber than it does to talk