summaryrefslogtreecommitdiffstats
path: root/chalk/doc/the preview widget
blob: 17ba479e70767d1b9bf8d8441d99df3231b9e15b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81

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 TQImage 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==--