Recent

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

winni

  • Hero Member
  • *****
  • Posts: 3197
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #825 on: August 19, 2019, 12:51:00 am »
I support Laint point of view. And what is allways missing in vector programs: the ability to insert more than 1 point between two others. That would be helpfull to stop this "click an mark and click ...".

And a very nice feature for simplifying vector graphics would be too reduce the points of a whole area or all the selected points. This is often needed when a v-graphic is the output of a trace program. The Douglas-Peuker-algorithm is very helpfull for that.

Winni
« Last Edit: August 19, 2019, 01:07:32 am by winni »

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #826 on: August 19, 2019, 01:09:30 am »
I'm currently drawing with LazPaint and ideas comes:

- When finish the drawing a shape with the spline tool and press enter key, keep it selected, I usually then go to the edit tool and do adjustments. (This is to save a few clicks nothing more).

- An option to display vectors in his max resolution, not pixelating them. Of course off by default so the program runs faster, but it will be nice to have that option.

- An option to export the drawing at any resolution, if it has vectors scale them proportionally. If it has bitmaps scale them with a resample filter.

- An option to start a drawing with spline always with 'Close shape' disabled. I use that plus 'inside' mode to follow the curves of any shape. I prefer that mode of drawing than easy bezier. And I use 'close shape' to follow it better, since if I close the shape is hard to see where I'm drawing, plus I set the fill to some semi transparent color. Else I need to switch to 'close shape' every time, since when I finish the drawing I finally close the shape. (This is to save a few clicks nothing more).

Edit: a work in progress image attached, I get the image from pinterest and start converting it to vector in LazPaint, the original image is from an embroidery work.

Edit 2: when the zoom is at the maximum I can't grab the nodes and move them.

Add Convert a circle / rectangle to an editable spline. Sometimes we want a non perfect circle and rectangle or add more nodes to them.
« Last Edit: August 19, 2019, 03:51:58 am by lainz »

circular

  • Hero Member
  • *****
  • Posts: 4195
    • Personal webpage
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #827 on: August 19, 2019, 10:18:41 am »
Hi

In fact it is possible to add points between existing points using the Insert key, and to remove a poitn with the Delete key. You need of course to put the mouse where you want to insert/delete the point.

Though from reading winni I have the impression it is another thing, like inserting a series of point. Would it be like splitting a segment in equal parts?

I take a note for simplifying path and displaying at high resolution though that's not a priority in my view for the following reason:
- path is entered point by point by the user, so the user could simplify at that moment (if I understand correctly?)
- high resolution would be a whole new rendering system, so I prefer to delay that until current version is stable

What can be done quickly:
- exporting to any resolution: relatively easy to do. It is basically doing a resampling and exporting the file.
- adding a series of point between two points (if I understood correctly?)

What can be done reasonably:
- converting a circle/rectangle/polygon to editable spline
- have an opened shape by default. what I am thinking is the suggestion of Carlos to reduce the interface size by having just one icon for shapes, and when hovering having a more thorough list. The new items I am thinking of is to draw a polyline and draw an opened curve without filling. Of course the user can then choose to close/fill the new shape.

I am not sure I understand the thing about clicking points at high zoom.

About going to edit tool when doing a spline, you can press the J key instead of the enter key to go directly to edit tool.

By the way, nice drawing  :)
« Last Edit: August 19, 2019, 10:40:16 am by circular »
Conscience is the debugger of the mind

circular

  • Hero Member
  • *****
  • Posts: 4195
    • Personal webpage
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #828 on: August 19, 2019, 02:31:14 pm »
I've added "Edit > Convert shape to curve" on dev branch, I think there is no risk with adding that now.

For now, I prefer not to do the other change because I would like this version to be tested so that it can be released officially.

So please try and make it crash my friends.  :)
Conscience is the debugger of the mind

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #829 on: August 19, 2019, 03:50:39 pm »
Thanks I just wanted to add a single point. Pressing J does the trick so for me is easier to work now.

