foto
(Syv)
May 26, 2020, 1:07am
1
DT 3.0.2
I have a photo that I need to export 850 pixels tall. I have the following settings:
The problem is that DT creates a file that is only 849 pixel tall.
Right now, I have to export 900 pixel tall, then I use imagemagick/mogrify to resize with:
mogrify -resize x850! infile outfile (exclamation mark)
and I get my exact 850 tall.
How can I get my 850 pixel tall image in DT?
Thanks
elGordo
(Gord)
May 26, 2020, 1:23am
2
Just a thought…did you try 851?
Not that I’m saying that getting 849 when asking for 850 seems right, but it would seem to be the natural workaround.
1 Like
Bbawt
(Brian)
May 26, 2020, 3:06am
3
Do other photos set to the same export settings all come out to 849?
Bbawt
(Brian)
May 26, 2020, 3:15am
4
I just checked and get the same results. A 6000 x 3000 pixel image exported to comes out to 2999 x 1499 if scaled to 3000 on long side. Gord’s suggestion seems to work.
1 Like
Nilvus
May 26, 2020, 11:12am
6
A first fix has been merged on 3.0.1 but some cases were seen after. And a better fix as been merged just 13 days ago. Unfortunately, it’s by now should be integrated on next 3.2. See here: More reliable export size in dt_imageio_export_with_flags by jenshannoschwalm · Pull Request #5022 · darktable-org/darktable · GitHub
foto
(Syv)
May 26, 2020, 1:41pm
7
elGordo:
Just a thought…did you try 851?
Not that I’m saying that getting 849 when asking for 850 seems right, but it would seem to be the natural workaround.
No, I didn’t think about it,. But I just tried it and it worked.
Thanks
1 Like