Re: [Thunar-dev] dcraw thumbnailer

2007-01-13 Thread Erlend Davidson


Mike Massonnet wrote:
> On Tue, Jan 09, 2007 at 07:55:51PM +, Erlend Davidson wrote:
>   
>> Mike Massonnet wrote:
>> 
>>> What about using the directory /dev/shm (if it exists) to do the
>>> compilation?  For the record, it is a filesystem in RAM which is
>>> noticeably faster than hard-disk access.
>>>   
>> Making a thumbnail for postscript is very easy, I just call 
>> ImageMagick's convert program - there is no middle stage that I could 
>> place on /dev/shm, if that's what you meant?  If anybody knows of a 
>> faster means of generating a thumbnail of postscript please say.
>> 
>
> You can use a tmpfs to generate tex thumbnails for instance :)

But before every thumbnail is generated, I'd have to mount -t tmpfs none 
/tmp/tmpfs and then unmount it at the end... I need to be root to do that.

I've just tried it - no improvement in speed, surprisingly.
___
Thunar-dev mailing list
Thunar-dev@xfce.org
http://foo-projects.org/mailman/listinfo/thunar-dev


Re: [Thunar-dev] dcraw thumbnailer

2007-01-10 Thread Benedikt Meurer
Timothy White wrote:
 thunar-thumbnailers could install a mime type for the .MRW files.
>>> OK, but how do we do that?  Add it to /etc/mime.types, some distibutions
>>> install that file as a separate package?
>> No, install new mime types into the shared mime database. See the
>> shared-mime-info page on freedesktop.org for details. IIRC there was
>> also an automake tutorial for this on live.gnome.org.
> 
> I still have no luck. NEF files are seen as TIFF's, and the default
> thumbnailer manages to get the embedded thumbnails. MRW files are
> simply unknown, or reported as a "mrw document".
> 
> The raw thumbnailers desktop entry contains the correct MIME types, we
> just need it detecting the correct MIME types.
> 
> MimeType=image/x-canon-crw;image/x-fuji-raf;image/x-minolta-mrw;image/x-nikon-nef;image/x-kodak-dcr;image/x-kodak-kdc;image/x-olympus;

Adding glob patterns for *.nef and *.mrw should do the trick. See the
shared mime database specification.

> Tim

Benedikt
___
Thunar-dev mailing list
Thunar-dev@xfce.org
http://foo-projects.org/mailman/listinfo/thunar-dev


Re: [Thunar-dev] dcraw thumbnailer

2007-01-09 Thread Mike Massonnet
On Tue, Jan 09, 2007 at 07:55:51PM +, Erlend Davidson wrote:
> 
> 
> Mike Massonnet wrote:
> > On Mon, Jan 08, 2007 at 08:02:28PM +, Erlend Davidson wrote:
> >   
> >> There is a postscript thumnailer in there too now. This is a tad slow 
> >> (worst is 3 seconds per file), and I don't see that being a fixable 
> >> problem - it's just the way postscript is stored. I was thinking about a 
> >> couple of things in relation to this. It might be an idea to give 
> >> thumbnailers a priority in the .desktop files - keep the slowest ones 
> >> until last, and to give a way out if there is ever a conflict between 
> >> two thumbnailers wanting to do the same mimetype (i.e. choose the 
> >> fastest one which has all of TryExec satisfied)?
> >> 
> >
> > What about using the directory /dev/shm (if it exists) to do the
> > compilation?  For the record, it is a filesystem in RAM which is
> > noticeably faster than hard-disk access.
> Making a thumbnail for postscript is very easy, I just call 
> ImageMagick's convert program - there is no middle stage that I could 
> place on /dev/shm, if that's what you meant?  If anybody knows of a 
> faster means of generating a thumbnail of postscript please say.

You can use a tmpfs to generate tex thumbnails for instance :)


Mike
-- 
 http://massonnet.org/ Mike (m8t) Massonnet __oo 
 GnuPG 0--" 0xF8C80F97  ---(_)_"> 
 C4DA 431D 52F9 F930 3E5B  3E3D 546C 89D9 F8C8 0F97 


signature.asc
Description: Digital signature
___
Thunar-dev mailing list
Thunar-dev@xfce.org
http://foo-projects.org/mailman/listinfo/thunar-dev


Re: [Thunar-dev] dcraw thumbnailer

