[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Dolphin PDF preview - strange behaviour
From:       Leonardo Giordani <giordani.leonardo () gmail ! com>
Date:       2014-07-07 9:53:24
Message-ID: CAEhE+O=oXhOeS0Zt0uScYZzoxu1wBAxNXtCkvE_baMyKXa3UaQ () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Frank, what does Dolphin use to preview things like JPEGs? If I correctly
understand libkdegraphics-thumbnailers contains only stuff for PS/PDF and
RAW images.
if I would try to use poppler to get PDF thumbnails shall I hack this
(unmaintained) package or is there a better place?

Thanks

Leo



Leonardo Giordani
@tw_lgiordani <http://twitter.com/tw_lgiordani> - lgiordani.com
My profile on About.me <http://about.me/leonardo.giordani> - My GitHub page
<https://github.com/lgiordani>


2014-06-24 14:31 GMT+02:00 Leonardo Giordani <giordani.leonardo@gmail.com>:

> Hi Frank,
>
> thank you for the link, I'm going to check it.
>
> Regards,
>
> Leo
>
> Leonardo Giordani
> @tw_lgiordani <http://twitter.com/tw_lgiordani> - lgiordani.com
> My profile on About.me <http://about.me/leonardo.giordani> - My GitHub
> page <https://github.com/lgiordani>
>
>
> 2014-06-24 14:10 GMT+02:00 Frank Reininghaus <frank78ac@googlemail.com>:
>
> Hi,
>>
>> 2014-06-24 13:42 GMT+02:00 Leonardo Giordani:
>> > Hi all,
>> >
>> > I get a very strange behaviour in Dolphin when dealing some PDF files
>> (I do
>> > not yet know why just some of them).
>> >
>> > The preview shows an image that is larger than the actual page, with a
>> big
>> > white area.
>> >
>> > I tried to split the PDF (pdftk burst) and the thumbnails of some of
>> them
>> > have the same problem.
>> >
>> > When opening the PDF with Okular, Gimp or other programs everything
>> works
>> > perfectly.
>> >
>> > Here are 2 examples of this behaviour. In the first one the image is
>> also
>> > surrounded by a white border which is invisible in Gimp or Okular.
>> >
>> >
>> https://drive.google.com/folderview?id=0B8dlXBUSEZtPY19CSTBvNW9QTDA&usp=sharing
>> >
>> > Anyone understands why Dolphin produces a wrong thumbnail?
>> > What does Dolphin use to generate the previews? Ghostscript? What
>> parameters
>> > does it use?
>>
>> I think that KDE applications use the "ps" subdirectory of this
>> repository to generate PDF previews:
>>
>> http://quickgit.kde.org/?p=kdegraphics-thumbnailers.git
>>
>> I'm not familiar with this thumbnailer, but I hope that all required
>> information can be found in the source code.
>>
>> Cheers,
>> Frank
>>
>> >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to
>> unsubscribe <<
>>
>
>

[Attachment #5 (text/html)]

<div dir="ltr"><div><div><div>Frank, what does Dolphin use to preview things like \
JPEGs? If I correctly understand  libkdegraphics-thumbnailers contains only stuff for \
PS/PDF and RAW images.<br></div>if I would try to use poppler to get PDF thumbnails \
shall I hack this (unmaintained) package or is there a better place?<br> \
<br></div>Thanks<br><br>Leo<br><br></div><br></div><div class="gmail_extra"><br \
clear="all"><div><div dir="ltr"><div>Leonardo Giordani<br><a \
href="http://twitter.com/tw_lgiordani" target="_blank">@tw_lgiordani</a> - <a \
href="http://lgiordani.com" target="_blank">lgiordani.com</a><br> </div>My profile on \
<a href="http://about.me/leonardo.giordani" target="_blank">About.me</a> - My <a \
href="https://github.com/lgiordani" target="_blank">GitHub page</a><br></div></div> \
<br><br><div class="gmail_quote">2014-06-24 14:31 GMT+02:00 Leonardo Giordani <span \
dir="ltr">&lt;<a href="mailto:giordani.leonardo@gmail.com" \
target="_blank">giordani.leonardo@gmail.com</a>&gt;</span>:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"> <div dir="ltr"><div>Hi Frank,<br><br>thank you for the link, \
I&#39;m going to check it.<br><br></div>Regards,<br><br>Leo<br></div><div \
class="gmail_extra"><div class=""><br clear="all"><div><div dir="ltr"><div>Leonardo \
Giordani<br> <a href="http://twitter.com/tw_lgiordani" \
target="_blank">@tw_lgiordani</a> - <a href="http://lgiordani.com" \
target="_blank">lgiordani.com</a><br> </div>My profile on <a \
href="http://about.me/leonardo.giordani" target="_blank">About.me</a> - My <a \
href="https://github.com/lgiordani" target="_blank">GitHub page</a><br></div></div> \
<br><br></div><div class="gmail_quote">2014-06-24 14:10 GMT+02:00 Frank Reininghaus \
<span dir="ltr">&lt;<a href="mailto:frank78ac@googlemail.com" \
target="_blank">frank78ac@googlemail.com</a>&gt;</span>:<div><div class="h5"> \
<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"> Hi,<br>
<br>
2014-06-24 13:42 GMT+02:00 Leonardo Giordani:<br>
<div>&gt; Hi all,<br>
&gt;<br>
&gt; I get a very strange behaviour in Dolphin when dealing some PDF files (I do<br>
&gt; not yet know why just some of them).<br>
&gt;<br>
&gt; The preview shows an image that is larger than the actual page, with a big<br>
&gt; white area.<br>
&gt;<br>
&gt; I tried to split the PDF (pdftk burst) and the thumbnails of some of them<br>
&gt; have the same problem.<br>
&gt;<br>
&gt; When opening the PDF with Okular, Gimp or other programs everything works<br>
&gt; perfectly.<br>
&gt;<br>
&gt; Here are 2 examples of this behaviour. In the first one the image is also<br>
&gt; surrounded by a white border which is invisible in Gimp or Okular.<br>
&gt;<br>
&gt; <a href="https://drive.google.com/folderview?id=0B8dlXBUSEZtPY19CSTBvNW9QTDA&amp;usp=sharing" \
target="_blank">https://drive.google.com/folderview?id=0B8dlXBUSEZtPY19CSTBvNW9QTDA&amp;usp=sharing</a><br>
 &gt;<br>
&gt; Anyone understands why Dolphin produces a wrong thumbnail?<br>
&gt; What does Dolphin use to generate the previews? Ghostscript? What parameters<br>
&gt; does it use?<br>
<br>
</div>I think that KDE applications use the &quot;ps&quot; subdirectory of this<br>
repository to generate PDF previews:<br>
<br>
<a href="http://quickgit.kde.org/?p=kdegraphics-thumbnailers.git" \
target="_blank">http://quickgit.kde.org/?p=kdegraphics-thumbnailers.git</a><br> <br>
I&#39;m not familiar with this thumbnailer, but I hope that all required<br>
information can be found in the source code.<br>
<br>
Cheers,<br>
Frank<br>
<br>
&gt;&gt; Visit <a href="http://mail.kde.org/mailman/listinfo/kde-devel#unsub" \
target="_blank">http://mail.kde.org/mailman/listinfo/kde-devel#unsub</a> to \
unsubscribe &lt;&lt;<br> </blockquote></div></div></div><br></div>
</blockquote></div><br></div>



>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic