Recent

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

circular

  • Hero Member
  • *****
  • Posts: 3648
    • Personal webpage
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #675 on: September 21, 2014, 08:30:07 pm »
Hello! Here is a new candidate for release LazPaint 6.3. It contains essentially lots of fixes and improved usability. It does not contains much new features. This is a step towards stability.

http://sourceforge.net/projects/lazpaint/files/src/lazpaint6.3_src.zip/download
http://sourceforge.net/projects/lazpaint/files/src/bgrabitmap7.8.zip/download

I have tested it on Windows 32, Linux Mint 32 and Puppy Slacko 32.

I don't know if it works on Windows 64, Linux 64, MacOS 32 or MacOS 64.

added features:
- added "paste as new layer"
- reading BMP with Mio Map format

fixed features:
- fixed bug with blur with large radius (cf new version of BGRABitmap)
- uppercase extensions are recognized again
- improvement of image browser (you can load/save, and delete selected files by pressing DEL)
- scrollbars can now jump to a position (not clicking on the thumb but on the rest of the bar)
- bug with lang updated ignored if it happens
- translation of tabs in adjust curves
- fixed repeat image with image with a different width/height
- docking of tool windows (View menu)

Linux:
- fixed crash with open/save dialogs by using the image browser all the time
- load selection hide topmost windows
- print window fix
- fixed bug with up/down on Puppy
- image browser thumbnails update on Puppy
- keeping window borders on Puppy
- hiding topmost windows when main window is minimized on Mint
- avoid crash when switching windows on Mint

When you help me compiling, just send me the binary file of LazPaint by e-mail (the one in the readme.txt), I will take care of the rest.

Thank you all for your support
 :)
« Last Edit: September 22, 2014, 10:29:31 am by circular »
Conscience is the debugger of the mind

lainz

  • Hero Member
  • *****
  • Posts: 3931
  • Leandro Diaz
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #676 on: September 22, 2014, 09:15:53 pm »
Check out LainzPaint, it just has a set of 9 brushes I made (source attached):

Enjoy!... Try to add something like this in LazPaint :)

Edit: I've thinked in a simple format, for example an INI file that stores some properties

lazpaint\brushes\pack1\pack1.ini
-----------
[Pack]
Author=someone
web=test.com
Name=package 1

lazpaint\brushes\pack1\pencil1.ini
------------
[Brush]
Name=Pencil 1
Image=pencil1.png
Width=10
Height=10
Opacity=25
BlendMode=boLinearBlend

This is simple to edit by users to add their own brushes, also separate them by folders like 'default', 'my pencils', etc.. because is a simple way to get them organized by categories.
« Last Edit: September 23, 2014, 12:38:39 am by 007 »

circular

  • Hero Member
  • *****
  • Posts: 3648
    • Personal webpage
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #677 on: September 23, 2014, 09:26:09 pm »
Nice prog. Yep. I definitely want to add brushes!  :)
Conscience is the debugger of the mind

CM630

  • Hero Member
  • *****
  • Posts: 922
  • Не съм сигурен, че те разбирам.
    • http://sourceforge.net/u/cm630/profile/
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #678 on: September 24, 2014, 01:44:47 pm »
...I came to the idea that I might borrow the idea of some Linux DEs, which IFAIK is implemented in Win7- clicking on a part of the path leads the user directly there.
I am working on that, but is there someone to check if it will work on Mac?
Лазар 2,0,10; W10 or W7 64bit; FPC3,2,0; rev 63526

airpas

  • Full Member
  • ***
  • Posts: 179
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #679 on: September 24, 2014, 03:48:37 pm »
but if you draw with fast mouse motion you get spearated brushes and not straight line .
maybe using dinput will avoid this problem (at least in windows)

lainz

  • Hero Member
  • *****
  • Posts: 3931
  • Leandro Diaz
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #680 on: September 24, 2014, 04:55:30 pm »
but if you draw with fast mouse motion you get spearated brushes and not straight line .
maybe using dinput will avoid this problem (at least in windows)

yes, but we have X, Y, mouseOrigin.X, mouseOrigin.Y

calculating the intermediate points between them and looping the draw we can draw smoothly

CM630

  • Hero Member
  • *****
  • Posts: 922
  • Не съм сигурен, че те разбирам.
    • http://sourceforge.net/u/cm630/profile/
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #681 on: September 24, 2014, 11:36:07 pm »
I don't know if it works on Windows 64, Linux 64, MacOS 32 or MacOS 64.
I compiled on MasOS32 (PPC) and it works. But the only thing I did was to fill the background with #000000.
Edit: It occurs that it does not use the custom open control but the Mac Os inbuilt one :'(
« Last Edit: September 25, 2014, 10:37:31 pm by paskal »
Лазар 2,0,10; W10 or W7 64bit; FPC3,2,0; rev 63526

circular

  • Hero Member
  • *****
  • Posts: 3648
    • Personal webpage
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #682 on: September 26, 2014, 11:59:44 pm »
Yes Paskal. I explained there how to test this feature:
http://forum.lazarus.freepascal.org/index.php/topic,25395.15.html
Conscience is the debugger of the mind

lainz

  • Hero Member
  • *****
  • Posts: 3931
  • Leandro Diaz
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #683 on: September 30, 2014, 03:21:15 am »
It works on win 7 x 64 as far as i tested. There is no automatic test or something?

In spanish blur can be translated as desenfoque

circular

  • Hero Member
  • *****
  • Posts: 3648
    • Personal webpage
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #684 on: September 30, 2014, 10:24:31 pm »
It works on win 7 x 64 as far as i tested. There is no automatic test or something?
Nope. It relies only on you and me. I don't even have a 64-bit computer, so automatic testing, well, no.

Quote
In spanish blur can be translated as desenfoque
Why, isn't it translated?
Conscience is the debugger of the mind

lainz

  • Hero Member
  • *****
  • Posts: 3931
  • Leandro Diaz
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #685 on: October 01, 2014, 04:54:33 am »
Ok. It will be hard to implement automatic testing, with images there's no such predictable scenes.. you must see the result.
And yes seems that is translated, why in the world I thought it was not translated? ::)

circular

  • Hero Member
  • *****
  • Posts: 3648
    • Personal webpage
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #686 on: October 12, 2014, 06:48:34 pm »
Conscience is the debugger of the mind

lainz

  • Hero Member
  • *****
  • Posts: 3931
  • Leandro Diaz
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #687 on: October 14, 2014, 12:21:11 pm »
I see in LazPaint sources some scripting files...

You was trying to add scripting to LazPaint right? You will continue these files or just use pascal script?

Also if pascal script is used in LazPaint, wich functions it will come?

circular

  • Hero Member
  • *****
  • Posts: 3648
    • Personal webpage
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #688 on: October 14, 2014, 11:35:43 pm »
I was thinking about adding a particular scripting language, that would be designed for images, and that would use a kind of JSON. This particular JSON is already implemented and used to store some config.

Pascal script could also be available, and what you have started could be a good candidate for that.  :)
Conscience is the debugger of the mind

lainz

  • Hero Member
  • *****
  • Posts: 3931
  • Leandro Diaz
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #689 on: October 14, 2014, 11:47:33 pm »
Nice! How that language will look? I know JSON but I can't imagine it as scripting language..

Wait, just searched and there is JSON Photoshop Scripting
http://www.tonton-pixel.com/blog/json-photoshop-scripting/

Seems that is just different from I'm used to read.

 

TinyPortal © 2005-2018