Thanks for the real-life experience advice. Cool!<br clear="all"><div>:-)~MIKE~(-:</div><br>
<br><br><div class="gmail_quote">On Fri, Dec 7, 2012 at 1:09 PM, Brian Cluff <span dir="ltr"><<a href="mailto:brian@snaptek.com" target="_blank">brian@snaptek.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
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.<br>
<br>
The reason being is that your can cause your computer to become unresponsive or at least very slow from the preview function.<br>
<br>
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.<br>
<br>
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.<br>
<br>
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.<br>
<br>
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!<br>
<br>
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.<br>
<br>
Brian Cluff<div><div class="h5"><br>
<br>
On 12/07/2012 09:45 AM, Michael Havens wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
I opened up my sd card and caja doesn't preview some of the pictures. so<br>
I checked th files' size and they were less than 10MBs but the file size<br>
to preview was set to 10MB. I increased it to 1G anyways, refreshed the<br>
page, and bam! the files previewed. I thought that was great. Then I<br>
transferred the files from the card to the computer and once the files<br>
had been transferred they wouldn't preview. I again checked the preview<br>
file size to ensure it hadn't changed but it was still set to 1G. I then<br>
decreased and then increased the preview file size but that didn't help<br>
any. So what's wrong?<br>
<br>
I found this but wasn't sure it still applied seeing as how I got them<br>
to preview before transferring them and this is for the previous version<br>
of Mint; Mint12.<br>
Currently I run mint13 on a 32 bit comaq cq57. I was also thinking it<br>
didn;t apply because the new filemanager is caja and not nautilus.<br>
<br>
what found:<br>
<br>
Modern cameras can store raw images which are a must for a serious<br>
photographer. Unfortunately raw image previews are not shown by<br>
Gnome's file manager Nautilus.<br>
<br>
However, there is already a workaround type of solution for this. I<br>
will describe it in four steps.<br>
<br>
<br>
Step 1:<br>
Install gnome-raw-thumbnailer package.<br>
<br>
<br>
Step 2:<br>
Create a file /usr/share/thumbnailers/raw.<u></u>thumbnailer<br>
<br>
Step 3:<br>
Put in these lines:<br>
<br>
Exec=/usr/bin/gnome-raw-<u></u>thumbnailer -s %s %u %o<br>
MimeType=image/x-3fr;image/x-<u></u>adobe-dng;image/x-arw;image/x-<u></u>bay;image/x-canon-cr2;image/x-<u></u>canon-crw;image/x-cap;image/x-<u></u>cr2;image/x-crw;image/x-dcr;<u></u>image/x-dcraw;image/x-dcs;<u></u>image/x-dng;image/x-drf;image/<u></u>x-eip;image/x-erf;image/x-fff;<u></u>image/x-fuji-raf;image/x-iiq;<u></u>image/x-k25;image/x-kdc;image/<u></u>x-mef;image/x-minolta-mrw;<u></u>image/x-mos;image/x-mrw;image/<u></u>x-nef;image/x-nikon-nef;image/<u></u>x-nrw;image/x-olympus-orf;<u></u>image/x-orf;image/x-panasonic-<u></u>raw;image/x-pef;image/x-<u></u>pentax-pef;image/x-ptx;image/<u></u>x-pxn;image/x-r3d;image/x-raf;<u></u>image/x-raw;image/x-rw2;image/<u></u>x-rwl;image/x-rwz;image/x-<u></u>sigma-x3f;image/x-sony-arw;<u></u>image/x-sony-sr2;image/x-sony-<u></u>srf;image/x-sr2;image/x-srf;<u></u>image/x-x3f;<br>
<br>
(Steps 1, 2 and 3:)<br>
<a href="http://ubuntuguide.net/raw-cr2-image-pr" target="_blank">http://ubuntuguide.net/raw-<u></u>cr2-image-pr</a> ... -thumbnail<br></div></div>
<<a href="http://ubuntuguide.net/raw-cr2-image-preview-in-gnome-nautilus-using-gnome-raw-thumbnail" target="_blank">http://ubuntuguide.net/raw-<u></u>cr2-image-preview-in-gnome-<u></u>nautilus-using-gnome-raw-<u></u>thumbnail</a>><div class="im">
<br>
<br>
Step 4:<br>
Nautilus/Settings/Preview<br>
Set Max Size to something more suitable than it is now by default.<br>
For example, there are options for 1, 5, 10 and 100Mb. My camera's<br>
raw images are 15 Mb so I have to choose 100Mb.<br>
<br>
This worked with 64-bit Mint 12.<br>
<br>
:-)~MIKE~(-:<br>
<br>
<br>
<br></div>
------------------------------<u></u>---------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.<u></u>org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/<u></u>mailman/listinfo/plug-discuss</a><br>
<br>
</blockquote>
<br>
------------------------------<u></u>---------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.<u></u>org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/<u></u>mailman/listinfo/plug-discuss</a><br>
</blockquote></div><br>