Re: [darktable-user] Print output image identification

2021-05-31 Thread Jack Bowling

Spelling mistake needs to be corrected:

Focal Lenght should be Focal Length

Otherwise thanks all for the script. This will come in handy.

Jack

On 2021-05-31 6:16 a.m., Albin Blaschka wrote:


For completeness, Addendum/Update: Now the script adds the Exif-Data 
AND the filename - I even tested it...


for filename in *.jpg; do
[ -e "$filename" ] || continue
fnumber=$(exiftool -aperture $filename | cut -d':' -f2)
exposure=$(exiftool -shutterspeed $filename | cut -d':' -f2)
iso=$(exiftool -iso $filename | cut -d':' -f2)
focal=$(exiftool -FocalLength $filename |cut -d':' -f2)

convert $filename -gravity South -background Black -pointsize 60 -fill 
White \
-splice 0x90 -annotate 0x0 "Aperture:$fnumber | Shutter 
speed:$exposure | Focal Lenght:$focal | ISO:$iso | File:$filename" 
Annotated_$filename


done


Am 31.05.2021 10:02, schrieb Albin Blaschka:


Hi!

Ah, yes: I use this script as first step to create something what was 
a contact sheet in the old film days - the filename comes in the 
second step. But if you change the line:


convert $filename -gravity South -background Black -pointsize 75 
-fill White \
-splice 0x90 -annotate 0x0 "Aperture:$fnumber | Shutter 
speed:$exposure | Focal Lenght:$focal | ISO:$iso | File:$1 " 
Annotated_$filename


to something like:

convert $filename -gravity South -background Black -pointsize 75 
-fill White \
-splice 0x90 -annotate 0x0 "$filename - Aperture:$fnumber | Shutter 
speed:$exposure | Focal Lenght:$focal | ISO:$iso" Annotated_$filename


or just (without any EXIF-Data):

convert $filename -gravity South -background Black -pointsize 75 
-fill White \

-splice 0x90 -annotate 0x0 "$filename" Annotated_$filename


you should get waht you want, hopefully.

If you would like to have a different filename for the produced copy 
you can change the last bit: Annotated_$filename ($filename is the 
variable where the filename is stored, obviously...)


I hope this works, I am now at work with no Linux within reach to test...

best,

Albin

Am 31.05.2021 04:29, schrieb David Vincent-Jones:

Albin ... this works very well but unfortunately it is not
displaying the 'filename' ... any ideas?

Thank you;

David

On 2021-05-30 1:20 a.m., Albin Blaschka wrote:

Hello!

A solution outside of darktable -

On Linux and on the commandline, with exiftools installed,
the following bash script writes selected (EXIF-)info in a
black bar on the lower end of the fotos (here: jpgs) of a
directory  and saves it under a suffix in the filename:

Not completly ready for your purpose, it does more than you
need, but might give you an idea and come in handy... I use
it for a project of mine, too...

for filename in *.jpg; do
[ -e "$filename" ] || continue
fnumber=$(exiftool -aperture $filename | cut -d':' -f2)
exposure=$(exiftool -shutterspeed $filename | cut -d':' -f2)
iso=$(exiftool -iso $filename | cut -d':' -f2)
focal=$(exiftool -FocalLength $filename |cut -d':' -f2)

convert $filename -gravity South -background Black -pointsize
75 -fill White \
-splice 0x90 -annotate 0x0 "Aperture:$fnumber | Shutter
speed:$exposure | Focal Lenght:$focal | ISO:$iso | File:$1
" Annotated_$filename
done

I think I found this in the book "

Linux Photography, Tools for Automated and Streamlined
Photographic Workflow on Linux" by Dmitri Popov

and adopted it for my needs...

HTH,

Albin

Am 30.05.2021 04:27, schrieb David Vincent-Jones:

I am going to 'rough' print about 50 images as a preview
to printing a book. They will be used for the final
selection and also for placement and ordering.

I am looking for a way to print a file identification on
each piece ... such as the file name but I do not see
anything in the print-manager or in the script-manager
that would be of service.

What are others doing in this respect?

David


