Recent

Author Topic: New version of BGRABitmap  (Read 172855 times)

circular

  • Hero Member
  • *****
  • Posts: 3045
    • Personal webpage
Re: New version of BGRABitmap
« Reply #480 on: July 10, 2019, 11:45:49 am »
Many many thanks for that circular, that no_install works  :D
:)

Quote
The toolbar icons are newer right or is my idea?
Not really, upscaled a bit. New icons are only in Vector Edit.

Quote
I wonder, will be possible edit vectorized images later?
That's planned for next version.

Quote
Or for that is "Vectot Edit" program?
Well Vector Edit is not released officially though you can indeed edit vectorial things with it and open it with LazPaint.

Quote
The method to dock colors and layers is same ugly haha, anyway I know this was a quick solution :P
I reckon. :-[ But that's not working well, so I need to do the real thing.
Conscience is the debugger of the mind

circular

  • Hero Member
  • *****
  • Posts: 3045
    • Personal webpage
Re: New version of BGRABitmap
« Reply #481 on: July 10, 2019, 01:47:39 pm »
@Lainz @fcu
I fixed the problem on dev branch (i.e. not released) and tested on Wine.

Lainz, can you try on Windows/MacOS?  :-*
Conscience is the debugger of the mind

lainz

  • Hero Member
  • *****
  • Posts: 3303
    • Lainz
Re: New version of BGRABitmap
« Reply #482 on: July 10, 2019, 07:40:48 pm »
On Windows works fine. On macOS I can't compile due to ppu error, not in LazPaint but on the lazarus installation I have.

I will try to fix my Lazarus installation to try again on macOS.

Edit: on macOS always grab the canvas from the point 0,0. So I can move it only from top left.
« Last Edit: July 11, 2019, 04:31:09 am by Lainz »

lainz

  • Hero Member
  • *****
  • Posts: 3303
    • Lainz
Re: New version of BGRABitmap
« Reply #483 on: July 10, 2019, 11:16:21 pm »
Please you can check this bug?
https://github.com/bgrabitmap/bgrabitmap/issues/66

Now there is a proper demo that shows the sigsegv.
In the project I work I found more exceptions like this when for example just clicking a tbcbutton. It shows doalphacorrection as described in the bug report.

circular

  • Hero Member
  • *****
  • Posts: 3045
    • Personal webpage
Re: New version of BGRABitmap
« Reply #484 on: July 11, 2019, 02:49:30 pm »
I fixed the issue 66 (SIGSEGV).

So on MacOS, scrolling does not work. Hmm
Conscience is the debugger of the mind

circular

  • Hero Member
  • *****
  • Posts: 3045
    • Personal webpage
Re: New version of BGRABitmap
« Reply #485 on: July 11, 2019, 09:06:39 pm »
New version of BGRABitmap (10.4).
https://github.com/bgrabitmap/bgrabitmap/releases

Highly recommended fix for Windows users with version 10.1 to 10.3

- Fix bug with Windows bitmap handle and alpha channel correction
- Fix dithering of transparent pixels
- added TakeLayerBitmap to layered bitmap
- adjust coordinates of aliased polygons
- allow padding and folding of linear texture mapping
Conscience is the debugger of the mind

lainz

  • Hero Member
  • *****
  • Posts: 3303
    • Lainz
Re: New version of BGRABitmap
« Reply #486 on: July 12, 2019, 01:01:50 am »
Thanks for fixing the bug. Now the application works fine again =)

circular

  • Hero Member
  • *****
  • Posts: 3045
    • Personal webpage
Re: New version of BGRABitmap
« Reply #487 on: July 27, 2019, 03:04:16 pm »
New version of BGRABitmap (10.5)
https://github.com/bgrabitmap/bgrabitmap/releases

It contains polygon fill fix and optimization for complex polygons (very much faster).
Also now vectorized font supports ligature, so you can write in arabic using vectorized font.

SVG: added FindElementById function
Layered bitmap: original with custom Guid, render one layer
Polygon: optimized complex polygon filling, fix bug with horizontal edges, fix U-turn round join
Vectorized font: update quadratic option, floating point size, handle ligatures (RTL and LTR) and multichar
Unicode: handle ligatures, multichar flag, fix error with empty paragraph
Phong: floating point light position
Conscience is the debugger of the mind

circular

  • Hero Member
  • *****
  • Posts: 3045
    • Personal webpage
Re: New version of BGRABitmap
« Reply #488 on: August 17, 2019, 12:25:28 pm »
New version of BGRABItmap 10.6
https://github.com/bgrabitmap/bgrabitmap/releases

    VectorizeMonochrome can take bounds parameter
    speed up gradient original draft rendering with lower quality
    allow mask scanner to use scanners instead of bitmap
    ParallelFloodFill can take offset parameter
    SVG XML memory leak fix
    update original when loading content
    undo/redo possible for originals using diff
    avoid accessing deleted original
    fix resample layer offset
    fix line order when serializing images with TBGRACompressableBitmap
    releaser: added text and copy instructions

Conscience is the debugger of the mind

nouzi

  • Full Member
  • ***
  • Posts: 142
Re: New version of BGRABitmap
« Reply #489 on: August 17, 2019, 01:33:38 pm »
Nice working
كعكة is good   :D
my english is  bad
Lazarus 2.0 free pascal 3.0.4
Lazarus trunk  free pascal trunk 
System : windows 7 64bit

circular

  • Hero Member
  • *****
  • Posts: 3045
    • Personal webpage
Re: New version of BGRABitmap
« Reply #490 on: August 17, 2019, 01:36:19 pm »
Thanks.

Indeed كعكة is delicious.  :D
Conscience is the debugger of the mind

nouzi

  • Full Member
  • ***
  • Posts: 142
Re: New version of BGRABitmap
« Reply #491 on: August 17, 2019, 01:40:09 pm »
yes men good food :D  :D   :D
my english is  bad
Lazarus 2.0 free pascal 3.0.4
Lazarus trunk  free pascal trunk 
System : windows 7 64bit

lainz

  • Hero Member
  • *****
  • Posts: 3303
    • Lainz
Re: New version of BGRABitmap
« Reply #492 on: August 18, 2019, 01:46:04 am »
Thanks for the new release, I like editing the vectors  :)

circular

  • Hero Member
  • *****
  • Posts: 3045
    • Personal webpage
Re: New version of BGRABitmap
« Reply #493 on: August 18, 2019, 08:23:37 pm »
New version 10.6.2 with tiny fix for ellipse of size zero
Conscience is the debugger of the mind

circular

  • Hero Member
  • *****
  • Posts: 3045
    • Personal webpage
Re: New version of BGRABitmap
« Reply #494 on: October 14, 2019, 01:28:05 pm »
New version 10.6.3 with minor fixes

https://github.com/bgrabitmap/bgrabitmap/releases

Layers
    optimize: avoid storing/loading originals if not necessary
    function to unload originals
    added TBGRALayerImageOriginal.GetImageCopy
    raise click point event if points is clicked but not moved
    AddPointAlternateMove: alternate handler if other mouse button was used
    RawString storage: avoid string conversion with newer version of FPC
    copy additional info of MemDirectory when assigning
    update layer MemDirectory when changing unique id

SVG
    fix gradient for userSpaceOnUse coordinates

Releaser
    add handler for MacOS bundle

Conscience is the debugger of the mind