Post

Replies

Boosts

Views

Activity

How to import RAW Image file data in a swift macOS application using Image I/O?
Basically, long and the short of my problem is I NEED to import the full uncompressed RAW image data (obviously from macOS supported image formats) for a project into an array. Unfortunately all example documentation on Image I/O on the Apple dev website appears to have been written with objective-c in mind. Further to this, even when I try to use the class info documentation to produce this code: func getImages(fileLocation:String) -> Void{ 		let url = CFURLCreateWithString(kCFAllocatorDefault, fileLocation as CFString, nil)! 		let imageSource	= CGImageSourceCreateWithURL(url, nil) } The image source does not get created and I just get a nil response. Any help would be appreciated or even a bit of a suggestion as to where to look. Please keep in mind as well that this is for a scientific computing system that will need as much data collected by the CMOS sensor that produced the file as possible.
2
0
1.2k
Dec ’20
Code 12 in Windows 10 Bootcamp
I got the Developer Kit a few days ago in the post and have been giving it a go in MacOS and it runs quite well I have to say (even if it isnt the default GPU in the OS for some things), but today I tried to use the eGPU in Windows 10 via Bootcamp on a 2016 15 inch MacBook Pro and all I could get was a notification to restart the machine to finishing installing drivers ((even after restarting) and the following error:This device cannot find enough free resources that it can use. (Code 12)Has anyone had any experience with this, or know how to fix it? All I can find online are questionable hacks requiring the uninstalling of the discrete graphics cards drivers and fixes for other machines. Any help would be greatly appreciated
1
0
4k
Jan ’18