2007-01-09 Thread Timothy White
On 1/10/07, Benedikt Meurer <[EMAIL PROTECTED]> wrote:
> Erlend Davidson wrote:
> >> thunar-thumbnailers could install a mime type for the .MRW files.
> >
> > OK, but how do we do that?  Add it to /etc/mime.types, some distibutions
> > install that file as a separate package?
>
> No, install new mime types into the shared mime database. See the
> shared-mime-info page on freedesktop.org for details. IIRC there was
> also an automake tutorial for this on live.gnome.org.

I still have no luck. NEF files are seen as TIFF's, and the default
thumbnailer manages to get the embedded thumbnails. MRW files are
simply unknown, or reported as a "mrw document".

The raw thumbnailers desktop entry contains the correct MIME types, we
just need it detecting the correct MIME types.

MimeType=image/x-canon-crw;image/x-fuji-raf;image/x-minolta-mrw;image/x-nikon-nef;image/x-kodak-dcr;image/x-kodak-kdc;image/x-olympus;

Tim
-- 
Linux Counter user #273956
Don't email [EMAIL PROTECTED]
___
Thunar-dev mailing list
Thunar-dev@xfce.org
http://foo-projects.org/mailman/listinfo/thunar-dev


Re: [Thunar-dev] dcraw thumbnailer

2007-01-09 Thread Benedikt Meurer
Mike Massonnet wrote:
> On Mon, Jan 08, 2007 at 08:02:28PM +, Erlend Davidson wrote:
>> There is a postscript thumnailer in there too now. This is a tad slow 
>> (worst is 3 seconds per file), and I don't see that being a fixable 
>> problem - it's just the way postscript is stored. I was thinking about a 
>> couple of things in relation to this. It might be an idea to give 
>> thumbnailers a priority in the .desktop files - keep the slowest ones 
>> until last, and to give a way out if there is ever a conflict between 
>> two thumbnailers wanting to do the same mimetype (i.e. choose the 
>> fastest one which has all of TryExec satisfied)?
> 
> What about using the directory /dev/shm (if it exists) to do the
> compilation?  For the record, it is a filesystem in RAM which is
> noticeably faster than hard-disk access.

You can use tmpfs for this.

> Regards,
> Mike

Benedikt
___
Thunar-dev mailing list
Thunar-dev@xfce.org
http://foo-projects.org/mailman/listinfo/thunar-dev


Re: [Thunar-dev] dcraw thumbnailer

2007-01-09 Thread Benedikt Meurer
Erlend Davidson wrote:
>> thunar-thumbnailers could install a mime type for the .MRW files.
> 
> OK, but how do we do that?  Add it to /etc/mime.types, some distibutions 
> install that file as a separate package?

No, install new mime types into the shared mime database. See the
shared-mime-info page on freedesktop.org for details. IIRC there was
also an automake tutorial for this on live.gnome.org.

Benedikt
___
Thunar-dev mailing list
Thunar-dev@xfce.org
http://foo-projects.org/mailman/listinfo/thunar-dev


Re: [Thunar-dev] dcraw thumbnailer

2007-01-09 Thread Erlend Davidson


Mike Massonnet wrote:
> On Mon, Jan 08, 2007 at 08:02:28PM +, Erlend Davidson wrote:
>   
>> There is a postscript thumnailer in there too now. This is a tad slow 
>> (worst is 3 seconds per file), and I don't see that being a fixable 
>> problem - it's just the way postscript is stored. I was thinking about a 
>> couple of things in relation to this. It might be an idea to give 
>> thumbnailers a priority in the .desktop files - keep the slowest ones 
>> until last, and to give a way out if there is ever a conflict between 
>> two thumbnailers wanting to do the same mimetype (i.e. choose the 
>> fastest one which has all of TryExec satisfied)?
>> 
>
> What about using the directory /dev/shm (if it exists) to do the
> compilation?  For the record, it is a filesystem in RAM which is
> noticeably faster than hard-disk access.
Making a thumbnail for postscript is very easy, I just call 
ImageMagick's convert program - there is no middle stage that I could 
place on /dev/shm, if that's what you meant?  If anybody knows of a 
faster means of generating a thumbnail of postscript please say.

I think the priorities would be very useful, for example if I wanted to 
implement two means to produce a postscript thumbnail, but one of those 
is a lost faster and depended on some unusual program that not many 
would have installed.  I'd want to give the faster one a higher 
priority, so that out of the two it is chosen when possible.
___
Thunar-dev mailing list
Thunar-dev@xfce.org
http://foo-projects.org/mailman/listinfo/thunar-dev


Re: [Thunar-dev] dcraw thumbnailer

2007-01-09 Thread Mike Massonnet
On Mon, Jan 08, 2007 at 08:02:28PM +, Erlend Davidson wrote:
> There is a postscript thumnailer in there too now. This is a tad slow 
> (worst is 3 seconds per file), and I don't see that being a fixable 
> problem - it's just the way postscript is stored. I was thinking about a 
> couple of things in relation to this. It might be an idea to give 
> thumbnailers a priority in the .desktop files - keep the slowest ones 
> until last, and to give a way out if there is ever a conflict between 
> two thumbnailers wanting to do the same mimetype (i.e. choose the 
> fastest one which has all of TryExec satisfied)?

What about using the directory /dev/shm (if it exists) to do the
compilation?  For the record, it is a filesystem in RAM which is
noticeably faster than hard-disk access.

Regards,
Mike
-- 
 http://massonnet.org/ Mike (m8t) Massonnet __oo 
 GnuPG 0--" 0xF8C80F97  ---(_)_"> 
 C4DA 431D 52F9 F930 3E5B  3E3D 546C 89D9 F8C8 0F97 


signature.asc
Description: Digital signature
___
Thunar-dev mailing list
Thunar-dev@xfce.org
http://foo-projects.org/mailman/listinfo/thunar-dev


Re: [Thunar-dev] dcraw thumbnailer

2007-01-09 Thread samuel verstraete
On 1/9/07, Erlend Davidson <[EMAIL PROTECTED]> wrote:
>
>
> Samuel Verstraete wrote:
> > On Tue, 09 Jan 2007 17:20:28 +0100
> > Benedikt Meurer <[EMAIL PROTECTED]> wrote:
> >
> >
> >> Samuel Verstraete wrote:
> >>
> >>> On Tue, 09 Jan 2007 12:59:24 +0100
> >>> Benedikt Meurer <[EMAIL PROTECTED]> wrote:
> >>>
> >>>
>  Samuel Verstraete wrote:
> 
> > Thunar guessed those nef files correctly but it's still is not
> > thumbnailing...
> >
>  Is the thumbnailers cache up2date (grep
>  ~/.cache/Thunar/thumbnailers.cache for the mime type)?
> 
> >>> Doesn't seem to be there
> >>>
> >>> [EMAIL PROTECTED] ~
> >>> $ /usr/libexec/thunar-vfs-update-thumbnailers-cache-1
> >>> [EMAIL PROTECTED] ~ $ grep nikon ./.cache/Thunar/thumbnailers.cache
> >>> [EMAIL PROTECTED] ~ $
> >>>
> >>> The mime type is recognize by Thunar as:
> >>> Kind: Nikon raw image
> >>> in the hover up "window" image/x-nikon-nef
> >>>
> >>> As said... i'm clueless :)
> >>>
> >> Does the thumbnailer .desktop file specify image/x-nikon-nef as
> >> MimeType?
> >>
> >
> >  (fill in whatever evil curse you can find here) 
> >
> > yeah i should have read the ./configure --help... seems like the raw
> > thumnailer is only enabled optionally...
> >
> > very very
> > very sorry for all the noise...
> >
> > works like a charm now
> >
> > sigh :(
> > gr,S.
> I wondered about this being a problem when I did it... maybe
> --disable-raw instead of --enable-raw would be clearer?

no no... completely correct to do it this way... i just forgot to read
the configure --help page... no blame on you... just my stupid self ;)

> ___
> Thunar-dev mailing list
> Thunar-dev@xfce.org
> http://foo-projects.org/mailman/listinfo/thunar-dev
>
___
Thunar-dev mailing list
Thunar-dev@xfce.org
http://foo-projects.org/mailman/listinfo/thunar-dev


Re: [Thunar-dev] dcraw thumbnailer

2007-01-09 Thread Erlend Davidson


Samuel Verstraete wrote:
> On Tue, 09 Jan 2007 17:20:28 +0100
> Benedikt Meurer <[EMAIL PROTECTED]> wrote:
>
>   
>> Samuel Verstraete wrote:
>> 
>>> On Tue, 09 Jan 2007 12:59:24 +0100
>>> Benedikt Meurer <[EMAIL PROTECTED]> wrote:
>>>
>>>   
 Samuel Verstraete wrote:
 
