Lubos Lunak | 1 Mar 2005 13:21
Picon

[PATCH] Problems with rotating


 Hello,

 when one rotates an image using Ctrl+R, the image size is not updated, so the 
viewed image appears to be cut on sides. The problem is that code in rather 
many places calls setImage() without following it with sizeUpdated() and/or 
rectUpdated(). The attached src.patch fixes that by adding another bool 
argument to setImage() which should avoid forgetting doing so. Please check.

 Another problem caused by this patch is that now even things like rotating 
cause the frame which is show during loading to be shown. The possibilities 
are either src_sizeknown.patch, which adds sizeKnown() call which is used 
only by the loader when the size of the image is known, or (my preferred) 
gvscrollpixmapview.cpp.patch, which simply removes the frame. I've personally 
never like the frame much, other image viewers don't have it, and IMHO it 
adds perceived flicker when quickly changing images.

 Note that there are even more problems with rotating. When using the KIPI 
plugin for that the image is not updated. Moreover the lossless 
transformation seems to be broken, at least here on SUSE, so rotating jpeg's 
causes shifts in the images :(. No patches for that.

--

-- 
Lubos Lunak
KDE developer
---------------------------------------------------------------------
SuSE CR, s.r.o.  e-mail: l.lunak@... , l.lunak@...
Drahobejlova 27  tel: +420 2 9654 2373
190 00 Praha 9   fax: +420 2 9654 2374
Czech Republic   http://www.suse.cz/
(Continue reading)

Aurelien Gateau | 1 Mar 2005 23:26
Picon
Favicon
Gravatar

Re: Feature Request

Le Dimanche 27 Février 2005 18:54, Werner Hartnagel a écrit :
> Hello,
>
> i'm a web designer and often need tiled background images.
> Some images are just 2x2 Pixel and it would be great to have
> a option to view a image tiled in the View Menu.

Hello,

This is already in the bug reports, see 
<http://bugs.kde.org/show_bug.cgi?id=81478>.

It's a good idea, which I sometimes miss too. I hope to implement it when we 
start the development of the 1.3.x versions.

>
> Thanks for Gwenview, i tried all and its the best for me.
Thanks!

Regards,
  Aurélien

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
Aurelien Gateau | 1 Mar 2005 22:55
Picon
Favicon
Gravatar

Need help with website comments approval

Hello,

Some times ago, the web site comments got spammed by some poor souls so I had 
to disable unmoderated anonymous comment. Only problem is that I forgot to 
regularly check for comments waiting to be approved. I just discovered there 
was lots of pending comments waiting for approval and approved them (at least 
those which were not spam).

I posted this message as a news on the website. I could really use some help 
with moderating comments, since I'm quite sure I might forget to check this. 
This is really not difficult: create an account on the site and notify me 
that you're interested in moderating comments. I will grant you the necessary 
rights.

Regards,
  Aurélien

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
Angelo Naselli | 2 Mar 2005 16:26
Picon
Favicon

Re: Need help with website comments approval

> Hello,
> 
> Some times ago, the web site comments got spammed by some poor souls so I had 
> to disable unmoderated anonymous comment. Only problem is that I forgot to 
> regularly check for comments waiting to be approved. I just discovered there 
> was lots of pending comments waiting for approval and approved them (at least 
> those which were not spam).
> 
> I posted this message as a news on the website. I could really use some help 
> with moderating comments, since I'm quite sure I might forget to check this. 
> This is really not difficult: create an account on the site and notify me 
> that you're interested in moderating comments. I will grant you the necessary 
> rights.
> 
> Regards,
>   Aurélien
> 
Well i used to check the comment once, but i've never approved any :(
It's not a problem for me trying to help you in that.

Angelo

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
(Continue reading)

Angelo Naselli | 2 Mar 2005 17:13
Picon
Favicon

Problem with kipi packages

Hi, I know this is not a gwenview problem, but it seems that
on kdeextragear site (http://extragear.kde.org/apps/kipi) it
isn't present any rpm package anymore, even if i uploaded them on kde 
ftp site.
Now the point: to run gwenview in mandrakelinux you need at least 
libkipi because of course i'm building it to use kipi-plugins by default, 
but libkipi0 (0.1 or 0.1.1) is officially release on mandrake cooker 
and so it'll be untill mdl 10.2.
Now who has a MandrakeSoft Club access can download them from testing,
and who has already installed at least libkipi 0.1 the problem is absent,
but who wants to try gwenview now for the first time?

Angelo

	
		
__________________________________ 
Celebrate Yahoo!'s 10th Birthday! 
Yahoo! Netrospective: 100 Moments of the Web 
http://birthday.yahoo.com/netrospective/

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
Aurelien Gateau | 2 Mar 2005 23:27
Picon
Favicon
Gravatar

Re: Need help with website comments approval

Le Mercredi 2 Mars 2005 16:26, Angelo Naselli a écrit :
> > I posted this message as a news on the website. I could really use some
> > help with moderating comments, since I'm quite sure I might forget to
> > check this. This is really not difficult: create an account on the site
> > and notify me that you're interested in moderating comments. I will grant
> > you the necessary rights.
> >
> > Regards,
> >   Aurélien
>
> Well i used to check the comment once, but i've never approved any :(
> It's not a problem for me trying to help you in that.

That would be great, thanks. Usually, spam is easy to identify, so it's a 
quick task.

Regards,
  Aurélien

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
Aurelien Gateau | 3 Mar 2005 00:35
Picon
Favicon
Gravatar

Re: [PATCH] Problems with rotating

Le Mardi 1 Mars 2005 13:21, Lubos Lunak a écrit :
>  Hello,
>
>  when one rotates an image using Ctrl+R, the image size is not updated, so
> the viewed image appears to be cut on sides. The problem is that code in
> rather many places calls setImage() without following it with sizeUpdated()
> and/or rectUpdated(). The attached src.patch fixes that by adding another
> bool argument to setImage() which should avoid forgetting doing so. Please
> check.

Thanks for the patch. I can't believe I did not notice this one :(.

>  Another problem caused by this patch is that now even things like rotating
> cause the frame which is show during loading to be shown. The possibilities
> are either src_sizeknown.patch, which adds sizeKnown() call which is used
> only by the loader when the size of the image is known, or (my preferred)
> gvscrollpixmapview.cpp.patch, which simply removes the frame. I've
> personally never like the frame much, other image viewers don't have it,
> and IMHO it adds perceived flicker when quickly changing images.

I applied your preferred one :-).

>  Note that there are even more problems with rotating. When using the KIPI
> plugin for that the image is not updated. Moreover the lossless
> transformation seems to be broken, at least here on SUSE, so rotating
> jpeg's causes shifts in the images :(. No patches for that.

Argh... the JPEG bug really need to be fixed before releasing 1.2.0. I'm going 
to investigate.

(Continue reading)

Aurelien Gateau | 3 Mar 2005 02:11
Picon
Favicon
Gravatar

Re: [PATCH] Problems with rotating

Le Mardi 1 Mars 2005 13:21, Lubos Lunak a écrit :
>  Note that there are even more problems with rotating. When using the KIPI
> plugin for that the image is not updated. Moreover the lossless
> transformation seems to be broken, at least here on SUSE, so rotating
> jpeg's causes shifts in the images :(. No patches for that.

More info about broken JPEGs: This seems to be related to the comment saving. 
disabling it fix the bug. I'm afraid KFileMetaInfo tries to reopen the file 
while it's not completely saved, but it's too late to investigate more.

Regards,
  Aurélien

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
Aurélien Gâteau | 6 Mar 2005 11:19
Picon
Favicon
Gravatar

kdeextragear-1/gwenview

CVS commit by gateau: 

Rework of the JPEGContent class to handle comments and do JPEG transformation
in memory (no more temp files). Should fix problems when rotating JPEG images.
CCMAIL:gwenview-general@...

  M +175 -41   gvimageutils/jpegcontent.cpp   1.5
  M +4 -2      gvimageutils/jpegcontent.h   1.3
  M            gvimageutils/orient6.jpg   1.2
  M +5 -1      gvimageutils/testjpegcontent.cpp   1.2
  M +14 -51    src/gvdocumentjpegloadedimpl.cpp   1.16

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
Lubos Lunak | 7 Mar 2005 10:08
Picon

Re: [PATCH] Problems with rotating

On Thursday 03 of March 2005 00:35, Aurelien Gateau wrote:
> Le Mardi 1 Mars 2005 13:21, Lubos Lunak a écrit :

> >  Note that there are even more problems with rotating. When using the
> > KIPI plugin for that the image is not updated. Moreover the lossless
> > transformation seems to be broken, at least here on SUSE, so rotating
> > jpeg's causes shifts in the images :(. No patches for that.
>
> Argh... the JPEG bug really need to be fixed before releasing 1.2.0. I'm
> going to investigate.

 It seems even jpegtran is broken. If I try jpegtran -rotate 90 on 
http://ktown.kde.org/~seli/download/Children of the Anari III.jpg , I 
http://ktown.kde.org/~seli/download/Children of the Anari III_2.jpg (notice 
the right side of it - it's the bottom side of the image). So the actual 
problem seems to be in libjpeg.

--

-- 
Lubos Lunak
KDE developer
---------------------------------------------------------------------
SuSE CR, s.r.o.  e-mail: l.lunak@... , l.lunak@...
Drahobejlova 27  tel: +420 2 9654 2373
190 00 Praha 9   fax: +420 2 9654 2374
Czech Republic   http://www.suse.cz/

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
(Continue reading)


Gmane