darktable user mailing list to unsubscribe send a mail to
darktable-user+unsubscr...@lists.darktable.org




--
| Dr.rer.nat. Albin Blaschka
| Etrichstrasse 26, A-5020 Salzburg
| * www.standortsanalyse.net  *
| * www.researchgate.net/profile/Albin_Blaschka 
 *

| - It's hard to live in the mountains, hard but not hopeless!

 
darktable user mailing list to unsubscribe send a mail to 
darktable-user+unsubscr...@lists.darktable.org




--
| Dr.rer.nat. Albin Blaschka
| Etrichstrasse 26, A-5020 Salzburg
| * 

Re: [darktable-user] Print output image identification

2021-05-31 Thread Albin Blaschka
For completeness, Addendum/Update: Now the script adds the Exif-Data AND 
the filename - I even tested it...


for filename in *.jpg; do
[ -e "$filename" ] || continue
fnumber=$(exiftool -aperture $filename | cut -d':' -f2)
exposure=$(exiftool -shutterspeed $filename | cut -d':' -f2)
iso=$(exiftool -iso $filename | cut -d':' -f2)
focal=$(exiftool -FocalLength $filename |cut -d':' -f2)

convert $filename -gravity South -background Black -pointsize 60 -fill 
White \
-splice 0x90 -annotate 0x0 "Aperture:$fnumber | Shutter speed:$exposure 
| Focal Lenght:$focal | ISO:$iso | File:$filename" Annotated_$filename


done

Am 31.05.2021 10:02, schrieb Albin Blaschka:


Hi!

Ah, yes: I use this script as first step to create something what was a 
contact sheet in the old film days - the filename comes in the second 
step. But if you change the line:


convert $filename -gravity South -background Black -pointsize 75 -fill 
White \
-splice 0x90 -annotate 0x0 "Aperture:$fnumber | Shutter speed:$exposure 
| Focal Lenght:$focal | ISO:$iso | File:$1" Annotated_$filename


to something like:

convert $filename -gravity South -background Black -pointsize 75 -fill 
White \
-splice 0x90 -annotate 0x0 "$filename - Aperture:$fnumber | Shutter 
speed:$exposure | Focal Lenght:$focal | ISO:$iso" Annotated_$filename


or just (without any EXIF-Data):

convert $filename -gravity South -background Black -pointsize 75 -fill 
White \

-splice 0x90 -annotate 0x0 "$filename" Annotated_$filename

you should get waht you want, hopefully.

If you would like to have a different filename for the produced copy 
you can change the last bit: Annotated_$filename ($filename is the 
variable where the filename is stored, obviously...)


I hope this works, I am now at work with no Linux within reach to 
test...


best,

Albin

Am 31.05.2021 04:29, schrieb David Vincent-Jones:

Albin ... this works very well but unfortunately it is not displaying 
the 'filename' ... any ideas?


Thank you;

David

On 2021-05-30 1:20 a.m., Albin Blaschka wrote: Hello!

A solution outside of darktable -

On Linux and on the commandline, with exiftools installed, the 
following bash script writes selected (EXIF-)info in a black bar on the 
lower end of the fotos (here: jpgs) of a directory  and saves it under 
a suffix in the filename:


Not completly ready for your purpose, it does more than you need, but 
might give you an idea and come in handy... I use it for a project of 
mine, too...


for filename in *.jpg; do
[ -e "$filename" ] || continue
fnumber=$(exiftool -aperture $filename | cut -d':' -f2)
exposure=$(exiftool -shutterspeed $filename | cut -d':' -f2)
iso=$(exiftool -iso $filename | cut -d':' -f2)
focal=$(exiftool -FocalLength $filename |cut -d':' -f2)

convert $filename -gravity South -background Black -pointsize 75 -fill 
White \
-splice 0x90 -annotate 0x0 "Aperture:$fnumber | Shutter speed:$exposure 
| Focal Lenght:$focal | ISO:$iso | File:$1" Annotated_$filename

done

I think I found this in the book "

Linux Photography, Tools for Automated and Streamlined Photographic 
Workflow on Linux" by Dmitri Popov


and adopted it for my needs...

