DNG-RAW to jpeg conversion artifacts

classic Classic list List threaded Threaded
16 messages Options
Reply | Threaded
Open this post in threaded view
|

DNG-RAW to jpeg conversion artifacts

Stefan Grosse-2
Hi,

I recently bought a Samsung GX-10 DSLR camera which does support the DNG
(Adobe) RAW format. I have digikam 0.9.1 installed on Fedora 7.

At the weekend I played (the first time) around with digikam. When I tried to
convert some DNG images to jpeg I faced the following problem: on the
right side of the picture appeared a broad bar with green lines.
Furthermore there is a black frame around a part of the picture. So my first guess
is that the converter takes in more pixels then it should.

Is this a bug or have I just overseen an option?

I am not sure if it is possible to attach files anyway so you can have a look at the full sized picture here:

http://www.flickr.com/photos/stefan_grosse/529710460/

Neither Irfanview nor DIGIMAX RAW converter nor gimp/ufraw showed this
ugly green lines on the right of the black border at the lower and the right corner of the picture after conversion ...

Stefan

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: DNG-RAW to jpeg conversion artifacts

Gilles Caulier-4
It sound like a bug in dcraw witch is used by digiKam to process RAW pictures.

In digiKam 0.9.1, dcraw 8.41 is used.
In digiKam 0.9.2, dcraw 8.60 is used. Perhaps this problem have been solved.

At least, you can try to use the last dcraw command line version ( 8.71) to check indeep.

Gilles Caulier

2007/6/5, Stefan Grosse <[hidden email]>:
Hi,

I recently bought a Samsung GX-10 DSLR camera which does support the DNG
(Adobe) RAW format. I have digikam 0.9.1 installed on Fedora 7.

At the weekend I played (the first time) around with digikam. When I tried to
convert some DNG images to jpeg I faced the following problem: on the
right side of the picture appeared a broad bar with green lines.
Furthermore there is a black frame around a part of the picture. So my first guess
is that the converter takes in more pixels then it should.

Is this a bug or have I just overseen an option?

I am not sure if it is possible to attach files anyway so you can have a look at the full sized picture here:

http://www.flickr.com/photos/stefan_grosse/529710460/

Neither Irfanview nor DIGIMAX RAW converter nor gimp/ufraw showed this
ugly green lines on the right of the black border at the lower and the right corner of the picture after conversion ...

Stefan

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users


_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: DNG-RAW to jpeg conversion artifacts

Arnd Baecker
Stefan,

if you want, you can send me your DNG file off-list
(or put it somewhere where I could fetch it) and
I will have a quick try how current svn behaves.

Arnd


On Tue, 5 Jun 2007, Gilles Caulier wrote:

> It sound like a bug in dcraw witch is used by digiKam to process RAW
> pictures.
>
> In digiKam 0.9.1, dcraw 8.41 is used.
> In digiKam 0.9.2, dcraw 8.60 is used. Perhaps this problem have been solved.
>
> At least, you can try to use the last dcraw command line version (8.71) to
> check indeep.
>
> Gilles Caulier
>
> 2007/6/5, Stefan Grosse <[hidden email]>:
> >
> > Hi,
> >
> > I recently bought a Samsung GX-10 DSLR camera which does support the DNG
> > (Adobe) RAW format. I have digikam 0.9.1 installed on Fedora 7.
> >
> > At the weekend I played (the first time) around with digikam. When I tried
> > to
> > convert some DNG images to jpeg I faced the following problem: on the
> > right side of the picture appeared a broad bar with green lines.
> > Furthermore there is a black frame around a part of the picture. So my
> > first guess
> > is that the converter takes in more pixels then it should.
> >
> > Is this a bug or have I just overseen an option?
> >
> > I am not sure if it is possible to attach files anyway so you can have a
> > look at the full sized picture here:
> >
> > http://www.flickr.com/photos/stefan_grosse/529710460/
> >
> > Neither Irfanview nor DIGIMAX RAW converter nor gimp/ufraw showed this
> > ugly green lines on the right of the black border at the lower and the
> > right corner of the picture after conversion ...
> >
> > Stefan
> >
> > _______________________________________________
> > Digikam-users mailing list
> > [hidden email]
> > https://mail.kde.org/mailman/listinfo/digikam-users
> >
>
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: DNG-RAW to jpeg conversion artifacts

