Recent

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

lainz

  • Guest
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #315 on: September 26, 2011, 03:11:49 pm »
Now LazPaint is available in AllMyApps App Store:

http://allmyapps.com/apps/lazpaint-paint

Please install it from the store to give more popularity to LazPaint  ;)

panoss

  • Full Member
  • ***
  • Posts: 162
  • You only live twice
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #316 on: September 26, 2011, 04:01:49 pm »
@panoss: What happens if you replace by
  alpha := FMaskScanNext().red
?
Sorry, but the error message I mentioned, appeared in a windows xp machine in an internet cafe, and now I don't have access to it  :-[.
But I tried lazpaint in my pc, ubuntu 11.04, lazarus  v0-9.30-0, lazpaint4.4.1, bgrabitmap4.7.2 and it compiles!
But, the two small forms (Tools form and Colors form) are frozen! They don't work!
« Last Edit: September 26, 2011, 05:56:44 pm by panoss »
Windows 10 64bit, Lazarus Version 2.2.0    FPC 3.2.2.

circular

  • Hero Member
  • *****
  • Posts: 4195
    • Personal webpage
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #317 on: September 26, 2011, 07:06:20 pm »
I have no idea why these forms would be frozen. What happens if you hide them and show them again using the View menu ?
Conscience is the debugger of the mind

lainz

  • Guest
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #318 on: September 26, 2011, 08:47:08 pm »
I can confirm that problem, when I tested ubuntu some months ago.

circular

  • Hero Member
  • *****
  • Posts: 4195
    • Personal webpage
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #319 on: September 26, 2011, 10:32:47 pm »
I posted a new version on subversion with :

- ask to merge selection when saving
- load and save selection
- avoid crash when closing with selection
- rewriting of undo/redo
- undo/redo bug fix

If someone can debug ubuntu version, it would be great.

I've posted a compiled version 4.4.1 for linux (thanks to Daniel) :
http://sourceforge.net/projects/lazpaint/files/bin/
« Last Edit: September 26, 2011, 10:45:13 pm by circular »
Conscience is the debugger of the mind

lainz

  • Guest
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #320 on: September 27, 2011, 04:58:52 am »
Thanks.

You can add a feature to save .ico files? That's because IcoFx now is commercial  :(
http://wiki.lazarus.freepascal.org/Lazarus_Image_Editor

circular

  • Hero Member
  • *****
  • Posts: 4195
    • Personal webpage
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #321 on: September 27, 2011, 09:52:20 am »
It's not so easy to do because Icon can have multiple images.

Hey people, maybe i've found why the toolboxes were frozen. I was using ShowModal for main form. I've updated on subversion. Does it work on Linux now ?
« Last Edit: September 27, 2011, 10:04:24 am by circular »
Conscience is the debugger of the mind

panoss

  • Full Member
  • ***
  • Posts: 162
  • You only live twice
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #322 on: September 27, 2011, 06:23:42 pm »
Yes circular, I tried the subversion on Linux, it works fine! Thanks!
« Last Edit: September 27, 2011, 06:25:36 pm by panoss »
Windows 10 64bit, Lazarus Version 2.2.0    FPC 3.2.2.

lainz

  • Guest
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #323 on: September 27, 2011, 06:41:55 pm »
Maybe now works in Mac too.

circular

  • Hero Member
  • *****
  • Posts: 4195
    • Personal webpage
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #324 on: September 27, 2011, 08:13:12 pm »
Ok so here is last version LazPaint4.5 as zip and exe for Windows :
https://sourceforge.net/projects/lazpaint/files/bin/

It uses last version of BGRABitmap (4.8 )

I've asked Daniel for the Linux version.
« Last Edit: September 27, 2011, 09:15:41 pm by circular »
Conscience is the debugger of the mind

lainz

  • Guest
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #325 on: September 27, 2011, 08:48:04 pm »
Ok so here is last version LazPaint4.5 as zip and exe for Windows :
https://sourceforge.net/projects/lazpaint/files/bin/

It uses last version of BGRABitmap (4.8)

I've asked Daniel for the Linux version.

You need to update the update checker website version.. I have the latest version 4.4.1 xD

circular

  • Hero Member
  • *****
  • Posts: 4195
    • Personal webpage
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #326 on: September 27, 2011, 09:16:14 pm »
I don't know how to do it yet. I'm asking FabienWang...
Conscience is the debugger of the mind

benohb

  • Full Member
  • ***
  • Posts: 213
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #327 on: September 28, 2011, 01:42:29 am »
hi lainz

use http://upx.sourceforge.net/ is Wonderful

4.5 to 1.8 mb executable linux

fabienwang

  • Sr. Member
  • ****
  • Posts: 449
  • Lazarus is the best
    • My blog
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #328 on: September 28, 2011, 07:28:33 am »
Hi.

@benohb, yes but UPX means it will use more RAM to uncompress the binary at every start of lazpaint.
4.5 for such an application is NOTHING, look at Paint.Net for example, with the DLL i have 30MB after the installation... so LazPaint rocks :D

@circular and lainz, i updated the version number for the update checker. I also moved 4.4.1 and 4.4.2 files in the old directory.
I'm using Arch Linux.
Known for: CPickSniff, OpenGrabby
Contributed to: LazPaint

circular

  • Hero Member
  • *****
  • Posts: 4195
    • Personal webpage
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #329 on: September 30, 2011, 12:36:21 pm »
Thanks benohb for the tip.

I would say the first reason why upx is not used, is that it is an extra step added in the creation of the executable and we are lazy (well in fact I don't even have Linux).

Fabien points out that it needs more memory. Well I do not agree, if it is just one instance, but if multiple instances of LazPaint are used, it may take more memory.

I've tested with 20 instances on Windows. Without compression of the exe, it takes 110 MB of RAM, and with compression, it takes 158 MB. The difference is not so big. Of course, on the disk, it takes less space, only 1.1 MB instead of 3.5 MB.

The design of LazPaint is to hold only one image, so if someone works with multiple images, it will need to have multiple instances the program.

I've noticed that cut'n'paste does not work well between instances of LazPaint, the alpha channel is lost. This is something to improve in next version.
« Last Edit: September 30, 2011, 12:52:18 pm by circular »
Conscience is the debugger of the mind

 

TinyPortal © 2005-2018