Re: Can't read raw images

Benny Simonsen <[email protected]> Thu, 19 Aug 2021 21:56:14 +0200
Newsgroups gmane.comp.kde.kimdaba
Message-ID <CABFHgZ_8VJ8AxKS03CnVcApqNsQS09ZuXo6XG7bWfe1LDnO5hA@mail.gmail.com>
--===============4571366756052702588==
Content-Type: multipart/alternative; boundary="000000000000322f3005c9eef284"

--000000000000322f3005c9eef284
Content-Type: text/plain; charset="UTF-8"

Den man. 16. aug. 2021 kl. 01.10 skrev Johannes Zarl-Zierl <
[email protected]>:

> Hi,
>
> Am Sonntag, 15. August 2021, 09:39:37 CEST schrieb Benny Simonsen:
> > Hi
> > I can't view my old Canon raw .tif images anymore in KPhotoalbum.
> > I can see the newer .crw and .cr2 images works fine.
> >
> > I have upgraded my PC, and it might be long time ago it have worked, so I
> > don't know what have changed.
>
> Are the files correctly displayed in gwenview? We use libkdcraw, just like
> gwenview, so if gwenview works but kphotoalbum doesn't, this is a
> kphotoalbum
> issue...
>
I can't figure out what happened, now I can see the images, even though it
is just a thumbnail.
I am sure that the source image was not missing.

There are some size-issue showing raw images, some of the "wrong" sizes are
in Gewnview, but there happens funny things in KPhotoalbum.

|--------+------+-----------+-----------+----------------------+-----------------------+------------------------|
|    EOS | Raw  |     dcraw |  Gwenview | KPhotoalbum 5.6.1    |
KPhotoalbum 5.8.1 | Kphotoalbum master     |
|--------+------+-----------+-----------+----------------------+-----------------------+------------------------|
|     1D | .tif | 2496x1662 |   288x192 | 288x192              |
    288x192 | 288x192                |
|   300D | .crw | 3088x2056 | 2048x1360 | 3088x2056            |
  3088x2056 | 3088x2056 -> 2048x1360 |
| 1DmkII | .cr2 | 3522x2348 | 1536x1024 | 384x256 -> 1536x1024 |
  1536x1024 | 1536x1024              |
|    70D | .cr2 | 5496x3670 | 5472x3648 | 684x456 -> 1368x912  | 5472x3648
-> 1368x912 | 5472x3648 -> 1368x912  |
|--------+------+-----------+-----------+----------------------+-----------------------+------------------------|

- All optional dependencises for building 5.6.1, 5.8.1 and master=33e7fe80
are installed (according to output from cmake).
- dcraw: Convert image via "dcraw image.<raw>" and open generated ppm file
in Qwenview
- Gwenview: Reported size of raw-image
- Kphotoalbum 5.6.1: Same result no matter if installed via "apt install
kphotoalbum" on linuxmint 20.2 or build from source.
- Kphotoalbum 5.8.1 build from source
- Kphotoalbum master=33e7fe80 build from source

In Kphotoalbum rows the -> is used if the size is changed between
- 1: Initial creation of init.xml, exif-info.db and .thumbnails, Save,
Close KPA
- 2: Reopen KPA viewing the images, Save.

If viewing the images without save, close and reopen, then the size is the
initial size in 5.6.1(installed via apt).
In 5.8.1 and master=33e7fe80 the result is the final size (1368x912) no
matter close+reopen or not.

Each test starts from a directory only with the raw images and executiong
path_to/kphotoalbum --db dir_with_images/index.xml (index.xml does not
exist).

Hope that it makes sense. The issue is not very important, even though it
would be nice to see the full size images :-).

*Missing (optional) dependencies - libkdcraw not installed?*
Is there something I should install prior to re-building KPhotoalbum?

I have installed libraw19, but no libkdcraw, is that a problem, when:
dpkg -l |grep -i '\(libkdcraw\|libraw\)'
ii  libraw1394-11:amd64                           2.1.2-1
            amd64        library for direct access to IEEE 1394 bus (aka
FireWire)
ii  libraw19:amd64                                0.19.5-1ubuntu1
            amd64        raw image decoder library


