[Digikam-devel] Using image editor canvas with Preview mode...

Marcel Wiesweg marcel.wiesweg at gmx.de
Sun Apr 8 16:07:14 BST 2007


Am Samstag 07 April 2007 21:18 schrieb Gilles Caulier:
> 2007/4/7, Marcel Wiesweg <marcel.wiesweg at gmx.de>:
> > > Fine for me. i need this to implement the LightTable because i will use
> > > more than one instance of Canvas/DImgInterface at the same time,
> > > embeded
> >
> > in
> >
> > > a same KMainWindow. I will souns like an image editor view separated by
> > > QSplitter. This vision of a future Light Table is fine for you ?
> > >
> > > If yes, are you free time this WE to patch source code of
> > > Canvas/DimageInterface in this way ?
> >
> > Patch as described above is in SVN.
>
> Thanks Marcel. I will probably start the new Light Table tool next week.
>
> Are you take a look into the new Preview tool witch support
> Scrolling/Zooming ?

Yes I just did. Great work!

I had one problem: See 
http://digikam3rdparty.free.fr/Screenshots/zoominginpreview-artefact.png
This is created reproducibly at one zoom level. The following zoom levels were 
all right again. To reproduce, zoom in 8 steps and then zoom out 5 steps.

Some minor problems (I could change most of them myself, but I don't know if I 
may and should ;-) ):
- the background is black. Before it was white (or following the color theme?)

- mouse wheel zoom direction: Take a look at KPDF, konqueror. They zoom in on 
Wheel_up. See here as well: http://bugs.kde.org/show_bug.cgi?id=61862

- in the preview loading, there is still one QImage::smoothScale when images 
are scaled down to preview size. Should this be replaced by FastScale? If yes 
would you mind to move fastscale somewhere in libs/ ?

- is zooming out , making the image smaller than the available space, really 
needed?

- discoverability: will users know that they can zoom?

Marcel

>
> Gilles



More information about the Digikam-devel mailing list