Re: Image GPS Properties Question

2020-04-02 Thread Marco S Hyman via Cocoa-dev
Update to what I wrote: > So the data I need is somewhere in the metadata, but CGImage... can’t see it. > This is only reported to be an issue when processing Cannon raw CR3 format > files. FWIW this issue was resolved by the release of macOS 10.15.4. Did not even need to recompile using the

Re: Image GPS Properties Question

2020-03-04 Thread Gabriel Zachmann via Cocoa-dev
> > Given a URL to an image I currently do this to grab image properties > (ignoring error handling to simplify the example code) > > let imgRef = CGImageSourceCreateWithURL(url as CFURL, nil) > let imgProps = CGImageSourceCopyPropertiesAtIndex(imgRef, 0, nil) as > NSDictionary? > let GPSDict