> Thunar guessed those nef files correctly but it's still is not
> thumbnailing...
>   
 Is the thumbnailers cache up2date (grep
 ~/.cache/Thunar/thumbnailers.cache for the mime type)?
 
>>> Doesn't seem to be there 
>>>
>>> [EMAIL PROTECTED] ~
>>> $ /usr/libexec/thunar-vfs-update-thumbnailers-cache-1
>>> [EMAIL PROTECTED] ~ $ grep nikon ./.cache/Thunar/thumbnailers.cache
>>> [EMAIL PROTECTED] ~ $ 
>>>
>>> The mime type is recognize by Thunar as: 
>>> Kind: Nikon raw image
>>> in the hover up "window" image/x-nikon-nef
>>>
>>> As said... i'm clueless :)
>>>   
>> Does the thumbnailer .desktop file specify image/x-nikon-nef as
>> MimeType?
>> 
>
>  (fill in whatever evil curse you can find here) 
>
> yeah i should have read the ./configure --help... seems like the raw
> thumnailer is only enabled optionally...
>
> very very
> very sorry for all the noise...
>
> works like a charm now 
>
> sigh :(
> gr,S.
I wondered about this being a problem when I did it... maybe 
--disable-raw instead of --enable-raw would be clearer?
___
Thunar-dev mailing list
Thunar-dev@xfce.org
http://foo-projects.org/mailman/listinfo/thunar-dev


Re: [Thunar-dev] dcraw thumbnailer

2007-01-09 Thread Samuel Verstraete
On Tue, 09 Jan 2007 17:20:28 +0100
Benedikt Meurer <[EMAIL PROTECTED]> wrote:

> Samuel Verstraete wrote:
> > On Tue, 09 Jan 2007 12:59:24 +0100
> > Benedikt Meurer <[EMAIL PROTECTED]> wrote:
> > 
> >> Samuel Verstraete wrote:
> >>> Thunar guessed those nef files correctly but it's still is not
> >>> thumbnailing...
> >> Is the thumbnailers cache up2date (grep
> >> ~/.cache/Thunar/thumbnailers.cache for the mime type)?
> > 
> > Doesn't seem to be there 
> > 
> > [EMAIL PROTECTED] ~
> > $ /usr/libexec/thunar-vfs-update-thumbnailers-cache-1
> > [EMAIL PROTECTED] ~ $ grep nikon ./.cache/Thunar/thumbnailers.cache
> > [EMAIL PROTECTED] ~ $ 
> > 
> > The mime type is recognize by Thunar as: 
> > Kind: Nikon raw image
> > in the hover up "window" image/x-nikon-nef
> > 
> > As said... i'm clueless :)
> 
> Does the thumbnailer .desktop file specify image/x-nikon-nef as
> MimeType?

 (fill in whatever evil curse you can find here) 

yeah i should have read the ./configure --help... seems like the raw
thumnailer is only enabled optionally...

very very
very sorry for all the noise...

works like a charm now 

sigh :(
gr,S.
> 
> > gr,S.
> 
> Benedikt
> ___
> Thunar-dev mailing list
> Thunar-dev@xfce.org
> http://foo-projects.org/mailman/listinfo/thunar-dev
___
Thunar-dev mailing list
Thunar-dev@xfce.org
http://foo-projects.org/mailman/listinfo/thunar-dev


Re: [Thunar-dev] dcraw thumbnailer

2007-01-09 Thread Erlend Davidson


Benedikt Meurer wrote:
> Timothy White wrote:
>   
>> With my Minolta, it doesn't.
>> $dcraw -w -i PICT3834.MRW
>> PICT3834.MRW is a MINOLTA DYNAX 5D image.
>>
>> 
> Can you check what your system seems the mimetype as...
> $ file -i -b PICT3834.MRW
>   
 $ file -i -b PICT3834.MRW
 application/octet-stream
 
>>> file doesn't use the shared mime database. Thunar might guess a
>>> different mime type. Open the properties dialog and move the mouse over
>>> the Type label, it'll show the guessed mime type as tooltip.
>>>   
>> Executable. So no dice.
>> 
>
> thunar-thumbnailers could install a mime type for the .MRW files.

OK, but how do we do that?  Add it to /etc/mime.types, some distibutions 
install that file as a separate package?
___
Thunar-dev mailing list
Thunar-dev@xfce.org
http://foo-projects.org/mailman/listinfo/thunar-dev


Re: [Thunar-dev] dcraw thumbnailer

2007-01-09 Thread Benedikt Meurer
Samuel Verstraete wrote:
> On Tue, 09 Jan 2007 12:59:24 +0100
> Benedikt Meurer <[EMAIL PROTECTED]> wrote:
> 
>> Samuel Verstraete wrote:
>>> Thunar guessed those nef files correctly but it's still is not
>>> thumbnailing...
>> Is the thumbnailers cache up2date (grep
>> ~/.cache/Thunar/thumbnailers.cache for the mime type)?
> 
> Doesn't seem to be there 
> 
> [EMAIL PROTECTED] ~ $ /usr/libexec/thunar-vfs-update-thumbnailers-cache-1 
> [EMAIL PROTECTED] ~ $ grep nikon ./.cache/Thunar/thumbnailers.cache 
> [EMAIL PROTECTED] ~ $ 
> 
> The mime type is recognize by Thunar as: 
> Kind: Nikon raw image
> in the hover up "window" image/x-nikon-nef
> 
> As said... i'm clueless :)

Does the thumbnailer .desktop file specify image/x-nikon-nef as MimeType?

> gr,S.

Benedikt
___
Thunar-dev mailing list
Thunar-dev@xfce.org
http://foo-projects.org/mailman/listinfo/thunar-dev


Re: [Thunar-dev] dcraw thumbnailer

2007-01-09 Thread Samuel Verstraete
On Tue, 09 Jan 2007 12:59:24 +0100
Benedikt Meurer <[EMAIL PROTECTED]> wrote:

> Samuel Verstraete wrote:
> > Thunar guessed those nef files correctly but it's still is not
> > thumbnailing...
> 
> Is the thumbnailers cache up2date (grep
> ~/.cache/Thunar/thumbnailers.cache for the mime type)?

Doesn't seem to be there 

[EMAIL PROTECTED] ~ $ /usr/libexec/thunar-vfs-update-thumbnailers-cache-1 
[EMAIL PROTECTED] ~ $ grep nikon ./.cache/Thunar/thumbnailers.cache 
[EMAIL PROTECTED] ~ $ 

The mime type is recognize by Thunar as: 
Kind: Nikon raw image
in the hover up "window" image/x-nikon-nef

As said... i'm clueless :)

gr,S.

> 
> Benedikt
> ___
> Thunar-dev mailing list
> Thunar-dev@xfce.org
> http://foo-projects.org/mailman/listinfo/thunar-dev
___
Thunar-dev mailing list
Thunar-dev@xfce.org
http://foo-projects.org/mailman/listinfo/thunar-dev


Re: [Thunar-dev] dcraw thumbnailer

2007-01-09 Thread Benedikt Meurer
Samuel Verstraete wrote:
> Thunar guessed those nef files correctly but it's still is not
> thumbnailing...

Is the thumbnailers cache up2date (grep
~/.cache/Thunar/thumbnailers.cache for the mime type)?

Benedikt
___
Thunar-dev mailing list
Thunar-dev@xfce.org
http://foo-projects.org/mailman/listinfo/thunar-dev


Re: [Thunar-dev] dcraw thumbnailer

2007-01-09 Thread Benedikt Meurer
Timothy White wrote:
> With my Minolta, it doesn't.
> $dcraw -w -i PICT3834.MRW
> PICT3834.MRW is a MINOLTA DYNAX 5D image.
>
 Can you check what your system seems the mimetype as...
 $ file -i -b PICT3834.MRW
>>> $ file -i -b PICT3834.MRW
>>> application/octet-stream
>> file doesn't use the shared mime database. Thunar might guess a
>> different mime type. Open the properties dialog and move the mouse over
>> the Type label, it'll show the guessed mime type as tooltip.
> 
> Executable. So no dice.

thunar-thumbnailers could install a mime type for the .MRW files.

> Tim

Benedikt
___
Thunar-dev mailing list
Thunar-dev@xfce.org
http://foo-projects.org/mailman/listinfo/thunar-dev


Re: [Thunar-dev] dcraw thumbnailer

2007-01-09 Thread Timothy White
On 1/9/07, Benedikt Meurer <[EMAIL PROTECTED]> wrote:
> Timothy White wrote:
> >>> With my Minolta, it doesn't.
> >>> $dcraw -w -i PICT3834.MRW
> >>> PICT3834.MRW is a MINOLTA DYNAX 5D image.
> >>>
> >> Can you check what your system seems the mimetype as...
> >> $ file -i -b PICT3834.MRW
> >
> > $ file -i -b PICT3834.MRW
> > application/octet-stream
>
> file doesn't use the shared mime database. Thunar might guess a
> different mime type. Open the properties dialog and move the mouse over
> the Type label, it'll show the guessed mime type as tooltip.

Executable. So no dice.

Tim
-- 
Linux Counter user #273956
Don't email [EMAIL PROTECTED]
___
Thunar-dev mailing list
Thunar-dev@xfce.org
http://foo-projects.org/mailman/listinfo/thunar-dev


Re: [Thunar-dev] dcraw thumbnailer

2007-01-09 Thread Samuel Verstraete
Thunar guessed those nef files correctly but it's still is not
thumbnailing...

On Tue, 09 Jan 2007 11:58:04 +0100
Benedikt Meurer <[EMAIL PROTECTED]> wrote:

> Timothy White wrote:
> >>> With my Minolta, it doesn't.
> >>> $dcraw -w -i PICT3834.MRW
> >>> PICT3834.MRW is a MINOLTA DYNAX 5D image.
> >>>
> >> Can you check what your system seems the mimetype as...
> >> $ file -i -b PICT3834.MRW
> > 
> > $ file -i -b PICT3834.MRW
> > application/octet-stream
> 
> file doesn't use the shared mime database. Thunar might guess a
> different mime type. Open the properties dialog and move the mouse
> over the Type label, it'll show the guessed mime type as tooltip.
> 
> > Thanks
> > Tim
> 
> Benedikt
> ___
> Thunar-dev mailing list
> Thunar-dev@xfce.org
> http://foo-projects.org/mailman/listinfo/thunar-dev
___
Thunar-dev mailing list
Thunar-dev@xfce.org
http://foo-projects.org/mailman/listinfo/thunar-dev


Re: [Thunar-dev] dcraw thumbnailer

2007-01-09 Thread Benedikt Meurer
Timothy White wrote:
>>> With my Minolta, it doesn't.
>>> $dcraw -w -i PICT3834.MRW
>>> PICT3834.MRW is a MINOLTA DYNAX 5D image.
>>>
>> Can you check what your system seems the mimetype as...
>> $ file -i -b PICT3834.MRW
> 
> $ file -i -b PICT3834.MRW
> application/octet-stream

file doesn't use the shared mime database. Thunar might guess a
different mime type. Open the properties dialog and move the mouse over
the Type label, it'll show the guessed mime type as tooltip.

> Thanks
> Tim

Benedikt
___
Thunar-dev mailing list
Thunar-dev@xfce.org
http://foo-projects.org/mailman/listinfo/thunar-dev


Re: [Thunar-dev] dcraw thumbnailer

2007-01-09 Thread Timothy White
On 1/9/07, Erlend Davidson <[EMAIL PROTECTED]> wrote:
> >
> > With my Minolta, it doesn't.
> > $dcraw -w -i PICT3834.MRW
> > PICT3834.MRW is a MINOLTA DYNAX 5D image.
> >
> Can you check what your system seems the mimetype as...
> $ file -i -b PICT3834.MRW

$ file -i -b PICT3834.MRW
application/octet-stream

Ok, so is there a list of correct mimetypes that we can include with
the thumbnailer? It appears to me that this is probably something
needed, as I can't think what else would set the mimetype other than
dcraw and the thumbnailer for these kinds of files.
I assume the NEF files it appeared to be working with probably wasn't
actually working, just showing the embedded jpeg thumbnail.

Thanks

Tim
-- 
Linux Counter user #273956
Don't email [EMAIL PROTECTED]
___
Thunar-dev mailing list
Thunar-dev@xfce.org
http://foo-projects.org/mailman/listinfo/thunar-dev


Re: [Thunar-dev] dcraw thumbnailer

2007-01-09 Thread Erlend Davidson


Samuel Verstraete wrote:
> On Tue, 9 Jan 2007 10:23:17 +0900
> "Timothy White" <[EMAIL PROTECTED]> wrote:
>
>   
>> On 1/9/07, Erlend Davidson <[EMAIL PROTECTED]> wrote:
>> 
>>> Thanks Jens - I've added it to SVN. Dcraw claims to be able to
>>> produce thumbnails of all camera raw images... I've added all the
>>> mimetypes for the different formats apart from Adobe's DNG, Sony's
>>> arw, and Sigma's x3f (because I don't know those mimetypes). This
>>> needs testing, so could anybody with any digital camera that
>>> supports Raw please try the thumbnailer? I'm also curious as to how
>>> long it takes?
>>>   
>> Works nicely with NEF files (Nikon I think, my mates photos).
>> Although I get the odd feeling that I had thumbnails for them back in
>> November when they were taken, so not sure if they have embedded
>> thumbnails seeing as gqview only see's a low res version when forced
>> to open the file.)
>> Still, cleared the thumbnail cache, opened the folder and while it was
>> a slow (maybe 4 a second) generation, it appears to work!!
>> 
>
> No success here with nef files...
It's probably just that your system isn't correctly recognising the 
images as image/x-nikon-nef, and so the thumbnailer isn't being called.  
Can you tell me the output of
$ file -i -b RAW_IMAGE_FILE
please?
___
Thunar-dev mailing list
Thunar-dev@xfce.org
http://foo-projects.org/mailman/listinfo/thunar-dev


Re: [Thunar-dev] dcraw thumbnailer

2007-01-09 Thread Erlend Davidson


Timothy White wrote:
> On 1/9/07, Erlend Davidson <[EMAIL PROTECTED]> wrote:
>   
>> Thanks Jens - I've added it to SVN. Dcraw claims to be able to produce
>> thumbnails of all camera raw images... I've added all the mimetypes for
>> the different formats apart from Adobe's DNG, Sony's arw, and Sigma's
>> x3f (because I don't know those mimetypes). This needs testing, so could
>> anybody with any digital camera that supports Raw please try the
>> thumbnailer? I'm also curious as to how long it takes?
>> 
>
> Works nicely with NEF files (Nikon I think, my mates photos).
> Although I get the odd feeling that I had thumbnails for them back in
> November when they were taken, so not sure if they have embedded
> thumbnails seeing as gqview only see's a low res version when forced
> to open the file.)
> Still, cleared the thumbnail cache, opened the folder and while it was
> a slow (maybe 4 a second) generation, it appears to work!!
>
> With my Minolta, it doesn't.
> $dcraw -w -i PICT3834.MRW
> PICT3834.MRW is a MINOLTA DYNAX 5D image.
>   
Can you check what your system seems the mimetype as...
$ file -i -b PICT3834.MRW
> Any clues?? I just did a SVN up this morning, but is there more to try?
>   
The image formats that should be tested are: .raf, .crw/.cr2, .kdc, 
.mrw, .nef, .orf.

There are a few more formats for Sony and Sigma cameras, but I don't 
know the mimetypes (I could guess they are probably image/x-sony-arw 
though).
___
Thunar-dev mailing list
Thunar-dev@xfce.org
http://foo-projects.org/mailman/listinfo/thunar-dev


Re: [Thunar-dev] dcraw thumbnailer

2007-01-08 Thread Samuel Verstraete


On Tue, 9 Jan 2007 10:23:17 +0900
"Timothy White" <[EMAIL PROTECTED]> wrote:

> On 1/9/07, Erlend Davidson <[EMAIL PROTECTED]> wrote:
> > Thanks Jens - I've added it to SVN. Dcraw claims to be able to
> > produce thumbnails of all camera raw images... I've added all the
> > mimetypes for the different formats apart from Adobe's DNG, Sony's
> > arw, and Sigma's x3f (because I don't know those mimetypes). This
> > needs testing, so could anybody with any digital camera that
> > supports Raw please try the thumbnailer? I'm also curious as to how
> > long it takes?
> 
> Works nicely with NEF files (Nikon I think, my mates photos).
> Although I get the odd feeling that I had thumbnails for them back in
> November when they were taken, so not sure if they have embedded
> thumbnails seeing as gqview only see's a low res version when forced
> to open the file.)
> Still, cleared the thumbnail cache, opened the folder and while it was
> a slow (maybe 4 a second) generation, it appears to work!!

No success here with nef files... I tried the manual command and that
works just fine... i ran that command to "discover the new
thumbnailers"... That stopped without a message... so i'm really not
sure if it found anything at all... Anywhere i could check what is
going wrong?

> 
> With my Minolta, it doesn't.
> $dcraw -w -i PICT3834.MRW
> PICT3834.MRW is a MINOLTA DYNAX 5D image.
> 
> Any clues?? I just did a SVN up this morning, but is there more to
> try?
> 
> Thanks
> 
> Tim
> -- 
> Linux Counter user #273956
> Don't email [EMAIL PROTECTED]
> ___
> Thunar-dev mailing list
> Thunar-dev@xfce.org
> http://foo-projects.org/mailman/listinfo/thunar-dev
___
Thunar-dev mailing list
Thunar-dev@xfce.org
http://foo-projects.org/mailman/listinfo/thunar-dev


Re: [Thunar-dev] dcraw thumbnailer

2007-01-08 Thread Timothy White
On 1/9/07, Erlend Davidson <[EMAIL PROTECTED]> wrote:
> Thanks Jens - I've added it to SVN. Dcraw claims to be able to produce
> thumbnails of all camera raw images... I've added all the mimetypes for
> the different formats apart from Adobe's DNG, Sony's arw, and Sigma's
> x3f (because I don't know those mimetypes). This needs testing, so could
> anybody with any digital camera that supports Raw please try the
> thumbnailer? I'm also curious as to how long it takes?

Works nicely with NEF files (Nikon I think, my mates photos).
Although I get the odd feeling that I had thumbnails for them back in
November when they were taken, so not sure if they have embedded
thumbnails seeing as gqview only see's a low res version when forced
to open the file.)
Still, cleared the thumbnail cache, opened the folder and while it was
a slow (maybe 4 a second) generation, it appears to work!!

