Bookstore

Recent

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

c-sanchez

  • New Member
  • *
  • Posts: 45
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #870 on: January 25, 2020, 05:13:35 pm »
Before starting a thread on github, I guess is better first post here in the forum and see what they think :)

What you think about "guide lines + snap", this is a feature in GravitDesigner, check how works, I think is pretty cool :)
https://i.ibb.co/mFjQd1v/snap-guidelines.gif
Is really usefull to align shapes/layers quickly

circular

  • Hero Member
  • *****
  • Posts: 3193
    • Personal webpage
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #871 on: January 25, 2020, 07:28:54 pm »
I reckon it's cool. Yep that can be one ticket on GitHub  :)
Conscience is the debugger of the mind

c-sanchez

  • New Member
  • *
  • Posts: 45
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #872 on: February 17, 2020, 05:34:21 pm »
the selection tool is not accurate to select pixels, so if we want to select for example, parts of a sprite, we'll have to do two things
1. select the desired pixels
2. deselect unwanted pixels, that are added by the way the selection tool treats the corners of selected pixels.
Smoothed?

https://i.ibb.co/GnV7nyj/x-lazpaint-selection.gif
In this gif I finish selecting only the left part of the sprite.
while the right side that's already selected, I also did the second step before, deselect the pixels of the corners.
Then when pasting the image we can see how the curves create partial selections.

I guess that "smoothed" kind of selection can be nice in certain cases, but in other as this is a bit uncomfortable.

circular

  • Hero Member
  • *****
  • Posts: 3193
    • Personal webpage
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #873 on: February 18, 2020, 12:54:22 am »
Yep. If the width of the pen is one, using CTRL will align to pixels and you get full pixels selection.

I will add the aliasing option in next version for you.
Conscience is the debugger of the mind

c-sanchez

  • New Member
  • *
  • Posts: 45
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #874 on: February 18, 2020, 03:13:13 am »
Even with ctrl the aliasing is there, but yes with the option to disable must be enough :)
btw, please add disable aliasing option for shape tools too.

circular

  • Hero Member
  • *****
  • Posts: 3193
    • Personal webpage
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #875 on: February 18, 2020, 04:31:17 am »
I suppose you mean that even with ctrl the antialiasing is here.

I've added your request:
https://github.com/bgrabitmap/lazpaint/issues/111
Conscience is the debugger of the mind

c-sanchez

  • New Member
  • *
  • Posts: 45
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #876 on: February 19, 2020, 04:31:56 am »
Ah yeah, is antialiasing haha :P
thanks by add the request :)

lainz

  • Hero Member
  • *****
  • Posts: 3508
    • Lainz
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #877 on: February 19, 2020, 06:16:35 am »
Is harder in Spanish because one thinks is anti alisado when in fact is anti afilado.

circular

  • Hero Member
  • *****
  • Posts: 3193
    • Personal webpage
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #878 on: February 19, 2020, 10:00:57 am »
I see.

I wonder about the etymology of this.

On Wikipedia, it is written that aliasing comes from alias that means "differently" and so that aliasing means getting something different from what was expected.

So I presume it is that when trying to draw a line, you get unwanted steps, which are unexpected and gives a different appearance that what was intended.

Conscience is the debugger of the mind

lainz

  • Hero Member
  • *****
  • Posts: 3508
    • Lainz
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #879 on: February 19, 2020, 01:30:28 pm »
Well maye I was wrong, I found now that in Spanish is 'antiplegamiento' that has less sense to me. But the reason of my confusion was that when I was younger I see that word 'antiafilado' in a nvidia videocard box  :-[ I presume wrong translation or there was no other translation in that time. Please check if in lazpaint is correctly translated into 'antiplegamiento' or better use anti-aliasing that's widely known.

circular

  • Hero Member
  • *****
  • Posts: 3193
    • Personal webpage
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #880 on: February 19, 2020, 02:14:03 pm »
Hmm ok.

I found another translation: antisolapamiento. Does it sound better?
Conscience is the debugger of the mind

lucamar

  • Hero Member
  • *****
  • Posts: 2588
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #881 on: February 19, 2020, 02:21:24 pm »
Well maye I was wrong, I found now that in Spanish is 'antiplegamiento' that has less sense to me. But the reason of my confusion was that when I was younger I see that word 'antiafilado' in a nvidia videocard box  :-[ I presume wrong translation or there was no other translation in that time. Please check if in lazpaint is correctly translated into 'antiplegamiento' or better use anti-aliasing that's widely known.

You were right the first time: the more correct translation (in this context) to Spanish is "anti afilado"*, but it's mostly left untranslated nowadays, as so many other computer terms.

The problem is that too literal translations to Spanish often result in strange or "funny" terms being used; for example, "buffer" is often translated to "tampón" but the more common uses of that word are for a kind of feminine higiene product or for an inkpad ...

And frankly, "anti-plegamiento" sounds more like a geological process ;)


* Of course that leaves us either without a word for "sharpening" or with a context-dependent translation. But we don't worry much about it: it happens quite often which is why "latin" languages are so rich for jokes and riddles. :D
« Last Edit: February 19, 2020, 02:26:55 pm by lucamar »
Turbo Pascal 3 CP/M - Amstrad PCW 8256 (512 KB !!!) :P
Lazarus 2.0.6/FPC 3.0.4 - 32/64 bits on:
(K|L|X)Ubuntu 12..18, Windows XP, 7, 10 and various DOSes.

garlar27

  • Hero Member
  • *****
  • Posts: 635
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #882 on: February 19, 2020, 05:54:02 pm »
GIMP use "Afilar".
It's been ages since the last time I applied filters to something that I can't recognize the spanish's filter names  :o
ETA: though I don't know if afilar is the antialiasing or if it is sharpening
« Last Edit: February 19, 2020, 05:55:45 pm by garlar27 »

circular

  • Hero Member
  • *****
  • Posts: 3193
    • Personal webpage
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #883 on: February 19, 2020, 06:27:54 pm »
@garlar: no estoy seguro de que este "afilar" es a propocito de antialiasing.

Cuando se trace una ruta, es escrito anti-alias:
Conscience is the debugger of the mind

lucamar

  • Hero Member
  • *****
  • Posts: 2588
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #884 on: February 19, 2020, 07:08:07 pm »
ETA: though I don't know if afilar is the antialiasing or if it is sharpening

Context is everything :) In this case, of course, it refers to "sharpen": note that it mentions specifically the "unsharp mask" filter.

In your image "anti-aliasing" is translated as "Alisado", which must be new: older versions used "antialias" there.
« Last Edit: February 19, 2020, 07:19:10 pm by lucamar »
Turbo Pascal 3 CP/M - Amstrad PCW 8256 (512 KB !!!) :P
Lazarus 2.0.6/FPC 3.0.4 - 32/64 bits on:
(K|L|X)Ubuntu 12..18, Windows XP, 7, 10 and various DOSes.