HTH,

Albin

Am 30.05.2021 04:27, schrieb David Vincent-Jones:

I am going to 'rough' print about 50 images as a preview to printing a 
book. They will be used for the final selection and also for placement 
and ordering.


I am looking for a way to print a file identification on each piece ... 
such as the file name but I do not see anything in the print-manager or 
in the script-manager that would be of service.


What are others doing in this respect?

David
 
darktable user mailing list to unsubscribe send a mail to 
darktable-user+unsubscr...@lists.darktable.org


--
| Dr.rer.nat. Albin Blaschka
| Etrichstrasse 26, A-5020 Salzburg
| * www.standortsanalyse.net [1] *
| * www.researchgate.net/profile/Albin_Blaschka [2] *
| - It's hard to live in the mountains, hard but not hopeless!

 
darktable user mailing list to unsubscribe send a mail to 
darktable-user+unsubscr...@lists.darktable.org


--
| Dr.rer.nat. Albin Blaschka
| Etrichstrasse 26, A-5020 Salzburg
| * www.standortsanalyse.net [1] *
| * www.researchgate.net/profile/Albin_Blaschka [2] *
| - It's hard to live in the mountains, hard but not hopeless!


Links:
--
[1] http://www.standortsanalyse.net
[2] http://www.researchgate.net/profile/Albin_Blaschka

darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org

Re: [darktable-user] Print output image identification

2021-05-31 Thread Albin Blaschka

Hi!

Ah, yes: I use this script as first step to create something what was a 
contact sheet in the old film days - the filename comes in the second 
step. But if you change the line:


convert $filename -gravity South -background Black -pointsize 75 -fill 
White \
-splice 0x90 -annotate 0x0 "Aperture:$fnumber | Shutter speed:$exposure 
| Focal Lenght:$focal | ISO:$iso | File:$1" Annotated_$filename


to something like:

convert $filename -gravity South -background Black -pointsize 75 -fill 
White \
-splice 0x90 -annotate 0x0 "$filename - Aperture:$fnumber | Shutter 
speed:$exposure | Focal Lenght:$focal | ISO:$iso" Annotated_$filename


or just (without any EXIF-Data):

convert $filename -gravity South -background Black -pointsize 75 -fill 
White \

-splice 0x90 -annotate 0x0 "$filename" Annotated_$filename

you should get waht you want, hopefully.

If you would like to have a different filename for the produced copy you 
can change the last bit: Annotated_$filename ($filename is the variable 
where the filename is stored, obviously...)


I hope this works, I am now at work with no Linux within reach to 
test...


best,

Albin

Am 31.05.2021 04:29, schrieb David Vincent-Jones:

Albin ... this works very well but unfortunately it is not displaying 
the 'filename' ... any ideas?


Thank you;

David

On 2021-05-30 1:20 a.m., Albin Blaschka wrote: Hello!

A solution outside of darktable -

On Linux and on the commandline, with exiftools installed, the 
following bash script writes selected (EXIF-)info in a black bar on the 
lower end of the fotos (here: jpgs) of a directory  and saves it under 
a suffix in the filename:


Not completly ready for your purpose, it does more than you need, but 
might give you an idea and come in handy... I use it for a project of 
mine, too...


for filename in *.jpg; do
[ -e "$filename" ] || continue
fnumber=$(exiftool -aperture $filename | cut -d':' -f2)
exposure=$(exiftool -shutterspeed $filename | cut -d':' -f2)
iso=$(exiftool -iso $filename | cut -d':' -f2)
focal=$(exiftool -FocalLength $filename |cut -d':' -f2)

convert $filename -gravity South -background Black -pointsize 75 -fill 
White \
-splice 0x90 -annotate 0x0 "Aperture:$fnumber | Shutter speed:$exposure 
| Focal Lenght:$focal | ISO:$iso | File:$1" Annotated_$filename

done

I think I found this in the book "

Linux Photography, Tools for Automated and Streamlined Photographic 
Workflow on Linux" by Dmitri Popov


and adopted it for my needs...

HTH,

Albin

Am 30.05.2021 04:27, schrieb David Vincent-Jones:

