Recent

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

circular

  • Hero Member
  • *****
  • Posts: 4195
    • Personal webpage
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #855 on: November 03, 2019, 06:42:02 pm »
Code: Bash  [Select][+][-]
  1. strings field.png | grep Photoshop
  2.  
result:

Code: Bash  [Select][+][-]
  1. Photoshop ICC profile

So: Yes, Photoshop delivers corrupt png files.
Hmm, and precisely that's the chunk for ICC profile that has bad CRC.

how is the status of the lazpaint scripting with python?
It's going well. I am 80% done I guess.
Conscience is the debugger of the mind

winni

  • Hero Member
  • *****
  • Posts: 3197
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #856 on: November 03, 2019, 07:22:05 pm »
@circular

Be prepared on a lot of trash inside the image files - sometimes with funny results.

A TIFF file can contain more tham one image - the most apps only recognize only the first one.
In TIFF images you can save CMYK colors - they are mostly not respected and interpreted as RGBA - funny looking.

A lot of PostScript-/EPS import modules dont look for the XY-origin and think it is topleft. In Postscript you can set every corner as orign. Ther result are mirrored or upside down displays.

And so on ....

circular

  • Hero Member
  • *****
  • Posts: 4195
    • Personal webpage
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #857 on: November 03, 2019, 08:07:32 pm »
Yep, I took care of all those cases in the TIFF reader. CMYK and Lab pixel formats and rotating/mirroring the image.
Conscience is the debugger of the mind

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #858 on: November 03, 2019, 08:47:13 pm »
It's going well. I am 80% done I guess.

Cool =)

circular

  • Hero Member
  • *****
  • Posts: 4195
    • Personal webpage
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #859 on: November 03, 2019, 11:44:00 pm »
For the basic feature of the scripts, what remains to do is:
- commands of the Edit menu
- tool attributes (pen etc.)

Then maybe some advanced features like:
- vector commands
- storing information in the LazPaint file (for example a script could store what options the user used)

I am wondering about interface, but I think one can do one with Python.
Conscience is the debugger of the mind

c-sanchez

  • Jr. Member
  • **
  • Posts: 65
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #860 on: November 17, 2019, 12:10:59 am »
Ok, for some time I want to comment all the things I would like to see and I wondering if they will be avaiable in later in Lazpaint, so I will try list all my wishes/ideas/comments here

1. Index Color support, edit color index palette, convert image to full or indexed color, and anything related
since i knew about the existence of the color index i feel that a raster editor without this is incomplete :P

https://i.ibb.co/Fx3FxDq/indexcolor.gif

2. Docking. You know, I think I've commented these things many times, but is a point too.
That colors and layers docking is fun and ugly to watch.
Comparing interface workspace with similar window size
Lazpaint https://i.ibb.co/wpCvnvj/lazpaint.png

lazpaint docked https://i.ibb.co/bBzCLkK/docks.gif

phoxo https://i.ibb.co/1m6gg3k/phoxo.png

pictbear https://i.ibb.co/tM8byr9/pictbear.png

3. Following regarding the interface, the toolbox docked is good indeed, at least I think looks so
but, I commented on it some time ago (years ago?) in sourceforge and I saw you recently added this in github heh.
Group the toolbox by category, we can see is in some editors.
By example I saw this recently in Photo Pos Pro 3
https://i.ibb.co/yk4WFQ0/sshot-002.png
https://i.ibb.co/7YNwJyy/sshot-003.png
However I find it unpleasant the interface of Photo Pos Pro 3 :P

Lazpaint toolbox docked
https://i.ibb.co/R96WSmc/toolbox.png

My "mock up"(?) idea to lazpaint
https://i.ibb.co/vHx9z16/toolbox-group.png

4. As I was writing this message and seeing Phoxo and Picbear, I remembered this point.
Multiple-Document Interface
Open different images/Projects/ ..Tabs? in Lazpaint

