Recent

Author Topic: LazPaint (alpha-blending, antialiasing, filters)  (Read 555136 times)

lainz

  • Hero Member
  • *****
  • Posts: 3826
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #1035 on: January 28, 2021, 03:46:59 am »
Hi no problem. The same happened to myself can't find it.
Is in the dev-lazpaint branch in the web folder.

I think you have permission to edit that. Edit: no, you don't have permission  %). If you can attach the changes here or make a pull request.
« Last Edit: January 28, 2021, 03:49:28 am by lainz »
I'm happy, and you?

Fred vS

  • Hero Member
  • *****
  • Posts: 2217
    • StrumPract is the musicians best friend
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #1036 on: January 28, 2021, 04:24:07 am »
In attachment, index.zip.

It contains the updated /lazpaint/web/layouts/index.html

I hope it is ok, I did not test it (because I dont know how to do).

Fre;D
I use Lazarus 2.0.6 32/64 and FPC 3.2.0 32/64 on Debian 10.2 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64 and Mac OS X Snow Leopard 32.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt, Carbon.

https://github.com/fredvs
https://gitlab.com/fredvs

lainz

  • Hero Member
  • *****
  • Posts: 3826
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #1037 on: January 28, 2021, 04:33:35 am »
Hi, thanks, everything seems working fine. The website must be online in some minutes.
I'm happy, and you?

Fred vS

  • Hero Member
  • *****
  • Posts: 2217
    • StrumPract is the musicians best friend
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #1038 on: January 28, 2021, 04:40:54 am »
Hi, thanks, everything seems working fine. The website must be online in some minutes.

Yep, it is there!  ;D
I use Lazarus 2.0.6 32/64 and FPC 3.2.0 32/64 on Debian 10.2 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64 and Mac OS X Snow Leopard 32.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt, Carbon.

https://github.com/fredvs
https://gitlab.com/fredvs

circular

  • Hero Member
  • *****
  • Posts: 3709
    • Personal webpage
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #1039 on: January 28, 2021, 07:41:31 am »
Hi! I tested the site on an iPhone 6 and the images do not appear. So I suggest to revert to previous formats. For the big background image, I suppose a low quality JPEG will do.
Conscience is the debugger of the mind

lainz

  • Hero Member
  • *****
  • Posts: 3826
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #1040 on: January 28, 2021, 05:49:30 pm »
Hi! I tested the site on an iPhone 6 and the images do not appear. So I suggest to revert to previous formats. For the big background image, I suppose a low quality JPEG will do.

I reverted the changes, later I will see if we can optimize it a bit the jpeg images.
I'm happy, and you?

CM630

  • Hero Member
  • *****
  • Posts: 944
  • Не съм сигурен, че те разбирам.
    • http://sourceforge.net/u/cm630/profile/
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #1041 on: March 22, 2021, 10:48:20 am »
One thing I miss in Lazpaint is the option „New in a new instance“.
So I have to run LazPaint once more the OS start menu, and then create a new file.


It would be even better if I could also create a new image in a new tab, but I believe that implementing that feature would require much more work.
Лазар 2,0,12; W10 64bit; FPC3,2,0; rev 64642

c-sanchez

  • Jr. Member
  • **
  • Posts: 63
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #1042 on: March 29, 2021, 06:05:04 am »
Quote from: CM630
One thing I miss in Lazpaint is the option „New in a new instance“.
So I have to run LazPaint once more the OS start menu, and then create a new file.
Yes indeed it must be much better to have that new instance option and some hotkey.

Quote from: CM630
It would be even better if I could also create a new image in a new tab, but I believe that implementing that feature would require much more work.
I did an ticket in github about this already :)
https://github.com/bgrabitmap/lazpaint/issues/101

c-sanchez

  • Jr. Member
  • **
  • Posts: 63
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #1043 on: April 11, 2021, 04:33:41 am »
It would be great to have a clipping mask option
https://i.ibb.co/N28NRPH/Clipping-Mask-min.gif

lainz

  • Hero Member
  • *****
  • Posts: 3826
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #1044 on: April 11, 2021, 04:45:36 am »
Hi, what I know is that Johann is very busy, and he is the only one that understands LazPaint =)

