-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jp2 files and faststone #18394
Comments
You can import the exported file into darktable, this will show you whether there is a problem with faststone or not.
It's not reproducible here. It's likely that this effect was caused by some specific processing, such as the effect of some processing module. So, in order for us to understand what is the matter, we need an image on which you observe the described behavior and the corresponding xmp sidecar file. |
Hi Victor,
I imported a jp2 picture from the internet (sample1.jp2). Viewing it in
darktable is Ok, viewing it in faststone is Ok. Saving this picture
(without any processing) to sample1DT.jp2 (settings: see settings.jpg)
and opening it in faststone: wrong brightness. Far too bright. Importing
this picture again in Darktable: wrong brightness as well.
So since Faststone AND Darktable see the jp2 picture as saved by
Darktable wrongly, the error MUST be in Darktable
Since your mail server has set the max mail size very low, I cannot send
you the complete output file from Darktable. So I cropped it a little
(sample1DT_cropped.jp2)
Kind regards
M Nieuwenhuizen
Victor Forsiuk schreef op 2025-02-11 14:40:
> DESCRIBE THE BUG
>
> When I export a file as JP2000 JP2 file, faststone seems to read it
> but the picture is far too bright. I have no possibility to find if it
> is a problem from darktable or from faststone
You can import the exported file into darktable, this will show you
whether there is a problem with faststone or not.
> STEPS TO REPRODUCE
>
> open a ARW file (in my case) do processing save as JP2 file open this
> file in faststone
It's not reproducible here. It's likely that this effect was caused by
some specific processing, such as the effect of some processing module.
So, in order for us to understand what is the matter, we need an image
on which you observe the described behavior and the corresponding xmp
sidecar file.
--
Reply to this email directly, view it on GitHub [1], or unsubscribe
[2].
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
You didn't actually send anything. You probably weren't aware, but GitHub doesn't support receiving attachments via email replies to comments. So please provide the required images via the web interface. |
SINCE I CAN NOT ATTACH A JP2 FILE FOR SOME REASON YOU CAN FIND THE SAMPLE FILE HERE: |
|
@victoryforce Also, I don't see anywhere in the dt JPEG 2000 writer code that an output profile is actually set, so one shouldn't really use it w/ anything other than sRGB...? I.e. forget the 5-6 EV compensation comment above, you're probably just seeing the difference between PQ and sRGB curves. |
Dear Milos,
Sorry, but when I first must follow a three day course in very detailed
specifics of each setting of Darktable, the program is not for normal
users. Your explanation is incomprehensible and nothing of this can be
found in the help files. When I search for jp2000 in the help files I
only see some incomprehensible code that has nothing to do with what you
seem to say.
Default settings should just work ok. That some specialist wants to
change settings: fine, but a novice should be able to use Darktable as
well and as it is now, that is not possible. Not with jpeg2000 files at
least.
Regards
Michel
Miloš Komarčević schreef op 2025-02-28 18:19:
You're exporting w/ an HDR PQ transfer curve (dt's 1.0 = 10000nits in
the current implementation since it is an _absolute_ curve). As dt
doesn't have a sophisticated HDR workflow yet, you'll need to manually
pull the image exposure down by extra 5-6 EVs just before exporting to
any PQ based profile, then restore exposure back.
Basically, this is the inverse of #18197 [1]
--
Reply to this email directly, view it on GitHub [2], or unsubscribe
[3].
You are receiving this because you authored the thread.Message ID:
***@***.***>
kmilos left a comment (darktable-org/darktable#18394) [2]
You're exporting w/ an HDR PQ transfer curve (dt's 1.0 = 10000nits in
the current implementation since it is an _absolute_ curve). As dt
doesn't have a sophisticated HDR workflow yet, you'll need to manually
pull the image exposure down by extra 5-6 EVs just before exporting to
any PQ based profile, then restore exposure back.
Basically, this is the inverse of #18197 [1]
--
Reply to this email directly, view it on GitHub [2], or unsubscribe
[3].
You are receiving this because you authored the thread.Message ID:
***@***.***>
Links:
------
[1] #18197
[2]
#18394 (comment)
[3]
https://github.com/notifications/unsubscribe-auth/BPLKKU46JJXKAOTHV5Y4NGL2SCLDDAVCNFSM6AAAAABW25OGMSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMOJRGE3TCMJSGM
--=_fa2cecc17aaa8fcf30019fec439f9141
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset=UTF-8
<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; charset=
=3DUTF-8" /></head><body style=3D'font-size: 10pt; font-family: Verdana,Gen=
eva,sans-serif'>
<p>Dear Milos,</p>
<p>Sorry, but when I first must follow a three day course in very detailed =
specifics of each setting of Darktable, the program is not for normal users=
=2E Your explanation is incomprehensible and nothing of this can be found i=
n the help files. When I search for jp2000 in the help files I only see som=
e incomprehensible code that has nothing to do with what you seem to say.</=
p>
<p>Default settings should just work ok. That some specialist wants to chan=
ge settings: fine, but a novice should be able to use Darktable as well and=
as it is now, that is not possible. Not with jpeg2000 files at least.</p>
<p>Regards</p>
<p>Michel</p>
<div id=3D"signature"></div>
<p><br /></p>
<p id=3D"reply-intro">Miloš Komar=C4=8Devi=C4=87 schreef op 2025-02-=
28 18:19:</p>
<blockquote type=3D"cite" style=3D"padding: 0 0.4em; border-left: #1010ff 2=
px solid; margin: 0">
<div id=3D"replybody1">
<p dir=3D"auto">You're exporting w/ an HDR PQ transfer curve (dt's 1.0 =3D =
10000nits in the current implementation since it is an <em>absolute</em> cu=
rve). As dt doesn't have a sophisticated HDR workflow yet, you'll need to m=
anually pull the image exposure down by extra 5-6 EVs just before exporting=
to any PQ based profile, then restore exposure back.</p>
<p dir=3D"auto">Basically, this is the inverse of <a class=3D"v1issue-link =
v1js-issue-link" href=3D"https://github.com/darktable-org/darktable/issues/=
18197" target=3D"_blank" rel=3D"noopener noreferrer">#18197</a></p>
<p style=3D"font-size: small; -webkit-text-size-adjust: none; color: #666;"=
—<br />Reply to this email directly, <a href=3D"https://github.com/d=
arktable-org/darktable/issues/18394#issuecomment-2691171123" target=3D"_bla=
nk" rel=3D"noopener noreferrer">view it on GitHub</a>, or <a href=3D"https:=
//github.com/notifications/unsubscribe-auth/BPLKKU46JJXKAOTHV5Y4NGL2SCLDDAV=
CNFSM6AAAAABW25OGMSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMOJRGE3TCMJSGM=
" target=3D"_blank" rel=3D"noopener noreferrer">unsubscribe</a>.<br />You a=
re receiving this because you authored the thread.<img src=3D"https://githu=
b.com/notifications/beacon/BPLKKU4XA6G57X5KFQ5KHR32SCLDDA5CNFSM6AAAAABW25OG=
MSWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTVANABTG.gif" =
width=3D"1" height=3D"1" /><span style=3D"color: transparent; font-size: 0;=
display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0;=
height: 0; max-width: 0; max-height: 0; mso-hide: all;">Message ID: <span>=
<darktable-org/darktable/issues/18394/2691171123</span><span>@</span><sp=
an>github</span><span>.</span><span>com></span></span></p>
<div style=3D"display: flex; flex-wrap: wrap; white-space: pre-wrap; align-=
items: center;"><img style=3D"border-radius: 50%; margin-right: 4px;" src=
=3D"https://avatars.githubusercontent.com/u/4973094?s=3D20&v=3D4" alt=
=3D"kmilos" width=3D"20" height=3D"20" /><strong>kmilos</strong> left a com=
ment <a href=3D"#18394 (comment)=
uecomment-2691171123" target=3D"_blank" rel=3D"noopener noreferrer">(darkta=
ble-org/darktable#18394)</a></div>
<p dir=3D"auto">You're exporting w/ an HDR PQ transfer curve (dt's 1.0 =3D =
10000nits in the current implementation since it is an <em>absolute</em> cu=
rve). As dt doesn't have a sophisticated HDR workflow yet, you'll need to m=
anually pull the image exposure down by extra 5-6 EVs just before exporting=
to any PQ based profile, then restore exposure back.</p>
<p dir=3D"auto">Basically, this is the inverse of <a class=3D"v1issue-link =
v1js-issue-link" href=3D"https://github.com/darktable-org/darktable/issues/=
18197" target=3D"_blank" rel=3D"noopener noreferrer">#18197</a></p>
<p style=3D"font-size: small; -webkit-text-size-adjust: none; color: #666;"=
—<br />Reply to this email directly, <a href=3D"https://github.com/d=
arktable-org/darktable/issues/18394#issuecomment-2691171123" target=3D"_bla=
nk" rel=3D"noopener noreferrer">view it on GitHub</a>, or <a href=3D"https:=
//github.com/notifications/unsubscribe-auth/BPLKKU46JJXKAOTHV5Y4NGL2SCLDDAV=
CNFSM6AAAAABW25OGMSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMOJRGE3TCMJSGM=
" target=3D"_blank" rel=3D"noopener noreferrer">unsubscribe</a>.<br />You a=
re receiving this because you authored the thread.<img src=3D"https://githu=
b.com/notifications/beacon/BPLKKU4XA6G57X5KFQ5KHR32SCLDDA5CNFSM6AAAAABW25OG=
MSWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTVANABTG.gif" =
width=3D"1" height=3D"1" /><span style=3D"color: transparent; font-size: 0;=
display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0;=
height: 0; max-width: 0; max-height: 0; mso-hide: all;">Message ID: <span>=
<darktable-org/darktable/issues/18394/2691171123</span><span>@</span><sp=
an>github</span><span>.</span><span>com></span></span></p>
</div>
</blockquote>
</body></html>
…--=_fa2cecc17aaa8fcf30019fec439f9141--
|
Ok, let me try to simplify it: currently it is not possible (i.e. it is broken) to export jp2 to anything else than the sRGB output profile, so you shouldn't set it to anything else in the export settings (PQ P3 like you did). Thanks for uncovering this limitation though! |
What is incomprehensible to me is that:
But you've changed the default |
Is there an existing issue for this?
Describe the bug
When I export a file as JP2000 JP2 file, faststone seems to read it but the picture is far too bright. I have no possibility to find if it is a problem from darktable or from faststone
Steps to reproduce
open a ARW file (in my case)
do processing
save as JP2 file
open this file in faststone
Expected behavior
export correctly
Logfile | Screenshot | Screencast
No response
Commit
No response
Where did you obtain darktable from?
darktable.org / GitHub release
darktable version
5.0.0
What OS are you using?
Windows
What is the version of your OS?
Windows 11
Describe your system
No response
Are you using OpenCL GPU in darktable?
I dont know
If yes, what is the GPU card and driver?
No response
Please provide additional context if applicable. You can attach files too, but might need to rename to .txt or .zip
No response
The text was updated successfully, but these errors were encountered: