Recent

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

lainz

  • Guest
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #405 on: September 02, 2012, 12:50:16 am »
Ok no problem is working well the x86.

I'm using facebook with a configuration to show only to my friends the info (btw facebook can store all the data and I don't know to which people they are selling that info)..

LazPaint filters this time: first 'smooth' and then 'sharpen' to get this look =) Really I like Inkscape, but without effects that look terrible  :-[
http://fav.me/d5dca0b

j0x

  • Full Member
  • ***
  • Posts: 126
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #406 on: September 02, 2012, 04:48:58 pm »
yo circular sorry for being annoying but do you still have plans to add layers feature on LazPaint? thanks

circular

  • Hero Member
  • *****
  • Posts: 4195
    • Personal webpage
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #407 on: September 02, 2012, 05:43:28 pm »
Well that's ok that you remind me.

I was thinking about it recently. I guess I should use OpenRaster format. But I'm not sure about zip files.

It depends on the time that is available to me. I have sorted all the things I wanted to do on LazPaint recently (selection, 3D import). Now the next step will be layers for sure. I already have some ideas. Maybe I will use my own format to begin with.

The thing I think will be most confusing is the undo/redo function.
Conscience is the debugger of the mind

j0x

  • Full Member
  • ***
  • Posts: 126
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #408 on: September 04, 2012, 08:28:33 am »
nice to hear that Layers feature is on your ToDo list.... waiting patiently, good luck  :D

circular

  • Hero Member
  • *****
  • Posts: 4195
    • Personal webpage
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #409 on: September 17, 2012, 01:17:22 pm »
I've got a working version of layers (see the thread http://www.lazarus.freepascal.org/index.php/topic,15342.msg102510.html#msg102510 ) with loading and saving file in OpenRaster format. The Xml reader and writer of Lazarus are great and so are the TZipper/TUnzipper classes. So finally I will not do yet another layered format special to LazPaint.

Now I was wondering if there should be an undo/redo list for each layer, or if it would be a good idea to allow undo restricted to one layer. For memory usage, it would be better to have one list only, but I guess it is possible to allow undo for one layer independently of others.

I also would like to remove the ability to undo/redo between files, because it can be confusing and can lead to file erasing. But then, some things will be impossible to do, unless I add multiple file editing, and I really don't want to mess with multiple file editing.

What do you think about it?
Conscience is the debugger of the mind

Leledumbo

  • Hero Member
  • *****
  • Posts: 8746
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #410 on: September 17, 2012, 05:17:06 pm »
I prefer having a global undo/redo, regardless of layers. People normally think undo as reverting their actions in order, wherever they are now (note that adding/removing layer is an action too).

lainz

  • Guest
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #411 on: September 17, 2012, 06:23:01 pm »
Yes as Leledumbo say, is the best way.

In some programs also selecting a layer is an undo/redo action. Corel Photo Paint and Photoshop store all the actions, then you can save those as a macro or script, and then you can recreate the whole image from those files, select the 'point' where you want to re-create, is a list of undo/redo actions.

- New File (640x480)
- Fill gradient (colors, position, etc)
- Twirl Filter (...)
- Import layer (box.png) >> for example you can clic this item in the list and go back to this point
- Select layer
- Rotate layer 180

It search the filenames i don't remember if in a full path or a relative path...

circular

  • Hero Member
  • *****
  • Posts: 4195
    • Personal webpage
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #412 on: September 18, 2012, 08:50:06 pm »
Alright.
Conscience is the debugger of the mind

circular

  • Hero Member
  • *****
  • Posts: 4195
    • Personal webpage
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #413 on: September 21, 2012, 10:39:36 am »
I'm going to do both undo/redo (global and layer) because they can be combined in a smart way. So you will be able to use one or the other, or even both at the same time. If it's not clear right now, you will understand when using it.

But first, I'm going to do layers without undo/redo at all as a first step. I will tell you when I'm done.
Conscience is the debugger of the mind

lainz

  • Guest
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #414 on: September 21, 2012, 12:08:44 pm »
I understand =)

If you apply a filter or draw something you're doing that in a layer, those steps are added to local layer undo/redo and global undo/redo. You can go back in any of them withouth any problems.

global1
global2 layer1-1
global3 layer1-2
global4 layer2-1
global5 layer1-3

circular

  • Hero Member
  • *****
  • Posts: 4195
    • Personal webpage
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #415 on: September 21, 2012, 09:56:58 pm »
Yes, that's what I am thinking about.
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 #416 on: September 24, 2012, 01:27:03 pm »
Hello,
long time no see :)

So what's in the roadmap:
- Layers support
- Global/Layer undo/redo

I can suggest to add:
MDI with tabs for images ? (as Single window mode in The Gimp)
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 #417 on: September 30, 2012, 06:32:36 pm »
Hmm, well, nope I will not do multiple image yet.

Current version in subversion is under development, undo/redo does not work at all, there is already some layer support. If you want a working version, use zip files (src or bin) :
https://sourceforge.net/projects/lazpaint/files/
Conscience is the debugger of the mind

taazz

  • Hero Member
  • *****
  • Posts: 5368
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #418 on: October 01, 2012, 05:15:56 am »
Just downloaded the latest lazpaint to check it out, I liked what I've seen so far, I'm going to start using it as a glyph and icon editor for my applications and report any problems or features that come to me. I have left one feature request on SF.
All in all congratulation fantastic work. I can't wait to see the next release.

I have a side project that I would like to do based on the current status of the application. When I get some time I'll leave you a message.

Once more congratulations very well done.
Good judgement is the result of experience … Experience is the result of bad judgement.

OS : Windows 7 64 bit
Laz: Lazarus 1.4.4 FPC 2.6.4 i386-win32-win32/win64

circular

  • Hero Member
  • *****
  • Posts: 4195
    • Personal webpage
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #419 on: October 01, 2012, 08:52:08 am »
Thank you very much. I'm going to check your request on sourceforce.

Maybe the Ctrl key will be useful for you when editing icons (it snaps the pen to pixel grid).

I'm not sure what you mean by your project "based the current status".
Conscience is the debugger of the mind

 

TinyPortal © 2005-2018