Gilles Caulier-4
I'm interesed by the DNG file too for my personal RAW collection. Please share it on the web. Thanks in advance

Gilles

2007/6/5, Arnd Baecker <[hidden email]>:
Stefan,

if you want, you can send me your DNG file off-list
(or put it somewhere where I could fetch it) and
I will have a quick try how current svn behaves.

Arnd


On Tue, 5 Jun 2007, Gilles Caulier wrote:

> It sound like a bug in dcraw witch is used by digiKam to process RAW
> pictures.
>
> In digiKam 0.9.1, dcraw 8.41 is used.
> In digiKam 0.9.2, dcraw 8.60 is used. Perhaps this problem have been solved.
>
> At least, you can try to use the last dcraw command line version ( 8.71) to
> check indeep.
>
> Gilles Caulier
>
> 2007/6/5, Stefan Grosse <[hidden email]>:
> >
> > Hi,
> >
> > I recently bought a Samsung GX-10 DSLR camera which does support the DNG

> > (Adobe) RAW format. I have digikam 0.9.1 installed on Fedora 7.
> >
> > At the weekend I played (the first time) around with digikam. When I tried
> > to
> > convert some DNG images to jpeg I faced the following problem: on the
> > right side of the picture appeared a broad bar with green lines.
> > Furthermore there is a black frame around a part of the picture. So my
> > first guess
> > is that the converter takes in more pixels then it should.
> >
> > Is this a bug or have I just overseen an option?
> >
> > I am not sure if it is possible to attach files anyway so you can have a
> > look at the full sized picture here:
> >
> > http://www.flickr.com/photos/stefan_grosse/529710460/
> >
> > Neither Irfanview nor DIGIMAX RAW converter nor gimp/ufraw showed this
> > ugly green lines on the right of the black border at the lower and the
> > right corner of the picture after conversion ...
> >
> > Stefan
> >
> > _______________________________________________
> > Digikam-users mailing list
> > [hidden email]
> > https://mail.kde.org/mailman/listinfo/digikam-users
> >
>
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users


_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: DNG-RAW to jpeg conversion artifacts

Stefan Grosse-2
OK I uploaded it on:

http://www.uni-erfurt.de/mikrooekonomie/downloads/SG100028.DNG

Its a 16 MB file.

Just tell me if the download does not work.

Stefan


-------- Original Message  --------
Subject: Re:[Digikam-users] DNG-RAW to jpeg conversion artifacts
From: Gilles Caulier <[hidden email]>
To: digiKam - Digital Photo Management for the masses
<[hidden email]>
Date: 05.06.2007 13:02

> I'm interesed by the DNG file too for my personal RAW collection. Please
> share it on the web. Thanks in advance
>
> Gilles
>
> 2007/6/5, Arnd Baecker <[hidden email]>:
>>
>> Stefan,
>>
>> if you want, you can send me your DNG file off-list
>> (or put it somewhere where I could fetch it) and
>> I will have a quick try how current svn behaves.
>>
>> Arnd
>>
>>
>> On Tue, 5 Jun 2007, Gilles Caulier wrote:
>>
>> > It sound like a bug in dcraw witch is used by digiKam to process RAW
>> > pictures.
>> >
>> > In digiKam 0.9.1, dcraw 8.41 is used.
>> > In digiKam 0.9.2, dcraw 8.60 is used. Perhaps this problem have been
>> solved.
>> >
>> > At least, you can try to use the last dcraw command line version
>> (8.71)
>> to
>> > check indeep.
>> >
>> > Gilles Caulier
>> >
>> > 2007/6/5, Stefan Grosse <[hidden email]>:
>> > >
>> > > Hi,
>> > >
>> > > I recently bought a Samsung GX-10 DSLR camera which does support the
>> DNG
>> > > (Adobe) RAW format. I have digikam 0.9.1 installed on Fedora 7.
>> > >
>> > > At the weekend I played (the first time) around with digikam. When I
>> tried
>> > > to
>> > > convert some DNG images to jpeg I faced the following problem: on
>> the
>> > > right side of the picture appeared a broad bar with green lines.
>> > > Furthermore there is a black frame around a part of the picture.
>> So my
>> > > first guess
>> > > is that the converter takes in more pixels then it should.
>> > >
>> > > Is this a bug or have I just overseen an option?
>> > >
>> > > I am not sure if it is possible to attach files anyway so you can
>> have
>> a
>> > > look at the full sized picture here:
>> > >
>> > > http://www.flickr.com/photos/stefan_grosse/529710460/
>> > >
>> > > Neither Irfanview nor DIGIMAX RAW converter nor gimp/ufraw showed
>> this
>> > > ugly green lines on the right of the black border at the lower
>> and the
>> > > right corner of the picture after conversion ...
>> > >
>> > > Stefan
>> > >
>> > > _______________________________________________
>> > > Digikam-users mailing list
>> > > [hidden email]
>> > > https://mail.kde.org/mailman/listinfo/digikam-users
>> > >
>> >
>> _______________________________________________
>> Digikam-users mailing list
>> [hidden email]
>> https://mail.kde.org/mailman/listinfo/digikam-users
>>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Digikam-users mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users
>  
> ------------------------------------------------------------------------
>
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.472 / Virus Database: 269.8.9/832 - Release Date: 04.06.2007 18:43
>  


