|
Re: Loading tiff files
Don’t worry. We all fall into that trap - more often than you might expect. You wouldn’t imagine how many times when I was preparing an email to the list when I reread what I was typing, looked
Don’t worry. We all fall into that trap - more often than you might expect. You wouldn’t imagine how many times when I was preparing an email to the list when I reread what I was typing, looked
|
By
Alex Zavatone
·
#1344
·
|
|
Re: Loading tiff files
My mistake. I should really stop skim reading.
Now I feel stupid.
My mistake. I should really stop skim reading.
Now I feel stupid.
|
By
tridiak
·
#1343
·
|
|
Re: Loading tiff files
This has a little more info that may be
This has a little more info that may be
|
By
Alex Zavatone
·
#1342
·
|
|
Re: Loading tiff files
Yep.
The NSImage class itself is capable of managing image data in a variety of formats. The specific list of formats is dependent on the version of the operating system but includes many standard
Yep.
The NSImage class itself is capable of managing image data in a variety of formats. The specific list of formats is dependent on the version of the operating system but includes many standard
|
By
Alex Zavatone
·
#1341
·
|
|
Re: Loading tiff files
Oh? It says so right in the class overview.
"The NSImage class itself is capable of managing image data in a variety of formats. The specific list of formats is dependent on the version of the
Oh? It says so right in the class overview.
"The NSImage class itself is capable of managing image data in a variety of formats. The specific list of formats is dependent on the version of the
|
By
Jens Alfke
·
#1340
·
|
|
Re: Loading tiff files
NSImage opens lots of image file types: jpg, tiff, many raw formats, etc. Instead of thinking “tif” think “image file”.
NSImage opens lots of image file types: jpg, tiff, many raw formats, etc. Instead of thinking “tif” think “image file”.
|
By
Marco S Hyman
·
#1339
·
|
|
Re: Loading tiff files
Ok. Thanks for help.
Google search gave me lots of ways of saving as tiff.
NSImage documentation not very informative what can open tiff.
Ok. Thanks for help.
Google search gave me lots of ways of saving as tiff.
NSImage documentation not very informative what can open tiff.
|
By
tridiak
·
#1338
·
|
|
Re: Loading tiff files
NSImage can do the job.
By
Marco S Hyman
·
#1337
·
|
|
Re: Loading tiff files
NSImage(contentsOf: heldURL )
NSImage(contentsOf: heldURL )
|
By
Bill Pitcher
·
#1336
·
|
|
Re: Loading tiff files
Sure. All the standard APIs that load images (FYI, you didn't specify a platform) handle TIFF. It used to be the standard image format on OpenStep, so support is still pretty ubiquitous.
—Jens
Sure. All the standard APIs that load images (FYI, you didn't specify a platform) handle TIFF. It used to be the standard image format on OpenStep, so support is still pretty ubiquitous.
—Jens
|
By
Jens Alfke
·
#1335
·
|
|
Loading tiff files
Is there any way to programmatically load tiff image files?
Or does there exist a library that can do such?
Mark
Is there any way to programmatically load tiff image files?
Or does there exist a library that can do such?
Mark
|
By
tridiak
·
#1334
·
|
|
Re: folder entitlements EPERM
You can open the desired System Preference Security Pane from your app to help the user with making the selection you need. Many apps have pretty cool dialogs that not only direct the user to the
You can open the desired System Preference Security Pane from your app to help the user with making the selection you need. Many apps have pretty cool dialogs that not only direct the user to the
|
By
Jack Brindle
·
#1333
·
|
|
Re: folder entitlements EPERM
Check out how Carbon Copy Cloner does it if you haven’t seen it recently.
Check out how Carbon Copy Cloner does it if you haven’t seen it recently.
|
By
Alex Zavatone
·
#1332
·
|
|
Re: folder entitlements EPERM
Thanks a lot! This is the perfect solution for my app:
System Preferences → Security & Privacy → Privacy → Full Disk Access (bottom of left scroll view) → add or enable app in right scroll
Thanks a lot! This is the perfect solution for my app:
System Preferences → Security & Privacy → Privacy → Full Disk Access (bottom of left scroll view) → add or enable app in right scroll
|
By
Gerriet M. Denkmann
·
#1331
·
|
|
Re: folder entitlements EPERM
Not just app store apps, on Catalina and especially Big Sur, all apps.
The suggestion is to have the user drag the app to the “Full Disk Access” panel of the Security & Privacy’s Privacy pane.
Not just app store apps, on Catalina and especially Big Sur, all apps.
The suggestion is to have the user drag the app to the “Full Disk Access” panel of the Security & Privacy’s Privacy pane.
|
By
Jack Brindle
·
#1330
·
|
|
Re: folder entitlements EPERM
I got rejected from the App Store for doing that. However, there are lots of apps in the App Store that prompt for access to the root level of a disk using an Open dialog and get approved, so you may
I got rejected from the App Store for doing that. However, there are lots of apps in the App Store that prompt for access to the root level of a disk using an Open dialog and get approved, so you may
|
By
Jon Gotow
·
#1329
·
|
|
Re: folder entitlements EPERM
Presumably you could solicit access to the root of the volume once, and thereafter build URLs for the relevant subpaths based on the security-scoped URL returned by the panel.
Per
Presumably you could solicit access to the root of the volume once, and thereafter build URLs for the relevant subpaths based on the security-scoped URL returned by the panel.
Per
|
By
Ben Kennedy
·
#1328
·
|
|
Re: folder entitlements EPERM
Isn't that just the normal behavior of the app sandbox? Sandboxed apps aren't allowed to access arbitrary areas of the filesystem, unless the user has implicitly given permission by navigating to a
Isn't that just the normal behavior of the app sandbox? Sandboxed apps aren't allowed to access arbitrary areas of the filesystem, unless the user has implicitly given permission by navigating to a
|
By
Jens Alfke
·
#1327
·
|
|
folder entitlements EPERM
macOS 11.1
There are quite a few folders, which behave absolutely normal using the Finder, but when my App tries to do:
open(folderPath, O_RDONLY)
it gets an EPERM error: "Operation not
macOS 11.1
There are quite a few folders, which behave absolutely normal using the Finder, but when my App tries to do:
open(folderPath, O_RDONLY)
it gets an EPERM error: "Operation not
|
By
Gerriet M. Denkmann
·
#1326
·
|
|
Re: item based NSBrowser
I found the SimpleCocoaBrowser (thanks very much for your hint) and it works just fine.
The BrowserDelegate (called AppController in the sample code) implements 4 required + 1 optional methods:
-
I found the SimpleCocoaBrowser (thanks very much for your hint) and it works just fine.
The BrowserDelegate (called AppController in the sample code) implements 4 required + 1 optional methods:
-
|
By
Gerriet M. Denkmann
·
#1325
·
|