How to remove or disable "Finder Preview" for a file type?

I have some large .hdr files which are large image files, and cause PathFinder (but I guess the issue is not really Finder or PathFinder but the preview app being called in Preview feature) to beachball forever. The problem is the calculation of image size and thumbnail display when either clicking on the .hdr image file (which brings in preview) or ctrl-clicking on the file which kicks off image size calculation for contextual menu in PathFinder (confirmed by PathFinder support). While I can get around ctrl-clicking until this issue is fixed, there is no walking around preview feature for thumbnail viewing unless I tell Preview not to consider .hdr files as image files (while still being able to view thumbnails of other image formats such as jpg and tif, which is what I will like to do).

Those .hdr files are not valid Photoshop radiance files. They are generated by Photomatix (www.hdrsoft.com). So, Preview seems to be having issues with it. Whenever I click on a large file (no problem with an empty file labeled with .hdr extension), PathFinder memory shoots from 50+MB to 500+MB and it beachballs forever until I kill it.

So, I will like to tell Preview not to consider .hdr files as image files. Pointers on how to do this will be appreciated. I am guessing that Preview.app is being called by Finder (same thing should apply to PathFinder) to calculate image sizes and render thumbnails. Please correct me if I am wrong about it.

Macbook, Mac OS X (10.4.8), Intel Core2Duo

Posted on Mar 28, 2007 8:24 AM

Reply
6 replies

Mar 28, 2007 9:16 AM in response to dailyjoe

Select the .hdr icon. Hit command I or go under finder to get info. The .hdr info will appear for that icon. Look down the info to open with. Select the application that you would like .hdr to be opened with, and if you would like all of the .hdr files to be opened by that same application, click change all.
Is this what you are looking for?
And by the way, what kind of file is a .hdr? is it a picture file?

Hope that I helped.

Mar 28, 2007 9:55 AM in response to leghorn

Well, I already did that before. That didn't solve the issue. It is a "High Dynamic Range" image file (with floating point 32-bit numbers) created by Photomatix (www.hdrsoft.com).

The issue is that the file is still treated as image file by Preview - that is my guess. So, it is Preview that is trying to calculate image dimensions, not Photomatix (otherwise how is Preview/Finder going to call Photomatix to get the info unless there is a standardized API), even though .hdr is associated with Photomatix for all .hdr files on disk.

Mar 28, 2007 1:41 PM in response to leghorn

Well, simply clicking on the file when preview option is on will beachball PathFinder. So, even before I can drag-drop it to Photomatix, my guess is that PathFinder will start processing it with Preview to get the dimensions, and so, will beachball. That is why I want to disable the previewing of .hdr files in the first place. They open fine in Photomatix if I disable the preview option for everything including other image files, but I don't want to. I want to disable it only for .hdr files.

Mar 28, 2007 2:43 PM in response to dailyjoe

You can turn off the preview column in Finder's Show View Options. I don't know if this will help with your problem. Also, I 'think' if you use a program to create a preview icon for the file (assuming it supports that format) the Finder will use that. It sounds like you want to keep icon preview selected, so I don't think there is a way to conditionally show the previews. You can also set Finder's PreviewDisclosureState to 0, which hides the preview icon--it controls the disclosure triangle in the preview column. Again, I don't know how this will affect what you want.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How to remove or disable "Finder Preview" for a file type?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.