There is a perl program called exiftool that can load and set exif tool without
loading the image data (or at least it doesn’t decode the image data). I don’t
know whether it would be faster than loading image data/properties with
ImageIO. You could write a perl script that used your bundled exi
e problem using GCD's dispatch_async so they’ll also be much better off
using NSOperationQueue with maxConcurrentOperationCount.
Jim Crate
> On 17 Aug 2022, at 20:32, James Crate via Cocoa-dev
> wrote:
>>
>> I have an app that does some image processing, and when I tr
I have an app that does some image processing, and when I tried to use GCD it
created several hundred threads which didn’t work very well. NSOperationQueue
allows you to set the max concurrent operations, and the batch exporting
process fully utilizes all logical cores on the CPU.
opsQueue.maxC
On Nov 2, 2020, at 5:59 PM, Carl Hoefs via Cocoa-dev
wrote:
> I have an iOS app that interacts with a macOS server process. The iOS app
> takes a 3264x2448 camera image, scales it to 640x480 pixels, and makes a JPEG
> representation of it to send to the server:
I have code that does pretty mu
On Jun 15, 2020, at 2:30 PM, Gabriel Zachmann via Cocoa-dev
wrote:
>
> I would like to launch application B from my application A using Swift.
> Both applications are created, compiled, signed, and notarized by me.
> Challenge: no user intervention should be necessary when launching B from A.
>
On May 25, 2020, at 3:43 PM, Gabriel Zachmann via Cocoa-dev
wrote:
> I can confirm: this is indeed critical. Otherwise, the .saver does not
> receive mouse events.
>
> Unfortunately, it seems that I still cannot get key events.
If you are trying to get events from arrow or modifier keys, you
On May 14, 2020, at 11:13 AM, Gabriel Zachmann via Cocoa-dev
wrote:
>
> I thought i'm doing that with this code:
>
> -animateOneframe:
> // essentially, this gets called when the next image is to be displayed
> current_image_ = prefetched_image_; // these are CGImageRef's
> dispatch_a
On May 8, 2020, at 6:00 PM, Gabriel Zachmann via Cocoa-dev
wrote:
>
>> Sure. Just be aware that if you're using NSImage, simply loading an NSImage
>> does not rasterize it; the class tries to be 'lazy' about doing work. So
>> your background task should explicitly render it, e.g. into an
>> N
On Apr 25, 2020, at 10:12 AM, Gabriel Zachmann via Cocoa-dev
wrote:
>
> I am trying to follow these instructions:
>
> https://developer.apple.com/documentation/xcode/notarizing_macos_software_before_distribution/customizing_the_notarization_workflow?language=objc
>
> However, I can't even ach