Recent

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

c-sanchez

  • Jr. Member
  • **
  • Posts: 55
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #885 on: February 19, 2020, 07:24:49 pm »
I hadn't noticed that "anti-aliasing" was translated, yes, that "antisolapamiento" sounds weird.

Indeed my confussion was because:
"aliasing" sounds for me as "alisado" synonymous of "suavizado" (smoothed)
then, anti-aliasing sounds like "anti-smoothing", when really "anti-aliasing" is that "smothing" right?
while the "aliasing" is the image "pixelated"

The "problem" here is that "anti" haha, maybe if be default the tools are "aliased" is better, as with paint ;P
I have also a doubt with this, you are addding the "alising", when indeed this is "natural" (pixelated) no?
So for me have more sense make default the aliased.
« Last Edit: February 19, 2020, 07:27:42 pm by c-sanchez »

lainz

  • Hero Member
  • *****
  • Posts: 3630
    • Lainz
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #886 on: February 19, 2020, 09:14:04 pm »
Anti-alias: Alisado, I prefer that one (like used in the GIMP screenshots), that translation has sense, and we remove the "anti" problem of negating 'Afilado' or 'Pixelado'.

Afilado: is like it has noticeable borders, like a pencil point, a sharp knife, etc. So the meaning is correct for this case.
« Last Edit: February 19, 2020, 09:16:37 pm by lainz »
https://lainz.github.io - My Website
https://lazpaint.github.io/ - LazPaint Downloads

circular

  • Hero Member
  • *****
  • Posts: 3359
    • Personal webpage
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #887 on: February 19, 2020, 11:12:08 pm »
So for me have more sense make default the aliased.
Nope. Most people wants nice graphics. It is only if you know what you are doing that you would want to have aliasing.

Anti-alias: Alisado, I prefer that one (like used in the GIMP screenshots), that translation has sense, and we remove the "anti" problem of negating 'Afilado' or 'Pixelado'.

Afilado: is like it has noticeable borders, like a pencil point, a sharp knife, etc. So the meaning is correct for this case.
Ok, sounds good to me.

So antialiased = alisado and antialiasing = alisamiento
And aliased = afilado
Conscience is the debugger of the mind

lainz

  • Hero Member
  • *****
  • Posts: 3630
    • Lainz
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #888 on: February 19, 2020, 11:38:44 pm »
Quote
So for me have more sense make default the aliased.

Well that's for pixel art only. For general painting, image editing and drawing is better to don't see the pixels.

Ok, sounds good to me.

So antialiased = alisado and antialiasing = alisamiento
And aliased = afilado

Yes that sounds good to me too.
https://lainz.github.io - My Website
https://lazpaint.github.io/ - LazPaint Downloads

garlar27

  • Hero Member
  • *****
  • Posts: 648
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #889 on: February 20, 2020, 04:25:02 pm »
@garlar: no estoy seguro de que este "afilar" es a propocito de antialiasing.

