You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
koffice/chalk/doc/the preview widget

82 lines
2.1 KiB

On Tuesday 21 June 2005 14:16, Casper Boemann wrote:
> Hi
>
> As you might have noticed I have changed the layout of the preview, to lo=
ok
> more like digikam.
>
> Now the preview widget itself also needs some updating:
> - zoom doesn't exist in the digikam preview - the image is zoomed all out
> - that doesn't mean we shouldn't keep the abillity to zoom, but I think
> default should be zoomed out as in digikam.
Agreed. We should show all of the image in our preview.
> - the update of the preview seems slow. Is the algorithm as effective as
> it can be?
No, definitely not. In fact, if I remember correctly, preview copies & rend=
ers=20
the complete image. Options are:
* Just preview the active layer, out of context
* Copy the image, scale it down, and then render it. Cache the scaled-down=
=20
thumbnail.
* Work on the QImage of the rendered image, and apply all filters on that -=
=2D=20
for preview, that may be accurate enough.
Note that we want a fast thumbnail preview for in the bird's eye box, too, =
and=20
in the variations dialog we need a whole bunch of previews. So I guess the=
=20
requirements are:
* Frugal with memory
* Fast
* Filters should work on the preview image
* Zoomable, but initially the complete image/layer is shown
* Selectable: preview layer/preview image
I have a feeling that this may be hard to achieve...
> This is not something I'm going to do, but I think we should discuss it a=
nd
> put it in the TODO.
Definitely.=20
=2D-=20
Boudewijn Rempt=20
http://www.valdyas.org/fading/index.cgi
--nextPart43061363.Bp4Ilo6nOP
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQBCuAdpdaCcgCmN5d8RAp2hAKDfwdjOxB6EoYaJUuYYJlrculR3yACfcYMJ
KjDOPxiFJdTsLAU00lJNOGE=
=1wDD
-----END PGP SIGNATURE-----
--nextPart43061363.Bp4Ilo6nOP--
--===============1891010795==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
kimageshop mailing list
kimageshop@kde.org
https://mail.kde.org/mailman/listinfo/kimageshop
--===============1891010795==--