> > *UFRaw*
> > I have prior used UFRaw + URwaw batch - I don't know if KPhotoalbum have
> > used it, but it have dissaperaed from the linuxmint repo due to
> > unmaintained.
>
> We use libkdcraw, which depends on libraw.
>
I have a .ufraw file placed together with the .tif file, I don't assume it
gives any problems, but just mentioning it.


>
> > *MPlayer2*: Not installed, I can't see it should be a dependency any more
>
> -> This seems to be a packaging error. KPhotoAlbum used to use mplayer/
> mplayer2 for creating video thumbnails, but does not do so anymore.
>
I am not sure I understand you:
If mplayer2 isn't used any more then it is ok that KPhotoalbum not depends
on it.


> Cheers,
>   Johannes
>

Cheers,
Benny

--000000000000322f3005c9eef284
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div class=3D"gmail_quot=
e"><div dir=3D"ltr" class=3D"gmail_attr">Den man. 16. aug. 2021 kl. 01.10 s=
krev Johannes Zarl-Zierl &lt;<a href=3D"mailto:[email protected]" targ=
et=3D"_blank">[email protected]</a>&gt;:<br></div><blockquote class=3D=
"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(2=
04,204,204);padding-left:1ex">Hi,<br>
<br>
Am Sonntag, 15. August 2021, 09:39:37 CEST schrieb Benny Simonsen:<br>
&gt; Hi<br>
&gt; I can&#39;t view my old Canon raw .tif images anymore in KPhotoalbum.<=
br>
&gt; I can see the newer .crw and .cr2 images works fine.<br>
&gt; <br>
&gt; I have upgraded my PC, and it might be long time ago it have worked, s=
o I<br>
&gt; don&#39;t know what have changed.<br>
<br>
Are the files correctly displayed in gwenview? We use libkdcraw, just like =
<br>
gwenview, so if gwenview works but kphotoalbum doesn&#39;t, this is a kphot=
oalbum <br>
issue...<br></blockquote><div>I can&#39;t figure out what happened, now I c=
an see the images, even though it is just a thumbnail.</div><div>I am sure =
that the source image was not missing.<br></div><br><div>There are some siz=
e-issue showing raw images, some of the &quot;wrong&quot; sizes are in Gewn=
view, but there happens funny things in KPhotoalbum.<br></div><div><br></di=
v><div><span style=3D"font-family:monospace">|--------+------+-----------+-=
----------+----------------------+-----------------------+-----------------=
-------|<br>| =C2=A0 =C2=A0EOS | Raw =C2=A0| =C2=A0 =C2=A0 dcraw | =C2=A0Gw=
enview | KPhotoalbum 5.6.1 =C2=A0 =C2=A0| =C2=A0 =C2=A0 KPhotoalbum 5.8.1 |=
 Kphotoalbum master =C2=A0 =C2=A0 |<br>|--------+------+-----------+-------=
----+----------------------+-----------------------+-----------------------=
-|<br>| =C2=A0 =C2=A0 1D | .tif | 2496x1662 | =C2=A0 288x192 | 288x192 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 288x192 | 288x192 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0=C2=A0 |<br>| =C2=A0 300D | .crw | 3088x2056 | 2048x1360 | 308=
8x2056 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 3088x2056 | 3088x2056 -&gt; 2048x1360 |<br>| 1DmkII | .cr=
2 | 3522x2348 | 1536x1024 | 384x256 -&gt; 1536x1024 | =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 1536x1024 | 1536x1024 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0=C2=A0 |<br>| =C2=A0 =C2=A070D | .cr2 | 5496x3670 | 5472x3648 | 6=
84x456 -&gt; 1368x912 =C2=A0| 5472x3648 -&gt; 1368x912 | 5472x3648 -&gt; 13=
68x912=C2=A0 |<br>|--------+------+-----------+-----------+----------------=
------+-----------------------+------------------------|<br></span></div><d=
iv><br></div><div>- All optional dependencises for building 5.6.1, 5.8.1 an=
d master=3D33e7fe80 are installed (according to output from cmake).<br>- dc=
raw: Convert image via &quot;dcraw image.&lt;raw&gt;&quot; and open generat=
ed ppm file in Qwenview<br>- Gwenview: Reported size of raw-image<br>- Kpho=
toalbum 5.6.1: Same result no matter if installed via &quot;apt install kph=
otoalbum&quot; on linuxmint 20.2 or build from source.</div><div>- Kphotoal=
bum 5.8.1 build from source</div><div>- Kphotoalbum master=3D33e7fe80 build=
 from source</div><div><br></div><div>In Kphotoalbum rows the -&gt; is used=
 if the size is changed between<br>- 1: Initial creation of init.xml, exif-=
info.db and .thumbnails, Save, Close KPA<br></div><div>- 2: Reopen KPA view=
ing the images, Save.<br><br>If viewing the images without save, close and =
reopen, then the size is the initial size in 5.6.1(installed via apt).<br>I=
n 5.8.1 and master=3D33e7fe80 the result is the final size (1368x912) no ma=
tter close+reopen or not.</div><div><br></div><div>Each test starts from a =
directory only with the raw images and executiong path_to/kphotoalbum --db =
dir_with_images/index.xml (index.xml does not exist).</div><div><br></div><=
div>Hope that it makes sense. The issue is not very important, even though =
it would be nice to see the full size images :-).<br></div><b></b></div><di=
v class=3D"gmail_quote"><b><br></b></div><div class=3D"gmail_quote"><b>Miss=
ing (optional) dependencies - libkdcraw not installed?</b><br><div>Is there=
 something I should install prior to re-building KPhotoalbum?<br></div><div=
><br></div><div>I have installed libraw19, but no libkdcraw, is that a prob=
lem, when:</div><div><span style=3D"font-family:monospace">dpkg -l |grep -i=
 &#39;\(libkdcraw\|libraw\)&#39;<br>ii =C2=A0libraw1394-11:amd64 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 2.1.2-1 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 amd64 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0library for direct access to IEEE 1394 bus (aka FireWire)<br>ii =C2=
=A0libraw19:amd64 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A00.19.5-1ubuntu1 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 a=
md64 =C2=A0 =C2=A0 =C2=A0 =C2=A0raw image decoder library</span><br></div><=
div><br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px=
 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
&gt; *UFRaw*<br>
&gt; I have prior used UFRaw + URwaw batch - I don&#39;t know if KPhotoalbu=
m have<br>
&gt; used it, but it have dissaperaed from the linuxmint repo due to<br>
&gt; unmaintained.<br>
<br>
We use libkdcraw, which depends on libraw.<br></blockquote><div><div>I have=
 a .ufraw file placed together with the .tif file, I don&#39;t assume it gi=
ves any problems, but just mentioning it.<br></div><div></div>=C2=A0</div><=
blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-l=
eft:1px solid rgb(204,204,204);padding-left:1ex">
<br>
&gt; *MPlayer2*: Not installed, I can&#39;t see it should be a dependency a=
ny more<br>
<br>
-&gt; This seems to be a packaging error. KPhotoAlbum used to use mplayer/<=
br>
mplayer2 for creating video thumbnails, but does not do so anymore.<br></bl=
ockquote><div>I am not sure I understand you: <br></div><div>If mplayer2 is=
n&#39;t used any more then it is ok that KPhotoalbum not depends on it.</di=
v><div> <br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px=
 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Cheers,<br>
=C2=A0 Johannes<br></blockquote><div><br></div><div>Cheers,</div><div>Benny=
</div><br></div></div></div></div>

--000000000000322f3005c9eef284--

--===============4571366756052702588==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
KPhotoAlbum mailing list
[email protected]
https://mail.kdab.com/mailman/listinfo/kphotoalbum

--===============4571366756052702588==--