Recent

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

circular

  • Hero Member
  • *****
  • Posts: 4196
    • Personal webpage
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #915 on: April 03, 2020, 05:20:16 pm »
For now, I'm running scripts by running the script as from command line. Under Windows, that's:
Code: [Select]
pyw thescript.py
Then I interact with the process input and output pipes. Basically I read the output of the process to know the issued commands and write in the input the answers to the function calls.

That's not the most efficient way to interact, but it avoids having to deal with the API that I found a bit confusing to use. Anyway scripts do not require a high quantity of exchange data.
Conscience is the debugger of the mind

c-sanchez

  • Jr. Member
  • **
  • Posts: 65
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #916 on: April 05, 2020, 02:33:21 am »
Thanks you very much by the new version circular, greatfull as always :D
and thanks for adding my requests also of course, I know are many :)
but yeah, thanks by the multiselection of shapes, add the font aliasing option, make the dark theme for status bar, and maybe some others that I forgot heh.

I think the interface gets nicer with every update, and it's been good from the start :)

I asked you before if possible have SVG as option to save files, but I wonder also if possible add SVG edit or well, if that is too much complicated, maybe something as import the SVG as Lazpaint vectors?

btw, I find interesting that lazpaint has Perlin noise render but haven't a Noisy render (that which is a lot of points), add that please, can have some useful uses, as to make some TV White noise, generate a star field, etc.

by example: how to generate star fields from noise
https://mike42.me/blog/2018-01-howo-to-generate-star-fields
I guess that can be added as script if we have a noisy render

also I think can be cool if add also a "space generator" script
to do something as this website, but in lazpaint
http://wwwtyro.github.io/procedural.js/space/
I think this is doable playing with render clouds (nebulae) + some circles and blur (sun) + noise (stars points)

Of course this is just a idea to have a cool script :P

circular

  • Hero Member
  • *****
  • Posts: 4196
    • Personal webpage
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #917 on: April 05, 2020, 11:29:00 am »
Hi Carlos

Happy you like the new version!  :)

If you find bugs please tell me!

Editing SVG may be too complicated but converting it as LazPaint vector is something I thought about. The problem is that first I need to add a Path shape in LazPaint. And for that I need to implement the arc transforms.

About the noise, I think there is the one you're looking for. In Filter > Noise filter.

That's some cool ideas of script there. Well, would you like to try to write some?
Conscience is the debugger of the mind

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #918 on: April 05, 2020, 04:17:53 pm »
Yes you can try the noise filter is the most easy to do.
Just random number between 0 and 1. between 0 and 0.5 use black and if greater than 0.5 use white.
You can change the threshold (0.5) to have more black or more white.

c-sanchez

  • Jr. Member
  • **
  • Posts: 65
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #919 on: April 10, 2020, 03:19:06 pm »
Quote from: circular
About the noise, I think there is the one you're looking for. In Filter > Noise filter.
Oh, the noise is in filters, yeah that is! :D

Quote from: circular
If you find bugs please tell me!
Ah actually I found one that I forgot to comment on before.
The scroll with middle mouse button it is not completely corrected, at least not in windows, the scroll with this button is locked if if we select a different tool than the "hand" (Move and scroll picture tool)
I guess you can check this with Reactos or Wine.

Quote from: circular
Editing SVG may be too complicated but converting it as LazPaint vector is something I thought about. The problem is that first I need to add a Path shape in LazPaint. And for that I need to implement the arc transforms.
I see, well I hope we can see this in the future, although it is not a high priority it would be quite useful.

Quote from: circular
That's some cool ideas of script there. Well, would you like to try to write some?
Yeah, I will make my questions about scripts here later :)

Quote from: circular
Yes you can try the noise filter is the most easy to do.
Just random number between 0 and 1. between 0 and 0.5 use black and if greater than 0.5 use white.
You can change the threshold (0.5) to have more black or more white.
Good, I'll keep this in mind, will be useful :)

circular

  • Hero Member
  • *****
  • Posts: 4196
    • Personal webpage
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #920 on: April 10, 2020, 03:55:27 pm »
Ah actually I found one that I forgot to comment on before.
The scroll with middle mouse button it is not completely corrected, at least not in windows, the scroll with this button is locked if if we select a different tool than the "hand" (Move and scroll picture tool)
I guess you can check this with Reactos or Wine.
Ah indeed, same thing on Linux. But we have already done the binaries. I will ask if it is ok with Lainz to make a new version.

Quote
Quote from: circular
That's some cool ideas of script there. Well, would you like to try to write some?
Yeah, I will make my questions about scripts here later :)
I suggest to create a thread for that.

Quote
Quote from: circular
Yes you can try the noise filter is the most easy to do.
Just random number between 0 and 1. between 0 and 0.5 use black and if greater than 0.5 use white.
You can change the threshold (0.5) to have more black or more white.
Good, I'll keep this in mind, will be useful :)
That was Lainz quote.  :-[
Conscience is the debugger of the mind

circular

  • Hero Member
  • *****
  • Posts: 4196
    • Personal webpage
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #921 on: April 10, 2020, 05:19:50 pm »
New STABLE version of LazPaint 7.1.1
https://github.com/bgrabitmap/lazpaint/releases
 8-)

What's new compared to previous stable version 7.0.7:

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