_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: DNG-RAW to jpeg conversion artifacts

Arnd Baecker
Thanks Stefan,

download worked fine and I also observe the problem you describe
with current svn.

The picture dimensions are 3936 x 2624,
so with the following I think your suspicion is right:

According to
http://www.amazon.co.uk/Samsung-GX10-Digital-18-55mm-Kit/dp/B000LVFW1K
The resolution should be: 3872 x 2592

This might be the difference between total
pixels and effective pixels (10.75 vs. 10.2),

http://www.samsungcamera.co.uk/product/pro_view.asp?prol_uid=1925&cat_uid=62&tabmenu=2#tabs

Which dcraw is used by the gimp/ufraw combo you used?

Best, Arnd

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: DNG-RAW to jpeg conversion artifacts

Stefan Grosse-2
Ok, thanks for the response and verification.

The (clean) ufraw conversion I did was with ufraw 0.11 (for windows).
The homepage states that it uses dcraw 8.72

Stefan

-------- Original Message  --------
Subject: Re:[Digikam-users] DNG-RAW to jpeg conversion artifacts
From: Arnd Baecker <[hidden email]>
To: digiKam - Digital Photo Management for the masses
<[hidden email]>
Date: 05.06.2007 13:50

> Thanks Stefan,
>
> download worked fine and I also observe the problem you describe
> with current svn.
>
> The picture dimensions are 3936 x 2624,
> so with the following I think your suspicion is right:
>
> According to
> http://www.amazon.co.uk/Samsung-GX10-Digital-18-55mm-Kit/dp/B000LVFW1K
> The resolution should be: 3872 x 2592
>
> This might be the difference between total
> pixels and effective pixels (10.75 vs. 10.2),
>
> http://www.samsungcamera.co.uk/product/pro_view.asp?prol_uid=1925&cat_uid=62&tabmenu=2#tabs
>
> Which dcraw is used by the gimp/ufraw combo you used?
>
> Best, Arnd
>
> _______________________________________________
> Digikam-users mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users
>
>
>  


_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: DNG-RAW to jpeg conversion artifacts

Gilles Caulier-4


2007/6/5, Stefan Grosse <[hidden email]>:
Ok, thanks for the response and verification.

The (clean) ufraw conversion I did was with ufraw 0.11 (for windows).
The homepage states that it uses dcraw 8.72

This is want mean than we need to update dcraw.c in libkdcraw to 8.72 version.

I'm currently port libkdcraw code to QT4/KDE4. So, to perform advanced test with this library using new dcraw.c in core, we need to do it after than digiKam will be ported to QT4/KDE4...

Gilles


_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: DNG-RAW to jpeg conversion artifacts

Arnd Baecker
In reply to this post by Stefan Grosse-2

Gilles, so to support Pentax K10D and Samsung GX10 properly,
it seems that an update of dcraw to 8.72 would be needed ...

On Tue, 5 Jun 2007, Stefan Grosse wrote:

> Ok, thanks for the response and verification.
>
> The (clean) ufraw conversion I did was with ufraw 0.11 (for windows).
> The homepage states that it uses dcraw 8.72

P.S.:

[...]