winni

  • Hero Member
  • *****
  • Posts: 3197
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #830 on: August 19, 2019, 10:56:17 pm »
Hi!

@circular

Quote
Though from reading winni I have the impression it is another thing, like inserting a series of point. Would it be like splitting a segment in equal parts?

Yes, you got me.

Example: You have to create a mask or a contour a of a part of a bitmap. You set the first two points. And at this point, it is nice to have a couple of points on the canvas and not to go after every point to the UI. 

Winni

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #831 on: August 24, 2019, 09:05:23 pm »
Image made with newest LazPaint attached.

RAW

  • Hero Member
  • *****
  • Posts: 868
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #832 on: August 24, 2019, 10:37:11 pm »
Quote
Image made with newest LazPaint attached.
Interesting ... very nice.  :)
Windows 7 Pro (x64 Sp1) & Windows XP Pro (x86 Sp3).

nouzi

  • Sr. Member
  • ****
  • Posts: 296
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #833 on: August 24, 2019, 11:00:46 pm »
@lainz
you can add name the application to metadata  ?
My English is  bad
Lazarus last version free pascal last version
Lazarus trunk  free pascal trunk 
System : Linux mint  64bit  Windows 7 64bit

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #834 on: August 25, 2019, 12:35:09 am »
Quote
Image made with newest LazPaint attached.
Interesting ... very nice.  :)
Thanks =)

@lainz
you can add name the application to metadata  ?

How I can do that with an external application?

Or you mean that LazPaint add the metadata? circular can do that I think, he is the author of lazpaint, I only help testing and finding bugs.

This is a png file it can have metadata as well?

nouzi

  • Sr. Member
  • ****
  • Posts: 296
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #835 on: August 25, 2019, 02:36:53 am »
The marking  or tag in the metadata shows the name of the application used
My English is  bad
Lazarus last version free pascal last version
Lazarus trunk  free pascal trunk 
System : Linux mint  64bit  Windows 7 64bit

lucamar

  • Hero Member
  • *****
  • Posts: 4219
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #836 on: August 25, 2019, 05:07:29 am »
This is a png file it can have metadata as well?

Yes, the PNG format have a quite complete set of metadata-related groups. It's not as standardized as, say, JPEGs (just "informal" standards) but with the proper application you can add Exif, IPTC, XMP and most any other kind of metadata to them.

ExifTool (and ExifToolGUI) is one of those applications, written IIRC in Perl.
Turbo Pascal 3 CP/M - Amstrad PCW 8256 (512 KB !!!) :P
Lazarus/FPC 2.0.8/3.0.4 & 2.0.12/3.2.0 - 32/64 bits on:
(K|L|X)Ubuntu 12..18, Windows XP, 7, 10 and various DOSes.

fred

  • Full Member
  • ***
  • Posts: 201

nouzi

  • Sr. Member
  • ****
  • Posts: 296
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #838 on: August 25, 2019, 10:52:01 am »
@Fred  8) @ lucamar  8)

@lainz
Exactly this line
Software   Software used to create the image
Software = lazpaint
My English is  bad
Lazarus last version free pascal last version
Lazarus trunk  free pascal trunk 
System : Linux mint  64bit  Windows 7 64bit

c-sanchez

  • Jr. Member
  • **
  • Posts: 65
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #839 on: August 29, 2019, 03:23:03 am »
A picture of my cat taken by my sister long ago, made as a drawing with Lazpaint.
Just for fun, a little practice and to know how is working lazpaint now.

Is not perfect but I think to be a "quick drawing" is cool the result :)
Maybe the eyes can be improved a bit, I'm not sure how make the mouth, the fur in the neck.. meh that's ok ;P
I think will be interesting make this same but as vector later hehe
« Last Edit: August 29, 2019, 03:26:12 am by c-sanchez »

 

TinyPortal © 2005-2018