Re: nef files no preview (nef is the nikon raw file format)

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
+ (text/plain)
Delete this message
Reply to this message
Author: Michael Havens
Date:  
To: Main PLUG discussion list
Subject: Re: nef files no preview (nef is the nikon raw file format)
Thanks for the real-life experience advice. Cool!
:-)~MIKE~(-:



On Fri, Dec 7, 2012 at 1:09 PM, Brian Cluff <> wrote:

> This isn't going to solve your problem, but I just wanted to point out
> that you will want to turn the preview threshold way back down.
>
> The reason being is that your can cause your computer to become
> unresponsive or at least very slow from the preview function.
>
> I discovered this because of a talk that I was giving on Inkscape. I
> wanted to show a difference in file size, in an extreme way between a
> raster file format (PNG in this case) and Inkscape's native SVG format. I
> did this my making a rectangle 20,000 by 20,000 rectangle in inkscape and
> then saved it as an SVG. The SVG file was maybe 1k. I then exported a PNG
> version that ended up being just over 4MB, much smaller than I thought it
> would be, but being all one color it was a perfect case for PNGs
> compression to shine.
>
> Then the problems started. Just after creating my examples, my computer
> started to freeze when I entered the directory that I was using for my
> presentation with Dolphin, KDE's file manager. I didn't know what was
> going on, because it was repeatable and I hadn't done any upgrades.
>
> What ended up being the problem was the 4MB file was below the system
> threshold for creating a thumbnail and so it was trying to decompress the
> image in order to create a thumbnail. The problem was it needed over 16GB
> of RAM in order to do that. And that amount exceeded the amount of RAM and
> swap combined on my system, not that I was willing to sit around and wait
> for it to finish, if it had.
>
> I ended up deleting that land mine of a file and just simply mentioned
> what I had discovered instead of coming up with hard numbers. The SVG
> version of the file would preview instantly... so go SVG!
>
> Everyday files aren't going to need 16GB+ of RAM in order to create
> previews, but with today's high MP cameras, it's not unlikely to come
> across images that will need a gig or two. That can greatly slow down
> everything just to get a thumbnail in a file manager. I would siggest
> cranking it down to the point that most things show up, but the big images
> are left out. Then just use a dedicated image viewer that most likely does
> a MUCH better job at caching thumbnails so you only have to generate them
> once.
>
> Brian Cluff
>
>
> On 12/07/2012 09:45 AM, Michael Havens wrote:
>
>> I opened up my sd card and caja doesn't preview some of the pictures. so
>> I checked th files' size and they were less than 10MBs but the file size
>> to preview was set to 10MB. I increased it to 1G anyways, refreshed the
>> page, and bam! the files previewed. I thought that was great. Then I
>> transferred the files from the card to the computer and once the files
>> had been transferred they wouldn't preview. I again checked the preview
>> file size to ensure it hadn't changed but it was still set to 1G. I then
>> decreased and then increased the preview file size but that didn't help
>> any. So what's wrong?
>>
>> I found this but wasn't sure it still applied seeing as how I got them
>> to preview before transferring them and this is for the previous version
>> of Mint; Mint12.
>> Currently I run mint13 on a 32 bit comaq cq57. I was also thinking it
>> didn;t apply because the new filemanager is caja and not nautilus.
>>
>> what found:
>>
>>     Modern cameras can store raw images which are a must for a serious
>>     photographer. Unfortunately raw image previews are not shown by
>>     Gnome's file manager Nautilus.

>>
>>     However, there is already a workaround type of solution for this. I
>>     will describe it in four steps.

>>
>>
>>     Step 1:
>>     Install gnome-raw-thumbnailer package.

>>
>>
>>     Step 2:
>>     Create a file /usr/share/thumbnailers/raw.**thumbnailer

>>
>>     Step 3:
>>     Put in these lines:

>>
>>     Exec=/usr/bin/gnome-raw-**thumbnailer -s %s %u %o
>>     MimeType=image/x-3fr;image/x-**adobe-dng;image/x-arw;image/x-**
>> bay;image/x-canon-cr2;image/x-**canon-crw;image/x-cap;image/x-**
>> cr2;image/x-crw;image/x-dcr;**image/x-dcraw;image/x-dcs;**
>> image/x-dng;image/x-drf;image/**x-eip;image/x-erf;image/x-fff;**
>> image/x-fuji-raf;image/x-iiq;**image/x-k25;image/x-kdc;image/**
>> x-mef;image/x-minolta-mrw;**image/x-mos;image/x-mrw;image/**
>> x-nef;image/x-nikon-nef;image/**x-nrw;image/x-olympus-orf;**
>> image/x-orf;image/x-panasonic-**raw;image/x-pef;image/x-**
>> pentax-pef;image/x-ptx;image/**x-pxn;image/x-r3d;image/x-raf;**
>> image/x-raw;image/x-rw2;image/**x-rwl;image/x-rwz;image/x-**
>> sigma-x3f;image/x-sony-arw;**image/x-sony-sr2;image/x-sony-**
>> srf;image/x-sr2;image/x-srf;**image/x-x3f;

>>
>>     (Steps 1, 2 and 3:)
>>     http://ubuntuguide.net/raw-**cr2-image-pr<http://ubuntuguide.net/raw-cr2-image-pr>... -thumbnail
>>     <http://ubuntuguide.net/raw-**cr2-image-preview-in-gnome-**
>> nautilus-using-gnome-raw-**thumbnail<http://ubuntuguide.net/raw-cr2-image-preview-in-gnome-nautilus-using-gnome-raw-thumbnail>

>> >
>>
>>
>>     Step 4:
>>     Nautilus/Settings/Preview
>>     Set Max Size to something more suitable than it is now by default.
>>     For example, there are options for 1, 5, 10 and 100Mb. My camera's
>>     raw images are 15 Mb so I have to choose 100Mb.

>>
>>     This worked with 64-bit Mint 12.

>>
>> :-)~MIKE~(-:
>>
>>
>>
>> ------------------------------**---------------------
>> PLUG-discuss mailing list - .**org<>
>> To subscribe, unsubscribe, or to change your mail settings:
>> http://lists.phxlinux.org/**mailman/listinfo/plug-discuss<http://lists.phxlinux.org/mailman/listinfo/plug-discuss>
>>
>>
> ------------------------------**---------------------
> PLUG-discuss mailing list - .**org<>
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/**mailman/listinfo/plug-discuss<http://lists.phxlinux.org/mailman/listinfo/plug-discuss>
>

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss