Re: [Geeqie-devel] Question regarding raw files

2009-02-02 Thread Jeffery Small
I wrote:

I have *.mrw raw files from my Minolta digital camera.  However, I cannot
determine how to display the *.jpg and corresponding *.mrw images
together.  Is this possible?  Thanks.

Frederic frederic.mantega...@gbiloba.org writes:

You mean you want to see only one image for both? In the Preferences 
Filtering, put this in the Grouping sidecar extensions entry:
.jpg;.cr2;.nef;.crw;.xmp;.mrw

I am sorry I wasn't clear.  I took a look at the screenshots page on the
geeqie wiki:

https://sourceforge.net/project/screenshots.php?group_id=222125

and I see an example where the screen is split and the .jpg and the .cr2
raw versions of the same image are both displayed.  When I run geeqie, I
see a single thumbnail with the tag filename.jpg + .mrw, but I cannot
discover any way to get both images displayed in the split screen as is
shown on the screenshots page.

By the way, in my Grouping sidecar extensions, the default entry was:

.jpeg;%raw;.xmp

I assume %raw is a shorthand that knows about most raw file extensions, since
it was already grouping my .jpg and .mrw files under one list entry.  Is
that a correct understanding?

Regards,
-- 
Jeff


--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] Question regarding raw files

2009-02-02 Thread Omari Stephens
Jeffery Small wrote:
 I wrote:
 
 I have *.mrw raw files from my Minolta digital camera.  However, I cannot
 determine how to display the *.jpg and corresponding *.mrw images
 together.  Is this possible?  Thanks.
 
 Frederic frederic.mantega...@gbiloba.org writes:
 
 You mean you want to see only one image for both? In the Preferences 
 Filtering, put this in the Grouping sidecar extensions entry:
.jpg;.cr2;.nef;.crw;.xmp;.mrw
 
 I am sorry I wasn't clear.  I took a look at the screenshots page on the
 geeqie wiki:
 
 https://sourceforge.net/project/screenshots.php?group_id=222125
 
 and I see an example where the screen is split and the .jpg and the .cr2
 raw versions of the same image are both displayed.  When I run geeqie, I
 see a single thumbnail with the tag filename.jpg + .mrw, but I cannot
 discover any way to get both images displayed in the split screen as is
 shown on the screenshots page.
I'm lazy, so here's my blind guess at what you want:
1) Hit u to split the screen
2) In one half, select the foo.jpg + .mrw entry.  This will show the .jpg
3) Click on the other half of the split screen
4) Click the + sign to the left of the filename to expand it
5) Click on the foo.mrw entry, which will show the raw file

HTH,
--xsdg


--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] Question regarding raw files

2009-02-02 Thread Vladimir Nadvornik
On po 2. února 2009, Jeffery Small wrote:
 Omari Stephens x...@csail.mit.edu writes:
 I'm lazy, so here's my blind guess at what you want:
 1) Hit u to split the screen
 2) In one half, select the foo.jpg + .mrw entry.  This will show the
  .jpg 3) Click on the other half of the split screen
 4) Click the + sign to the left of the filename to expand it
 5) Click on the foo.mrw entry, which will show the raw file

 Thanks so much!  I really appreciate the explanation.  I was assuming that
 the two images would somehow appear on the split screen in one operation
 which I wasn't able to figure out.

 It looks like the raw image is not actually decoded but that an embedded
 jpeg within the raw file is extracted and displayed.  Am I correct in this
 understanding?

Yes, Geeqie reads only the embedded preview images.

The idea behind it is that full raw processing is too slow to be done on 
demand and it is better to process raw files in a separate script and 
then use the grouping  feature in Geeqie.

Vladimir


--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] Question regarding raw files

2009-02-02 Thread Vladimir Nadvornik
On po 2. února 2009, Jeffery Small wrote:

 By the way, in my Grouping sidecar extensions, the default entry was:

 .jpeg;%raw;.xmp

 I assume %raw is a shorthand that knows about most raw file extensions,
 since it was already grouping my .jpg and .mrw files under one list entry. 
 Is that a correct understanding?

Correct.

%raw in expanded to a list of all extensions which are marked as RAW image
in the Filtering tab in configuration.

Vladimir


--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] alpha3 release

2009-02-02 Thread Vladimir Nadvornik
On so 31. ledna 2009, Greg Troxel wrote:
 Vladimir Nadvornik nadvor...@suse.cz writes:

 Thanks for your reply.  Only quoting when I have something useful to say.

  This looks more like a bug in GTK. Which GTK version do you have?
  (thumbnails are represented by the same pixbuf in both modes, the only
  difference is the rendering code, which is handled by a custom renderer
  in icon mode and by GTK in list mode)

 Interesting.  gtk2+-2.14.7


Hm, I have no idea. It can be anything from diplay driver to GTK. 



  7) I have long wanted gqview to cache more than a few images, letting
  you set a max memory size for the cache.  A 1-image cache doesn't keep
  up, and is slow flipping among 3 or 4 images.
 
  This should work, the cache size can be set in advanced configuration,
  the default size is 128MB, that is 4 x 10MPix image.
  Or do you mean read ahead several images?

 Thanks; I see that and bumped it up to 256.

 I mean a few things:

   keep several images in cache (seems like that works great )

   read ahead several images, perhaps 3, but might as well be
   configurable.  If I go to next after watcing an image a few seconds,
   it's quick, but if I go forward twice the second one is slow.

 My own use case is that I want the last perhaps 4-5, and the next 3-4,
 and wouldn't mind if it preferred prefetch if I'm doing next or previous
 repeatedly and cache if I'm jumping around.  But I have 2G of ram so 5
 each prefetch and cache would probably be peachy.

The problem is that the interface between file list and image widget
allows passing just one file for read ahead. Changing that would mean a lot
of rewritting and IMHO there are more important tasks now.
Of course, patches are welcome ;)


 Also, it seems the profile is reapplied rather than having the profile
 be pre-applied.  I guess cache may be jpg, not raw bits, but for read
 ahead would be great to do this.  Plus, would be nice to run a 2nd
 thread (or OpenMP) to do the transforms.


the profile is applied after scaling the image. It is typically much faster 
than the other way when the images are bigger than the wiewport, but it needs 
to be reapplied after zoom. Ideal would be to combine both methods, but it is 
not trivial.

 Split is awesome - thanks to whoever wrote that.  I spend a lot of time
 picking the best photos to keep and deleting the rest and that helps a
 lot.

It could be improved a bit, I think that id does not fit well with moving
to the next image by single mouse click to the image window. Possible fixes 
are:

a) ignore mouse clicks at all
b) ignore mouse clicks in split mode
c) enable or disable mouse clicks in configuration

I think that b) is the best possibility.


Vladimir

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


[Geeqie-devel] External commands (was: Re: Next plans)

2009-02-02 Thread Vladimir Nadvornik
On út 27. ledna 2009, Vladimir Nadvornik wrote:
 Configuration of external commands
 ==
 I originally planed this after 1.0 but now I think that is should be done
 earlier, because it has a big impact on the configuration.

 Requirements:
 Each external command should be configured in separate file in user or
 system configuration directory - that allows easy instalation of extensions
 as separate packages

 Solution:
 use standard desktop files:
 http://standards.freedesktop.org/desktop-entry-spec/latest/
 with some Geeqie specific entries, like
 X-Geeqie-menu-path
 X-Geeqie-hotkey

 Advantages:
 - we will get many preconfigured applications for free by
 scanning /usr/share/applications
 - parser for this file format is in glib

 Problems:
 - the Exec field does not support all features that we need (filters,
 sidecar files) - we can either use something like X-Geeqie-Exec with
 extended syntax or pass the additional info to the application via setenv
 - Exec field is executed directly, no shell functions are allowed - all
 non-trivial commands will have to be in separate shell scripts - OTOH it
 will make the scripts more readable than the current one-liners



It is implemented in current SVN.
Please report how it works on your system.

Note: It might be a good idea to backup your ~/.geeqie/geeqierc file if you 
want to go back to alpha3 afterwards.


Vladimir

--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel


Re: [Geeqie-devel] Question regarding raw files

2009-02-02 Thread Greg Troxel

  I am sorry I wasn't clear.  I took a look at the screenshots page on the
  geeqie wiki:

  https://sourceforge.net/project/screenshots.php?group_id=222125

  and I see an example where the screen is split and the .jpg and the .cr2
  raw versions of the same image are both displayed.  When I run geeqie, I
  see a single thumbnail with the tag filename.jpg + .mrw, but I cannot
  discover any way to get both images displayed in the split screen as is
  shown on the screenshots page.

I can't answer your question, but have another one: What do you expect
to accomplish from this?  Is geeqie actually doing raw conversion on the
fly from the .cr2 to make bits to show?  When I view raw (.nef) in
gqview it just grabs the JPB BASIC that is embedded in the raw and shows
that.  So what's going on when you look at raw in geeqie?

I find JPB BASIC often good enough, so when I shoot raw I use raw only
and then extract BASIC and delete the raw for files I want to keep that
way, and keep a few raw shots.  I have an not-100%-baked exiftool script
for this.  I have no clue if cr2 files have the same embedded jpg.)

#!/bin/sh

f=$1

if [ ! -f $f ]; then
echo $f does not exist
exit 1
fi
jpg=`echo $f | sed -e 's/\.nef$/.jpg/' -e 's/\.NEF$/.JPG/'`
if [ -f $jpg ]; then
echo $jpg already exists
exit 1
fi

# extract embedded JPG (typically LARGE BASIC)
exiftool -b -JpgFromRaw $f  $jpg

# Copy exif information to jpg
#
# NOTE:  -overwrite_original results in a JPEG file that has the same
# modification time as the the NEF.  At first, this seems desirable (mimicing
# what you'd get straight from the camera if set to NEF+JPEG mode).  But,
# it's probably better for the JPEG's modification time to be the time at
# which it was extracted, thus giving an indication that the JPEG file wasn't
# actually created in the camera at the same time as the NEF.  This behavior
# is obtained with -overwrite_original_in_place.

#exiftool -q -overwrite_original -TagsFromFile $f $jpg
exiftool -q -overwrite_original_in_place -TagsFromFile $f $jpg


pgpXkMXroRnWe.pgp
Description: PGP signature
--
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword___
Geeqie-devel mailing list
Geeqie-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geeqie-devel