With my Minolta, it doesn't.
$dcraw -w -i PICT3834.MRW
PICT3834.MRW is a MINOLTA DYNAX 5D image.

Any clues?? I just did a SVN up this morning, but is there more to try?

Thanks

Tim
-- 
Linux Counter user #273956
Don't email [EMAIL PROTECTED]
___
Thunar-dev mailing list
Thunar-dev@xfce.org
http://foo-projects.org/mailman/listinfo/thunar-dev


Re: [Thunar-dev] dcraw thumbnailer

2007-01-08 Thread Erlend Davidson


Benedikt Meurer wrote:
> Jens Luedicke wrote:
>   
>> Heya,
>>
>> I made a dcraw thumbnailer for RAW image files:
>>
>> http://wiki.perldude.de/doku.php?id=stuff:dcraw_thumbnailer
>>
>> Tested with *.cr2 files (image/x-canon-crw).
>> 
>
> Nice. Something for thunar-thumbnailers, Erlend?
>   
Thanks Jens - I've added it to SVN. Dcraw claims to be able to produce 
thumbnails of all camera raw images... I've added all the mimetypes for 
the different formats apart from Adobe's DNG, Sony's arw, and Sigma's 
x3f (because I don't know those mimetypes). This needs testing, so could 
anybody with any digital camera that supports Raw please try the 
thumbnailer? I'm also curious as to how long it takes?

There is a postscript thumnailer in there too now. This is a tad slow 
(worst is 3 seconds per file), and I don't see that being a fixable 
problem - it's just the way postscript is stored. I was thinking about a 
couple of things in relation to this. It might be an idea to give 
thumbnailers a priority in the .desktop files - keep the slowest ones 
until last, and to give a way out if there is ever a conflict between 
two thumbnailers wanting to do the same mimetype (i.e. choose the 
fastest one which has all of TryExec satisfied)?

___
Thunar-dev mailing list
Thunar-dev@xfce.org
http://foo-projects.org/mailman/listinfo/thunar-dev


Re: [Thunar-dev] dcraw thumbnailer

2007-01-07 Thread Benedikt Meurer
Jens Luedicke wrote:
> Heya,
> 
> I made a dcraw thumbnailer for RAW image files:
> 
> http://wiki.perldude.de/doku.php?id=stuff:dcraw_thumbnailer
> 
> Tested with *.cr2 files (image/x-canon-crw).

Nice. Something for thunar-thumbnailers, Erlend?

> Jens

Benedikt
___
Thunar-dev mailing list
Thunar-dev@xfce.org
http://foo-projects.org/mailman/listinfo/thunar-dev


[Thunar-dev] dcraw thumbnailer

2007-01-07 Thread Jens Luedicke
Heya,

I made a dcraw thumbnailer for RAW image files:

http://wiki.perldude.de/doku.php?id=stuff:dcraw_thumbnailer

Tested with *.cr2 files (image/x-canon-crw).

Jens

-- 
Jens Luedicke
web: http://perldude.de/
___
Thunar-dev mailing list
Thunar-dev@xfce.org
http://foo-projects.org/mailman/listinfo/thunar-dev