From kde-kimageshop Tue Dec 28 20:24:20 2004 From: Boudewijn Rempt Date: Tue, 28 Dec 2004 20:24:20 +0000 To: kde-kimageshop Subject: Re: transform, selection, paintdevice and layer relations Message-Id: <200412282124.21752.boud () valdyas ! org> X-MARC-Message: https://marc.info/?l=kde-kimageshop&m=110426548925697 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============1317276514==" --===============1317276514== Content-Type: multipart/signed; boundary="nextPart1120075.o7bRIZEMEd"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart1120075.o7bRIZEMEd Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Tuesday 28 December 2004 21:13, Casper Boemann wrote: > To reply to my own question, or rather give some further input, here is h= ow > photoshop does it. I'm not saying that we should do it like that, but it = is > always nice to know: > > In Photoshop all transforms are done within the layer, and applies to the > selection (which is associated to the layer). If no selection is active no > transforms can be done. > > Photoshop never creates another layer as a result of a transform. (AFAIK) > > going back to krita for a moment, I think this is how we (intend to) do it > too. > This is the behaviour I expect from a paint app: If there's a selection on the current layer, only the selected pixels in th= e=20 current layer should be transformed, rotated, scaled or sheared. This happe= ns=20 within the layer. If the new pixels overlap untransformed pixels, they are= =20 composed with the giving composite op and opacity. If there's no selection, a transform on a layer should transform all pixels= in=20 a layer, i.e., act as if the layer was completely selected. No new layer is= =20 created. There is no composition, because the old layer data is completely= =20 discarded. If a transform is applied to a image, all layers are transformed. The=20 selection is transformed, too: in the new situation, the layer that has a=20 selection active still has a selection, but the shape of the selection is=20 transformed. If a layer is moved, the selection moves with the layer (this is not=20 implemented yet). A transform never creates a new layer (expect perhaps temporarily and it=20 wouldn't be visible to the user). =2D-=20 Boudewijn Rempt=20 http://www.valdyas.org/fading/index.cgi --nextPart1120075.o7bRIZEMEd Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQBB0cD1daCcgCmN5d8RAucIAJ9ea6uPjYSH7DVqTWfo0jkj2CCTZwCdGshs 0Kl3C73fbIzv0pWpBOKo7Aw= =5q7g -----END PGP SIGNATURE----- --nextPart1120075.o7bRIZEMEd-- --===============1317276514== 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 --===============1317276514==--