Interface
  * less flickering during action progress
  * minor scaling improvements
  * dark theme for status bar
  * add Donate tool button
  * separate color for background and outline
  * fix remember save file extension

Tools
  * fix updating transparent colors
  * fix release of middle mouse button
  * fix gradient undo/redo
  * optimize layer transform
  * scripting in Python
  * script for layer effects: color overlay, drop shadow, inner light, stroke
  * more scripts: split/merge channels, mask
  * vectorial tools: gradient and texture fill for vectorial shapes
  * paste vector shapes within visible bounds
  * align to pixels when image is not zoomed
  * grouping of tool 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, preserve vector layer
  * edit shape tool: show shape information
  * edit shape tool: multiselection of shapes
  * polygon tool: highlight hovered point, arrows to move points
  * text tool: added font aliasing option
  * text tool: fix handling of keys
  * gradient tool: replace layer by gradient if it is opaque

Windows
  * ensure toolwindows in front when restoring app
  * palette: indicate last added color in palette
  * palette: fix scroll bug
  * color window resizable
  * color and layer windows dockable to main window
  * don't undock windows when going fullscreen
  * 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

Translations
  * added Latvian
  * completed Kabyle and Bulgarian
  * added Kabyle language
  * updated Swedish translation

Miscellaneous
  * rendering optimizations to reduce slowdown with big images
  * fixes for image browser
  * command line: parenthesis optional to make it Linux-friendly

Conscience is the debugger of the mind

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #922 on: April 10, 2020, 05:46:46 pm »
Thanks for this release, is the faster and complete graphics application.

circular

  • Hero Member
  • *****
  • Posts: 4196
    • Personal webpage
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #923 on: April 10, 2020, 07:34:25 pm »
Thank you  :-[
Conscience is the debugger of the mind

circular

  • Hero Member
  • *****
  • Posts: 4196
    • Personal webpage
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #924 on: April 11, 2020, 08:03:50 am »
Talking about night sky, here is a picture I just made with LazPaint
Conscience is the debugger of the mind

silvestre

  • Jr. Member
  • **
  • Posts: 76
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #925 on: April 11, 2020, 10:04:06 am »
Dear Circular, Lainz and others,

Fantastic work done in Lazpaint, with constant development and a great library behind, this software is becoming a first choice graphic application. 

I would like to suggest a little feature for next revisions, and that is in the section to open file and save, for example, in the windows version to have some basic shortcuts (Desktop, network folders,..), the basic ones. I think it would help to handle the file system a little faster and more directly.

Thank you very much for your work!

New STABLE version of LazPaint 7.1.1
https://github.com/bgrabitmap/lazpaint/releases
 8-)

What's new compared to previous stable version 7.0.7:

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

Interface
  * less flickering during action progress
  * minor scaling improvements
  * dark theme for status bar
  * add Donate tool button
  * separate color for background and outline
  * fix remember save file extension

Tools
  * fix updating transparent colors
  * fix release of middle mouse button
  * fix gradient undo/redo
  * optimize layer transform
  * scripting in Python
  * script for layer effects: color overlay, drop shadow, inner light, stroke
  * more scripts: split/merge channels, mask
  * vectorial tools: gradient and texture fill for vectorial shapes
  * paste vector shapes within visible bounds
  * align to pixels when image is not zoomed
  * grouping of tool 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, preserve vector layer
  * edit shape tool: show shape information
  * edit shape tool: multiselection of shapes
  * polygon tool: highlight hovered point, arrows to move points
  * text tool: added font aliasing option
  * text tool: fix handling of keys
  * gradient tool: replace layer by gradient if it is opaque

Windows
  * ensure toolwindows in front when restoring app
  * palette: indicate last added color in palette
  * palette: fix scroll bug
  * color window resizable
  * color and layer windows dockable to main window
  * don't undock windows when going fullscreen
  * 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

Translations
  * added Latvian
  * completed Kabyle and Bulgarian
  * added Kabyle language
  * updated Swedish translation

Miscellaneous
  * rendering optimizations to reduce slowdown with big images
  * fixes for image browser
  * command line: parenthesis optional to make it Linux-friendly

circular

  • Hero Member
  • *****
  • Posts: 4196
    • Personal webpage
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #926 on: April 11, 2020, 10:24:24 am »
Glad you like it  :)

Hmm I suppose some shortcuts could be added, though network drives do not appear when you click the "Select drive" button?
Conscience is the debugger of the mind

silvestre

  • Jr. Member
  • **
  • Posts: 76
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #927 on: April 11, 2020, 11:21:31 am »
Dear Circular,
Using the drive icon I get generic access to C:
I am using Windows 10. 

Glad you like it  :)

Hmm I suppose some shortcuts could be added, though network drives do not appear when you click the "Select drive" button?

circular

  • Hero Member
  • *****
  • Posts: 4196
    • Personal webpage
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #928 on: April 11, 2020, 02:00:07 pm »
Hmm but you have network drives defined like D: E: etc.?
Conscience is the debugger of the mind

silvestre

  • Jr. Member
  • **
  • Posts: 76
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #929 on: April 12, 2020, 02:21:54 am »
Hi Circular,

There are no associated letters in this case, the search was on shared folders, (Network section), I attach example screen.

Hmm but you have network drives defined like D: E: etc.?

 

TinyPortal © 2005-2018