Cuando se trace una ruta, es escrito anti-alias:
Sorry, its almost 25 years since the last time I played with image editing  :-[

c-sanchez

  • Jr. Member
  • **
  • Posts: 55
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #890 on: February 20, 2020, 05:46:17 pm »
Maybe they noticed, maybe they didn't, but just in case I'll comment
The shape coordinates/size is not visible using the edit shape tool.
https://i.ibb.co/jhWZ0Hh/sshot-001.png
https://i.ibb.co/KmMs7m8/sshot-002.png

btw circular, can you port lazpaint to haiku?
this operating system is in "beta"state now, and if I'm not mistaken, there are many tools available
I think have freepascal, qt, etc
It's not a necessity, but it would be a nice thing and well received for haiku users.

circular

  • Hero Member
  • *****
  • Posts: 3359
    • Personal webpage
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #891 on: February 21, 2020, 02:40:38 pm »
Thanks for spotting it.

Porting it to haiku, well that could be cool, but I don't have enough time for that. I would need the help of a haiku user/programmer.
Conscience is the debugger of the mind

c-sanchez

  • Jr. Member
  • **
  • Posts: 55
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #892 on: March 03, 2020, 03:41:04 am »
Can be nice if the gradient tool is able to use more than 2 colors, to make an rainbow as this ;P
https://i.ibb.co/Y7sFHx1/stylepix-gradient.gif

Other thing which I like really in lazpaint is play with the curve tool, with close shape, and fill this with color, so I don't need colore nothing manually and I can change the color of every detail quickly.
For me is a cool way to make draws :P

But at same time that method is limited by one color, so is not possible make an "gradient fill" too?
I know we can make a selection and make that, but I would like a option to make the custom fill in shapes.

Another thing I've been thinking about for a time is have a option to merge shapes making from these one shape (by curve)
By example a circle with a line in the center, like the Yin-yang, to make this we need make first the circle, then make the line, and fill black here, white there but the coloring process is a bit long even to make just that.
Then if we can merge the circle and the line in one, we can just make a black fill and a white fill.
Of course the usefulness of merging forms can be more than just that.

What you think?

circular

  • Hero Member
  • *****
  • Posts: 3359
    • Personal webpage
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #893 on: March 03, 2020, 11:52:38 am »
Done more than 2 colors is indeed a possible improvement. Please add it in GitHub if it is not there.

About gradient fill in shapes, that's already in dev branch. You can as well use a texture.

I think this version is ready for testing so I will publish binaries very soon.

About merging shapes, that may be possible, though not so obvious. You can add a ticket for that, though I am not sure how this would pan out.

There is a new feature already that may help here. You can draw a rectangle or a circle, and transforms it into a curve. So then you can edit it as you like.
Conscience is the debugger of the mind

c-sanchez

  • Jr. Member
  • **
  • Posts: 55
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #894 on: March 03, 2020, 06:34:53 pm »
Quote from: circular
About gradient fill in shapes, that's already in dev branch. You can as well use a texture.
Great! :D

Quote from: circular
About merging shapes, that may be possible, though not so obvious. You can add a ticket for that, though I am not sure how this would pan out.
Sorry, I think I didn't expressed correctly my idea.

The idea basically is allow make in the shapes interceptions/connect points.
For example, see how it works in a 3D modeler like Wings3D
https://i.ibb.co/rcpx5fK/shape-with-interceptions.gif
We can already add new points and move them, but no connect them

Quote from: circular
I think this version is ready for testing so I will publish binaries very soon.
I'm really excited about the next version, I think it's gonna be really great :D

circular

  • Hero Member
  • *****
  • Posts: 3359
    • Personal webpage
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #895 on: March 03, 2020, 10:21:15 pm »
The idea basically is allow make in the shapes interceptions/connect points.
For example, see how it works in a 3D modeler like Wings3D
https://i.ibb.co/rcpx5fK/shape-with-interceptions.gif
We can already add new points and move them, but no connect them
I think I got it. That's very interesting. I wonder how to implement the rendering of that.

I am thinking that any point can have any number of connections then. This results in a graph (in graph theory) and from there we would need to determine all the "holes" or closed loops. And then each hole can be filled with a specific gradient/texture.

Is it what you're thinking about?
Conscience is the debugger of the mind

c-sanchez

  • Jr. Member
  • **
  • Posts: 55
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #896 on: March 04, 2020, 01:17:18 am »
Yeah! Also you got the point about fill each hole individually, even although are from same shape, are divided but connected :)
I forgot to mention it, although it's the reason because at the end of the gif I selected a part (marked as red)

Do I create a ticket for this then?

circular

  • Hero Member
  • *****
  • Posts: 3359
    • Personal webpage
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #897 on: March 04, 2020, 02:37:38 pm »
Yeah why not. I like the ide but I don’t know how am gonna do that.
Conscience is the debugger of the mind

circular

  • Hero Member
  • *****
  • Posts: 3359
    • Personal webpage
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #898 on: March 07, 2020, 01:37:04 pm »
New version LazPaint 7.0.8 beta is available for testing. It is provided as an compressed archive only and not designed to be installed.

The binaries contain debug information so it is a large file and it is a bit slow on startup. The final version will be smaller and faster.

https://github.com/bgrabitmap/lazpaint/releases

Files
  * read support for Portable Any Map (PBM, PGM, PPM)
  * read/write support for WebP images using libwebp
  * read support for RAW images using dcraw
  * fix loading PDN images
  * show progress of loading/saving/actions on layered images

Tools
  * scripting in Python
  * scripts provided: color overlay, drop shadow, split/merge channels...
  * vectorial tools: gradient and texture fill for vectorial shapes
  * paste vector shapes within visible bounds
  * tools: align to pixels when image is not zoomed
  * tools: grouping of items in toolbar
  * added polyline and opened curve tool
  * pen tool: SHIFT click to retrieve color, ALT+wheel to change width
  * selection pen tool: add antialiasing option
  * color picker: SHIFT click to retrieve color of flattened image
  * eraser tool: added lighten, darken and sharpen modes
  * floodfill tool: makes vector original on an empty layer
  * edit shape tool: show shape information
  * polygon tool: highlight hovered point, arrows to move points

Windows
  * palette: indicate last added color in palette
  * palette: fix scroll bug
  * color window resizable
  * color and layer windows dockable to main window
  * adjust more windows to system DPI
  * adjust curves: show source histograms
  * filter function: optimize, add Lab colorspace, add min/max/avg
  * blend operations: add Saturation (HSL) and Mask blend operation

Miscellaneous
  * rendering optimizations to reduce slowdown with big images
  * added Kabyle language
  * updated Swedish translation
  * fixes for image browser
  * command line: parenthesis optional to make it Linux-friendly
Conscience is the debugger of the mind

lainz

  • Hero Member
  • *****
  • Posts: 3630
    • Lainz
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #899 on: March 07, 2020, 03:42:47 pm »
Great work.

About the multi fill thing I've not seen that in 2d vector software only on 3d
https://lainz.github.io - My Website
https://lazpaint.github.io/ - LazPaint Downloads

 

TinyPortal © 2005-2018