> > The picture dimensions are 3936 x 2624,
> > so with the following I think your suspicion is right:
> >
> > According to
> > http://www.amazon.co.uk/Samsung-GX10-Digital-18-55mm-Kit/dp/B000LVFW1K
> > The resolution should be: 3872 x 2592

dcraw 8.72 contains the interesting lines in the source:

if (height == 2624 && width == 3936) { /* Pentax K10D and Samsung GX10 */
    height = 2616;
    width  = 3896;
  }
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: DNG-RAW to jpeg conversion artifacts

Arnd Baecker
In reply to this post by Gilles Caulier-4

On Tue, 5 Jun 2007, Gilles Caulier wrote:

> This is want mean than we need to update dcraw.c in libkdcraw to 8.72version.
>
> I'm currently port libkdcraw code to QT4/KDE4. So, to perform advanced test
> with this library using new dcraw.c in core, we need to do it after than
> digiKam will be ported to QT4/KDE4...

From your mails I know that updating dcraw is a pain
due to incompatible changes in the command line options, but
if an update is only done for the QT4/KDE4 branch, many
users with their new K10D and Samsung will not be able
to use digikam for more than a year (?) , or even longer,
(depending on how quickly their distribution will move to KDE4...)

Just my 2 Cents (I have an older Canon and no problems ;-)

Arnd
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: DNG-RAW to jpeg conversion artifacts

Gilles Caulier-4


2007/6/5, Arnd Baecker <[hidden email]>:

On Tue, 5 Jun 2007, Gilles Caulier wrote:

> This is want mean than we need to update dcraw.c in libkdcraw to 8.72version.
>
> I'm currently port libkdcraw code to QT4/KDE4. So, to perform advanced test
> with this library using new dcraw.c in core, we need to do it after than
> digiKam will be ported to QT4/KDE4...

From your mails I know that updating dcraw is a pain
due to incompatible changes in the command line options,


yes (:=))

but
if an update is only done for the QT4/KDE4 branch, many
users with their new K10D and Samsung will not be able
to use digikam for more than a year (?)

no. libkdcraw will be ported today.

libkipi will be ported this week...

...and after than 0.9.2 will be released, i will start to port digiKam (with the help from Marcel of course).

like KDE4 release plan said than first release will be done during october, november 2007, well digiKam will be ready to use for this date.

My first impression is than digiKam port will take several weeks...

Of course, we update current libkdcraw KDE3 implementation to use last dcraw.c and backport it to KDE4 stuff later.

This just a question of priority.

Personnaly, i think than a digiKam 0.9.3 will be mandatory to clean future bugs reported by users. updateding libkdcraw at the same time can be a plan...

The problem, from a developper viewpoint is to backport all KDE3 fix to KDE4 implementation. It's a waste of time.

Marcel, please give me your viewpoint... 

Gilles

_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: DNG-RAW to jpeg conversion artifacts

Stefan Grosse-2
In reply to this post by Arnd Baecker
Not to forget that there are other cameras that will be left out which
were added since 8.60: Nikon D40x, Panasonic DMC-FZ8, Olympus E-410,
Fujitsu S5 pro to name some I found on the changelog:
http://www.lebsanft.org/blog/index.php?cat=9 (I did not find an official
changelog but this for the windows version).

What I saw there as well is that the k10d/gx-10 bug was fixed in version
8.69 ...

Stefan

> >From your mails I know that updating dcraw is a pain
> due to incompatible changes in the command line options, but
> if an update is only done for the QT4/KDE4 branch, many
> users with their new K10D and Samsung will not be able
> to use digikam for more than a year (?) , or even longer,
> (depending on how quickly their distribution will move to KDE4...)
>
> Just my 2 Cents (I have an older Canon and no problems ;-)
>
> Arnd
> _______________________________________________
> Digikam-users mailing list
> [hidden email]
> https://mail.kde.org/mailman/listinfo/digikam-users
>
>
>  


_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: DNG-RAW to jpeg conversion artifacts

Bugzilla from lure@kubuntu.org
On Tuesday 05 June 2007 14:46:25 Stefan Grosse wrote:
> Not to forget that there are other cameras that will be left out which
> were added since 8.60: Nikon D40x, Panasonic DMC-FZ8, Olympus E-410,
> Fujitsu S5 pro to name some I found on the changelog:
> http://www.lebsanft.org/blog/index.php?cat=9 (I did not find an official
> changelog but this for the windows version).
>
> What I saw there as well is that the k10d/gx-10 bug was fixed in version
> 8.69 ...