I am going to 'rough' print about 50 images as a preview to printing a 
book. They will be used for the final selection and also for placement 
and ordering.


I am looking for a way to print a file identification on each piece ... 
such as the file name but I do not see anything in the print-manager or 
in the script-manager that would be of service.


What are others doing in this respect?

David
 
darktable user mailing list to unsubscribe send a mail to 
darktable-user+unsubscr...@lists.darktable.org


--
| Dr.rer.nat. Albin Blaschka
| Etrichstrasse 26, A-5020 Salzburg
| * www.standortsanalyse.net [1] *
| * www.researchgate.net/profile/Albin_Blaschka [2] *
| - It's hard to live in the mountains, hard but not hopeless!


Links:
--
[1] http://www.standortsanalyse.net
[2] http://www.researchgate.net/profile/Albin_Blaschka

darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org

Re: [darktable-user] Print output image identification

2021-05-30 Thread Marcus Amorim
Hi David,

On watermark module, put $(FILE_NAME) on text module.
Then configure other parameters to adjust posicion.

Marcus


Em dom., 30 de mai. de 2021 às 21:45, David Vincent-Jones <
david...@gmail.com> escreveu:

> Hi Marcus ... you did not explain just how to retrieve the 'file name'
>
> David
> On 2021-05-30 3:54 p.m., Marcus Amorim wrote:
>
> Hi David,
>
> You can create an image border, a watermark located on the border with the
> file name and create a style with this two settings. Then apply the style
> when printing.
>
> Marcus
>
> Em dom., 30 de mai. de 2021 às 17:10, David Vincent-Jones 
>  escreveu:
>
>
> The script of Albin's was very useful ... will give it a try.
>
> Certainly it would be a useful addition to the script-manager .
>
> David
> On 2021-05-30 1:36 a.m., Pascal Obry wrote:
>
> I kind of remember a lua script doing exactly that. I'm away from any
> computer to check for now.
>
> Le dim. 30 mai 2021 à 04:27, David Vincent-Jones  
>a
> écrit :
>
>
> I am going to 'rough' print about 50 images as a preview to printing a
> book. They will be used for the final selection and also for placement and
> ordering.
>
> I am looking for a way to print a file identification on each piece ...
> such as the file name but I do not see anything in the print-manager or in
> the script-manager that would be of service.
>
> What are others doing in this respect?
>
> David
>
> 
> darktable user mailing list to unsubscribe send a mail 
> todarktable-user+unsubscr...@lists.darktable.org
>
>
> 
> darktable user mailing list to unsubscribe send a mail 
> todarktable-user+unsubscr...@lists.darktable.org
>
>

-- 
___
Marcus Amorim :: Brasília, DF :: http://zamorim.com


darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org



Re: [darktable-user] Print output image identification

2021-05-30 Thread Marcus Amorim
Hi David,

You can create an image border, a watermark located on the border with the
file name and create a style with this two settings. Then apply the style
when printing.

Marcus

Em dom., 30 de mai. de 2021 às 17:10, David Vincent-Jones <
david...@gmail.com> escreveu:

> The script of Albin's was very useful ... will give it a try.
>
> Certainly it would be a useful addition to the script-manager .
>
> David
> On 2021-05-30 1:36 a.m., Pascal Obry wrote:
>
> I kind of remember a lua script doing exactly that. I'm away from any
> computer to check for now.
>
> Le dim. 30 mai 2021 à 04:27, David Vincent-Jones  
>  a
> écrit :
>
>
> I am going to 'rough' print about 50 images as a preview to printing a
> book. They will be used for the final selection and also for placement and
> ordering.
>
> I am looking for a way to print a file identification on each piece ...
> such as the file name but I do not see anything in the print-manager or in
> the script-manager that would be of service.
>
> What are others doing in this respect?
>
> David
>
> 
> darktable user mailing list to unsubscribe send a mail 
> todarktable-user+unsubscr...@lists.darktable.org
>
>
> 
> darktable user mailing list to unsubscribe send a mail to
> darktable-user+unsubscr...@lists.darktable.org
>