I'm very busy too, not saying that I can do something (well I can help with UI controls a bit but almost nothing more), but can't as well  :)

Try to feel happy with the current LazPaint.
I'm happy, and you?

c-sanchez

  • Jr. Member
  • **
  • Posts: 63
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #1045 on: April 11, 2021, 05:15:24 pm »
Sure, the current Lazpaint is prety nice, I comment the ideas just to have them written down and to see opinions  :)

lainz

  • Hero Member
  • *****
  • Posts: 3826
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #1046 on: April 11, 2021, 05:21:14 pm »
Sure, the current Lazpaint is prety nice, I comment the ideas just to have them written down and to see opinions  :)

That's really good. Just saying the current stage of development: not enough free time.
I'm happy, and you?

circular

  • Hero Member
  • *****
  • Posts: 3709
    • Personal webpage
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #1047 on: April 12, 2021, 12:36:45 am »
Indeed. These days, I am a bit out of energy. I hope though that I gets better in the future.

Ok so what is called here clipping mask is in fact preserving the alpha channel or porter-duff "source atop" mode. There are a lot of porter-duff modes. I had some thinking about it, I don't think it is necessary to add them. Here are the conclusions I gave about the OpenRaster format:
Quote
About the Porter/Duff compositing, I looked at actual software implementation, what I found is the ability to exclude the alpha channel (which amounts to the "atop" mode) and the ability to use a mask (which amounts to the "dest-in" mode). This is possible for example in Krita and Photoshop. In fact it possible to exclude any other channel as well (red/green/blue). Thinking about it, most other Porter/Duff are not necessary, here is how to achieve them using the layer structure, exclude channel and mask:
- "source": hide layers underneath
- "atop": exclude alpha channel
- "over": nothing special to do
- "in": use the layer underneath (its alpha channel) as mask
- "dest": make the layer on top invisible
- "dest-over": switch layer positions
- "dest-atop": switch layer positions and exclude alpha channel
- "dest-in": use the layer on top (its alpha channel) as a mask
- "clear" make all layers invisible
The modes "out", "dest-out" are similar to "in" and "dest-in" but with mask inversion. The "xor" mode is the only one that is not possible to do.

So yes, adding "exclude/preserve alpha channel" and layer groups would cover most cases. So that would definitely be on the top of the wish list.

By the way, if someone would like to implement some of the things on the todo list, I can give them some explanations if they need. Don't worry too much about breaking things as I will read carefully any pull request to see if that seems ok to me.
Conscience is the debugger of the mind

CM630

  • Hero Member
  • *****
  • Posts: 944
  • Не съм сигурен, че те разбирам.
    • http://sourceforge.net/u/cm630/profile/
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #1048 on: May 14, 2021, 09:58:24 am »
I have just come across a bug in the printing settings (v.7.1.6 64 Bit on Win10 64Bit):
I tried to print an image on the right side of the page, so I tried to set so higher value of the Left border... and it occurred that I cannot set more than 100 (by the up/down button). And after I entered some value manually, the preview stopped updating (I changed multiple times the values of the left border, but the preview kept showing the same).
Лазар 2,0,12; W10 64bit; FPC3,2,0; rev 64642

c-sanchez

  • Jr. Member
  • **
  • Posts: 63
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #1049 on: May 24, 2021, 08:05:16 pm »
Some (more) ideas I'd like to see in LazPaint.

The current way to make shapes,curves in Lazpaint is indeed pretty nice, however it is something different from the traditional way that all the programs have implemented, I'm not sure how to describe this, basically the points that make the shape are controlled by external lines?
https://i.ibb.co/GcVk4Lw/curvers-vector12510.png

Here some examples

In Photoshop
https://i.ibb.co/tqFVx21/photoshop-curves2.gif

In Inkscape
https://i.ibb.co/vDvJ1kG/Inkscape-curves.gif

In Affinity Designer
https://i.ibb.co/4gDVbKc/affinity-designer-curves.gif

Again, the current LazPaint way is indeed pretty nice and original, however I think can be great have some option to make that things as with the other programs, without losing the possibility of also using the current way in which lazpaint does.

 

TinyPortal © 2005-2018