I would like to point out that dcraw 8.60 is the last version which has free
license. Newer version have some license restricitions which are preventing
use in Debian or Ubuntu (main/universe).

See this bug for more background:
https://bugs.launchpad.net/ubuntu/+source/dcraw/+bug/86480
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=424663

This does not mean that you cannot use it, but it makes life harder for
packagers.

Regards,
Luka
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: DNG-RAW to jpeg conversion artifacts

Stefan Grosse-2
-------- Original Message  --------
Subject: Re:[Digikam-users] DNG-RAW to jpeg conversion artifacts
From: Luka Renko <[hidden email]>
To: [hidden email]
Date: 05.06.2007 17:15
> I would like to point out that dcraw 8.60 is the last version which has free
> license. Newer version have some license restricitions which are preventing
> use in Debian or Ubuntu (main/universe).
>  

Well, as I understand the licence as long as you do not change the dcraw
source its still free to use:

>/    *If you have not modified dcraw.c in any way, a link to my
/>/     homepage qualifies as "full source code".
/


So how comes, if there is discussion, that debian has ufraw 0.11 in
unstable (it uses dcraw 8.72) ?

Hm. As "end user" I really dont like all those licence stuff....

Cheers
Stefan
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: DNG-RAW to jpeg conversion artifacts

Gilles Caulier-4


2007/6/5, Stefan Grosse <[hidden email]>:
-------- Original Message  --------
Subject: Re:[Digikam-users] DNG-RAW to jpeg conversion artifacts
From: Luka Renko <[hidden email]>
To: [hidden email]
Date: 05.06.2007 17:15
> I would like to point out that dcraw 8.60 is the last version which has free
> license. Newer version have some license restricitions which are preventing
> use in Debian or Ubuntu (main/universe).
>

Well, as I understand the licence as long as you do not change the dcraw
source its still free to use:

>/    *If you have not modified dcraw.c in any way, a link to my
/>/     homepage qualifies as "full source code".
/


So how comes, if there is discussion, that debian has ufraw 0.11 in
unstable (it uses dcraw 8.72) ?

Right. and UFRAW changes dcraw.c implemetation. For that the others part of the license stuff must be applied. Take a look and you will be suprized than author must be payed...

Also, take a look in UFRAW source code, and you will see than UFRAW team have changed dcraw implementation header (the license in fact) !!! This is weird !

Luka, like UFRAW do not respect the dcraw.c  8.72 license, why we can see it in de Debian ?

And the problem is the same with current libsquirel witch include dcraw.c !!!

Important : likdcraw do not change dcraw.c. the file is just copied as well... So, we respect original licence.

My fast conclusion is : if UFRAW is fine for Debian, well there is no problem to update libkdcraw using dcraw.c 8.72 (:=))) and the Debian bug report are dummy...

I'm tired to fight against dummy licensing from open-source. GPL is fine. That all... If anybody want make money with software, he can do com/pro-softwares...

Gilles
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users
Reply | Threaded
Open this post in threaded view
|

Re: DNG-RAW to jpeg conversion artifacts

Arnd Baecker
On Tue, 5 Jun 2007, Gilles Caulier wrote:

[...]

> Important : likdcraw do not change dcraw.c. the file is just copied as
> well... So, we respect original licence.
>
> My fast conclusion is : if UFRAW is fine for Debian, well there is no
> problem to update libkdcraw using dcraw.c 8.72 (:=))) and the Debian bug
> report are dummy...
>
> I'm tired to fight against dummy licensing from open-source. GPL is fine.
> That all... If anybody want make money with software, he can do
> com/pro-softwares...

Can't agree more - just go for 8.72!

(https://launchpad.net/ubuntu/+source/dcraw/+bug/86480
is not moving forward at all, so why bother.
And really, reading the license I don't understand
where there is problem. In the thread, there
is only a vage reference to someone named "James (Troup)"
who is not happy (whatever that means!) with the licence ...
no point in digging further into this - let the debian legal folks
sort this out - and yes, I am using debian ;-)

Best, Arnd
_______________________________________________
Digikam-users mailing list
[hidden email]
https://mail.kde.org/mailman/listinfo/digikam-users