-- 
___
Marcus Amorim :: Brasília, DF :: http://zamorim.com


darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org



Re: [darktable-user] Print output image identification

2021-05-30 Thread William Ferguson
On Sun, May 30, 2021, 4:09 PM David Vincent-Jones 
wrote:

> The script of Albin's was very useful ... will give it a try.
>
> Certainly it would be a useful addition to the script-manager .
>

It's a bash script, so we can't deal with it directly from script_manager
but we can certainly take the idea and build a lua script that does
something similar but with access to the darktable variables and is cross
platform.

> David
> On 2021-05-30 1:36 a.m., Pascal Obry wrote:
>
> I kind of remember a lua script doing exactly that. I'm away from any
> computer to check for now.
>
> Le dim. 30 mai 2021 à 04:27, David Vincent-Jones  
>  a
> écrit :
>
>
> I am going to 'rough' print about 50 images as a preview to printing a
> book. They will be used for the final selection and also for placement and
> ordering.
>
> I am looking for a way to print a file identification on each piece ...
> such as the file name but I do not see anything in the print-manager or in
> the script-manager that would be of service.
>
> What are others doing in this respect?
>
> David
>
> 
> darktable user mailing list to unsubscribe send a mail 
> todarktable-user+unsubscr...@lists.darktable.org
>
>
> 
> darktable user mailing list to unsubscribe send a mail to
> darktable-user+unsubscr...@lists.darktable.org
>


darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org



Re: [darktable-user] Print output image identification

2021-05-30 Thread David Vincent-Jones

The script of Albin's was very useful ... will give it a try.

Certainly it would be a useful addition to the script-manager .

David

On 2021-05-30 1:36 a.m., Pascal Obry wrote:

I kind of remember a lua script doing exactly that. I'm away from any
computer to check for now.

Le dim. 30 mai 2021 à 04:27, David Vincent-Jones  a
écrit :


I am going to 'rough' print about 50 images as a preview to printing a
book. They will be used for the final selection and also for placement and
ordering.

I am looking for a way to print a file identification on each piece ...
such as the file name but I do not see anything in the print-manager or in
the script-manager that would be of service.

What are others doing in this respect?

David


darktable user mailing list to unsubscribe send a mail to
darktable-user+unsubscr...@lists.darktable.org




darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org

Re: [darktable-user] Print output image identification

2021-05-30 Thread Pascal Obry
I kind of remember a lua script doing exactly that. I'm away from any
computer to check for now.

Le dim. 30 mai 2021 à 04:27, David Vincent-Jones  a
écrit :

> I am going to 'rough' print about 50 images as a preview to printing a
> book. They will be used for the final selection and also for placement and
> ordering.
>
> I am looking for a way to print a file identification on each piece ...
> such as the file name but I do not see anything in the print-manager or in
> the script-manager that would be of service.
>
> What are others doing in this respect?
>
> David
>
> 
> darktable user mailing list to unsubscribe send a mail to
> darktable-user+unsubscr...@lists.darktable.org
>


darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org



Re: [darktable-user] Print output image identification

2021-05-30 Thread Albin Blaschka

Hello!

A solution outside of darktable -

On Linux and on the commandline, with exiftools installed, the following 
bash script writes selected (EXIF-)info in a black bar on the lower end 
of the fotos (here: jpgs) of a directory  and saves it under a suffix in 
the filename:


Not completly ready for your purpose, it does more than you need, but 
might give you an idea and come in handy... I use it for a project of 
mine, too...


for filename in *.jpg; do
[ -e "$filename" ] || continue
fnumber=$(exiftool -aperture $filename | cut -d':' -f2)
exposure=$(exiftool -shutterspeed $filename | cut -d':' -f2)
iso=$(exiftool -iso $filename | cut -d':' -f2)
focal=$(exiftool -FocalLength $filename |cut -d':' -f2)

convert $filename -gravity South -background Black -pointsize 75 -fill 
White \
-splice 0x90 -annotate 0x0 "Aperture:$fnumber | Shutter speed:$exposure 
| Focal Lenght:$focal | ISO:$iso | File:$1" Annotated_$filename

done

I think I found this in the book "

Linux Photography, Tools for Automated and Streamlined Photographic 
Workflow on Linux" by Dmitri Popov


and adopted it for my needs...

HTH,

Albin

Am 30.05.2021 04:27, schrieb David Vincent-Jones:

I am going to 'rough' print about 50 images as a preview to printing a 
book. They will be used for the final selection and also for placement 
and ordering.


I am looking for a way to print a file identification on each piece ... 
such as the file name but I do not see anything in the print-manager or 
in the script-manager that would be of service.


What are others doing in this respect?

David
 
darktable user mailing list to unsubscribe send a mail to 
darktable-user+unsubscr...@lists.darktable.org


--
| Dr.rer.nat. Albin Blaschka
| Etrichstrasse 26, A-5020 Salzburg
| * www.standortsanalyse.net [1] *
| * www.researchgate.net/profile/Albin_Blaschka [2] *
| - It's hard to live in the mountains, hard but not hopeless!


Links:
--
[1] http://www.standortsanalyse.net
[2] http://www.researchgate.net/profile/Albin_Blaschka

darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org

Re: [darktable-user] Print output image identification

2021-05-29 Thread Bruce Williams
Why not use the watermark module, and as the filename of each image as a
watermark?

Cheers,
Bruce Williams.

On Sun, 30 May 2021, 12:27 David Vincent-Jones,  wrote:

> I am going to 'rough' print about 50 images as a preview to printing a
> book. They will be used for the final selection and also for placement and
> ordering.
>
> I am looking for a way to print a file identification on each piece ...
> such as the file name but I do not see anything in the print-manager or in
> the script-manager that would be of service.
>
> What are others doing in this respect?
>
> David
>
> 
> darktable user mailing list to unsubscribe send a mail to
> darktable-user+unsubscr...@lists.darktable.org
>


darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org

Re: [darktable-user] Print output image identification

2021-05-29 Thread William Ferguson
You could use the watermark module to print the filename or whatever info
on the picture.  Set the watermark up as a style and apply the style on
export (in append mode).

On Sat, May 29, 2021 at 10:48 PM Patrick Shanahan  wrote:

> * David Vincent-Jones  [05-29-21 22:28]:
> > I am going to 'rough' print about 50 images as a preview to printing a
> book.
> > They will be used for the final selection and also for placement and
> > ordering.
> >
> > I am looking for a way to print a file identification on each piece ...
> such
> > as the file name but I do not see anything in the print-manager or in the
> > script-manager that would be of service.
> >
> > What are others doing in this respect?
>
>
> maybe gimp or imagemagick will provide such
>
> or perhaps a browser as firefox or
> image viewer as gwenview, ...
>
> --
> (paka)Patrick Shanahan   Plainfield, Indiana, USA  @ptilopteri
> http://en.opensuse.orgopenSUSE Community Memberfacebook/ptilopteri
> Photos: http://wahoo.no-ip.org/piwigo   paka @ IRCnet freenode
>
> 
> darktable user mailing list
> to unsubscribe send a mail to
> darktable-user+unsubscr...@lists.darktable.org
>
>


darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org

Re: [darktable-user] Print output image identification

2021-05-29 Thread Patrick Shanahan
* David Vincent-Jones  [05-29-21 22:28]:
> I am going to 'rough' print about 50 images as a preview to printing a book.
> They will be used for the final selection and also for placement and
> ordering.
> 
> I am looking for a way to print a file identification on each piece ... such
> as the file name but I do not see anything in the print-manager or in the
> script-manager that would be of service.
> 
> What are others doing in this respect?


maybe gimp or imagemagick will provide such

or perhaps a browser as firefox or 
image viewer as gwenview, ...

-- 
(paka)Patrick Shanahan   Plainfield, Indiana, USA  @ptilopteri
http://en.opensuse.orgopenSUSE Community Memberfacebook/ptilopteri
Photos: http://wahoo.no-ip.org/piwigo   paka @ IRCnet freenode

darktable user mailing list
to unsubscribe send a mail to darktable-user+unsubscr...@lists.darktable.org