Recent

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

fabienwang

  • Sr. Member
  • ****
  • Posts: 449
  • Lazarus is the best
    • My blog
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #225 on: May 24, 2011, 10:49:42 pm »
Not even true !
Version 4.1 binary for windows is here.
GTK2 version is coming in a few hour (i'm reinstalling my Linux OS).
I'm using Arch Linux.
Known for: CPickSniff, OpenGrabby
Contributed to: LazPaint

lainz

  • Guest
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #226 on: May 25, 2011, 04:18:41 am »
Not even true !
Version 4.1 binary for windows is here.
GTK2 version is coming in a few hour (i'm reinstalling my Linux OS).

Ok. Please compile the setup program for Windows with InnoSetup (http://www.jrsoftware.org/isdl.php#stable). Open the lazpaint.iss with Inno Setup Compiler and press Ctrl + F9. The output file is created in the "installer" folder.

You can use ansi or unicode version (ansi works in older windows, unicode from XP).

lainz

  • Guest
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #227 on: May 28, 2011, 08:48:27 pm »
@Circular

You can add some GUI to filters and textures? In one Window all filters with their respective options.

Like http://wiki.lazarus.freepascal.org/Double_Gradient#Editor

Or like Photoshop http://www.aulaclic.es/photoshop-cs5/graficos/galeriafiltros.gif

circular

  • Hero Member
  • *****
  • Posts: 4195
    • Personal webpage
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #228 on: May 28, 2011, 09:15:32 pm »
Well, LazPaint is already a GUI, no ?
Conscience is the debugger of the mind

lainz

  • Guest
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #229 on: May 28, 2011, 10:59:46 pm »
Well, LazPaint is already a GUI, no ?

Yes but I'm using LazPaint as default image viewer for their respective supported image format (believe it or not) and I like those filters  ;)

I need some more intuitive instead have to undo effects. I want a preview  8)

circular

  • Hero Member
  • *****
  • Posts: 4195
    • Personal webpage
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #230 on: May 29, 2011, 04:40:46 pm »
I understand. Well, it is possible to add this in LazPaint. For now, I am reorganising the code so you'll have to be patient.
Conscience is the debugger of the mind

lainz

  • Guest
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #231 on: May 29, 2011, 11:04:23 pm »
I understand. Well, it is possible to add this in LazPaint. For now, I am reorganising the code so you'll have to be patient.

I'm used to wait with Lazarus but always get good results.

circular

  • Hero Member
  • *****
  • Posts: 4195
    • Personal webpage
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #232 on: May 30, 2011, 08:50:20 am »
Thanks, that's encouraging.  :)
Conscience is the debugger of the mind

fabienwang

  • Sr. Member
  • ****
  • Posts: 449
  • Lazarus is the best
    • My blog
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #233 on: May 30, 2011, 09:00:26 am »
So what are the next features to come in Lazpaint? :)

What if the update checker would get the binaries from sourceforge directly then restart the app :P.

What if we had layers like in Paint.Net (layers is just a group of objects with the same layer index which determine their z-order and you could set a transparency for the whole layer.

More effects & of course, as lainz said, an Effect Dialog with preview would be amazing :)

Any other ideas?
I'm using Arch Linux.
Known for: CPickSniff, OpenGrabby
Contributed to: LazPaint

lainz

  • Guest
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #234 on: May 30, 2011, 03:48:51 pm »
So what are the next features to come in Lazpaint? :)

What if the update checker would get the binaries from sourceforge directly then restart the app :P.

This will be really nice. But test it in Windows 7 because UAC doesn't allow to put files in some folders without administrative permission.

What if we had layers like in Paint.Net (layers is just a group of objects with the same layer index which determine their z-order and you could set a transparency for the whole layer.

I'm waiting for this  :)

circular

  • Hero Member
  • *****
  • Posts: 4195
    • Personal webpage
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #235 on: May 31, 2011, 11:48:26 am »
I think that it would be cool to add tools for text, triangle/quad gradients, and phong lighting.

I'm reorganizing the code to make it easier, with objects implementing each tool. This needs some refactoring.
Conscience is the debugger of the mind

circular

  • Hero Member
  • *****
  • Posts: 4195
    • Personal webpage
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #236 on: June 05, 2011, 10:30:57 am »
Hi folks. I've done it, now it should be pretty easy to add new tools to the program. It can be done by deriving TGenericTool class and calling RegisterTool procedure in initialization section.
Conscience is the debugger of the mind

circular

  • Hero Member
  • *****
  • Posts: 4195
    • Personal webpage
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #237 on: June 05, 2011, 02:19:18 pm »
I've added a preview for emboss, motion blur and twirl : while the dialog is shown, the image is updated, like with colorize and intensity dialogs.

I'm not sure how to do filter preview. Maybe with a thread.

EDIT: I've uploaded last changes as version 4.2 as a zip file. It's essentially to make source code available, because there are few changes from the user side.

Now, if someone make a new tool, it can be easily merged into the project. To do so, just create a unit as explained above (TGenericTool class and RegisterTool call).
« Last Edit: June 08, 2011, 05:09:22 pm by circular »
Conscience is the debugger of the mind

circular

  • Hero Member
  • *****
  • Posts: 4195
    • Personal webpage
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #238 on: June 08, 2011, 05:11:53 pm »
What if the update checker would get the binaries from sourceforge directly then restart the app :P.
I leave it to you FabienWang...

Quote
More effects & of course, as lainz said, an Effect Dialog with preview would be amazing :)
What effect for example ?
Conscience is the debugger of the mind

fabienwang

  • Sr. Member
  • ****
  • Posts: 449
  • Lazarus is the best
    • My blog
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #239 on: June 08, 2011, 05:47:58 pm »
Quote
I leave it to you FabienWang...
I'll improve the update checker soon. (when i'll have more time).

I think about Outline effect, Pixelate effect. Anyone else got good effects to add?

I noticed another bug Circular.
On the about form, we only see the 255 first chars from the text (which is weird as you passed a String). Maybe the ReadFileToString?
« Last Edit: June 08, 2011, 06:01:48 pm by FabienWang »
I'm using Arch Linux.
Known for: CPickSniff, OpenGrabby
Contributed to: LazPaint

 

TinyPortal © 2005-2018