Recent

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

circular

  • Hero Member
  • *****
  • Posts: 3570
    • Personal webpage
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #975 on: September 29, 2020, 08:29:32 pm »
One use case for separating CMYK channels is to do print yourself each color. This can be done with some special printers that prepare a mask that corresponds to one color. Then you can print it many times quite quickly and relatively cheaply.
Conscience is the debugger of the mind

circular

  • Hero Member
  • *****
  • Posts: 3570
    • Personal webpage
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #976 on: October 02, 2020, 06:05:47 pm »
Anyone else has tested a bit version 7.1.4?
Conscience is the debugger of the mind

lainz

  • Hero Member
  • *****
  • Posts: 3807
  • Leandro Diaz
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #977 on: October 02, 2020, 09:13:44 pm »
Anyone else has tested a bit version 7.1.4?

No time yet, maybe the saturday.
https://lainz.github.io/
Download LazPaint https://lazpaint.github.io/
Download BGRABitmap and BGRAControls https://github.com/bgrabitmap

lainz

  • Hero Member
  • *****
  • Posts: 3807
  • Leandro Diaz
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #978 on: October 03, 2020, 02:30:42 am »
This is what I get when I open it win64, I'm using FPC 3.3.1
https://lainz.github.io/
Download LazPaint https://lazpaint.github.io/
Download BGRABitmap and BGRAControls https://github.com/bgrabitmap

lainz

  • Hero Member
  • *****
  • Posts: 3807
  • Leandro Diaz
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #979 on: October 03, 2020, 02:35:13 am »
CMYK works fine.

Another screenshot, this time using the command help.
https://lainz.github.io/
Download LazPaint https://lazpaint.github.io/
Download BGRABitmap and BGRAControls https://github.com/bgrabitmap

circular

  • Hero Member
  • *****
  • Posts: 3570
    • Personal webpage
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #980 on: October 03, 2020, 09:45:47 am »
This is what I get when I open it win64, I'm using FPC 3.3.1
Do you get the same display problem with FPC 3.2.0 ?

CMYK works fine.
Cool.

Quote
Another screenshot, this time using the command help.
Can you try that with debug compilation in order to have names in the stack trace ?
Conscience is the debugger of the mind

circular

  • Hero Member
  • *****
  • Posts: 3570
    • Personal webpage
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #981 on: October 03, 2020, 02:26:10 pm »
Note: I just fixed the text rendering precision on dev branch. Need latest dev of BGRAbitmap as well.
Conscience is the debugger of the mind

lainz

  • Hero Member
  • *****
  • Posts: 3807
  • Leandro Diaz
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #982 on: October 03, 2020, 02:35:32 pm »
This is what I get when I open it win64, I'm using FPC 3.3.1
Do you get the same display problem with FPC 3.2.0 ?

Yes the same problem.

Quote
Another screenshot, this time using the command help.
Can you try that with debug compilation in order to have names in the stack trace ?

Well there are more than 10 windows shown when I show the stack trace. Here is the first.
https://lainz.github.io/
Download LazPaint https://lazpaint.github.io/
Download BGRABitmap and BGRAControls https://github.com/bgrabitmap

circular

  • Hero Member
  • *****
  • Posts: 3570
    • Personal webpage
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #983 on: October 03, 2020, 03:40:20 pm »
Quote
Can you try that with debug compilation in order to have names in the stack trace ?
Well there are more than 10 windows shown when I show the stack trace. Here is the first.
Well I only need the first window. Ok so that's related to writeln on the standard output. Is it related to Powershell that there would not be any standard output? What if you try with a regular terminal?
Conscience is the debugger of the mind

lainz

  • Hero Member
  • *****
  • Posts: 3807
  • Leandro Diaz
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #984 on: October 03, 2020, 03:43:51 pm »
Well I only need the first window. Ok so that's related to writeln on the standard output. Is it related to Powershell that there would not be any standard output? What if you try with a regular terminal?

Is the same with cmd.exe
https://lainz.github.io/
Download LazPaint https://lazpaint.github.io/
Download BGRABitmap and BGRAControls https://github.com/bgrabitmap

lainz

  • Hero Member
  • *****
  • Posts: 3807
  • Leandro Diaz
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #985 on: October 03, 2020, 03:47:15 pm »
I need to compile the application without -WG (Windows GUI) in order to the --help command to work.

But that shows a console in the background always, even if application not loaded from console.
https://lainz.github.io/
Download LazPaint https://lazpaint.github.io/
Download BGRABitmap and BGRAControls https://github.com/bgrabitmap

Fred vS

  • Hero Member
  • *****
  • Posts: 1983
    • StrumPract is the musicians best friend
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #986 on: October 03, 2020, 04:00:06 pm »
Hello.

Here result of LazPaint for win 32 and 64 (for Linux it is ok too).
I did compile it using lazpaint.prj and fpc 3.2.0.

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: 3570
    • Personal webpage
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #987 on: October 03, 2020, 04:05:16 pm »
@lainz
Hmmmm.... ok. What if you replace WriteLn by DebugLn on line 230 of UCommandLine?

EDIT: maybe it is not possible to do a hybrid program console/GUI on Windows with Lazarus
« Last Edit: October 03, 2020, 04:18:45 pm by circular »
Conscience is the debugger of the mind

circular

  • Hero Member
  • *****
  • Posts: 3570
    • Personal webpage
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #988 on: October 03, 2020, 04:12:19 pm »
Hello.

Here result of LazPaint for win 32 and 64 (for Linux it is ok too).
I did compile it using lazpaint.prj and fpc 3.2.0.
Cool. I notice the text on the status bar hides the white bevel line. Does it solve that to add
Code: Pascal  [Select][+][-]
  1.     FStatusBar.Canvas.Brush.Style := bsClear;
on line 338 of umainformlayout.pas? (in procedure StatusBar_Paint inside the first if statement)
?
Conscience is the debugger of the mind

circular

  • Hero Member
  • *****
  • Posts: 3570
    • Personal webpage
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #989 on: October 03, 2020, 04:26:24 pm »
For people wanting to test on Windows here are some binaries:
https://github.com/bgrabitmap/lazpaint/issues/196
Conscience is the debugger of the mind

 

TinyPortal © 2005-2018