5. Extra image formats support.
For some time now I think it would be nice to see some extra formats like WebP, BPG and FLIF.
If I'm right, Lainz is working in webp, right? :)

and well, I think that is all.. for now... :P
I'd like to know what you have in mind about all these points circular  :)

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #861 on: November 17, 2019, 11:37:11 am »
I think LazPaint is already good  :)

Also made 99.9% by only one person.

fred

  • Full Member
  • ***
  • Posts: 201
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #862 on: November 17, 2019, 12:15:48 pm »
LazPaint checks for update on startup, can it be made to disable this?
I know, i'm from the time that we only connected to internet when we needed to :)
And yes, I don't have a smartphone because I don't want to be connected all the time  8)

c-sanchez

  • Jr. Member
  • **
  • Posts: 65
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #863 on: November 17, 2019, 03:41:35 pm »
I think LazPaint is already good  :)

Also made 99.9% by only one person.
Yeah, LazPaint is really cool.
Its interface, one of the points that I most criticize, I find it very comfortable indeed, but at the same time I feel that it can be better.
btw, I wonder how the hell it'll keep the interface nice by mixing raster and vectors, but it's probably going to be a cool thing too :)

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #864 on: November 17, 2019, 04:00:56 pm »
Yeah, LazPaint is really cool.
Its interface, one of the points that I most criticize, I find it very comfortable indeed, but at the same time I feel that it can be better.
btw, I wonder how the hell it'll keep the interface nice by mixing raster and vectors, but it's probably going to be a cool thing too :)

Well it already support vectors and is working fine, check this picture
https://www.facebook.com/LazPaint/posts/2540567102647681

Is a full vector image made with LazPaint.

The thing is that by now it does not draw the vectors in "more quality" when zooming, but is a vector, you can see if you do an image resample.

winni

  • Hero Member
  • *****
  • Posts: 3197
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #865 on: November 17, 2019, 04:46:18 pm »
Hi!

In CorelDraw you got different logical modes of viewing your drawings:

* wireframe : just show the vectors in b/w. Good for searching a "lost object" like a transparent vector on a transparent background .....And for a quick overview.
* preview: low quality but quick showing the colors and gradients in "80s graphicmode"
* high quality: showing everything as it is, but it might take a while with a lot of vector objects, filled with gradients or filltered elements.

Perhaps this is an idea for LazPaint.

Winni

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #866 on: November 18, 2019, 03:22:48 am »
In CorelDraw I always use the high quality view, but I mostly do artistic drawings so nothing that needs pixel perfect to use the outline view  :)

circular

  • Hero Member
  • *****
  • Posts: 4195
    • Personal webpage
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #867 on: November 18, 2019, 12:37:47 pm »
Hi folks,

Thanks for your input. I need to think about all your suggestions. Note that if you consider one thing is not in the list of issues on GitHub, and that it may be implemented, then I invite you to add it.

Some update about Python script, the tkinter module works well and this way a script can show a window of its own and interact with LazPaint at the same time.

About pixel resolution, it is somewhat limited in LazPaint. It might be accelerated though by decomposing bitmaps into grid of bitmaps. This would require more memory.

@winni: The wireframe mode is indeed interesting.

@c-sanchez: I see some new suggestions. Regarding webp, it's already working on dev branch.
Conscience is the debugger of the mind

lainz

  • Hero Member
  • *****
  • Posts: 4460
    • https://lainz.github.io/
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #868 on: November 18, 2019, 05:35:36 pm »
I've added new python scripts for making a 3d room (where you can paint next), and fractal trees

circular

  • Hero Member
  • *****
  • Posts: 4195
    • Personal webpage
Re: LazPaint (alpha-blending, antialiasing, filters)
« Reply #869 on: November 19, 2019, 01:40:23 pm »
Very nice.

I am adding tool styles to the scripting language. That's kind of cumbersome so takes more time that I thought. But am getting there.
Conscience is the debugger of the mind

 

TinyPortal © 2005-2018