Recent

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

circular

  • Hero Member
  • *****
  • Posts: 2975
    • Personal webpage
Re: New version of BGRABitmap
« Reply #465 on: June 30, 2019, 05:59:59 pm »
Thanks  :)
Conscience is the debugger of the mind

Phoenix

  • Jr. Member
  • **
  • Posts: 61
Re: New version of BGRABitmap
« Reply #466 on: July 02, 2019, 10:30:31 pm »
There is a lot of work behind.
Thanks for this release  :) !!

circular

  • Hero Member
  • *****
  • Posts: 2975
    • Personal webpage
Re: New version of BGRABitmap
« Reply #467 on: July 04, 2019, 07:18:24 pm »
Indeed a lot of work and a lot of love as well  :)

Here are some fixes (version 10.2):
- fix for lines with integer coordinates out of bounds
- fix TMemDirectory Rename and TLayeredBitmap Assign functions (LazPaint format related)
- raise exception when using empty scanner instead of infinite loop
- fix constant TBGRAGradientScanner when used with constant color
- fix scanner offset for dithering filter
- add PenStyleToBGRA function

https://github.com/bgrabitmap/bgrabitmap/releases
Conscience is the debugger of the mind

circular

  • Hero Member
  • *****
  • Posts: 2975
    • Personal webpage
Re: New version of BGRABitmap
« Reply #468 on: July 07, 2019, 09:19:04 pm »
Quick fixes version 10.3
https://github.com/bgrabitmap/bgrabitmap/releases

- fix SVG format detection
- fix 3D matrix error
- fix BGLFont vertical swap
- fix compilation for FPC 3.0.0
Conscience is the debugger of the mind

VTwin

  • Hero Member
  • *****
  • Posts: 775
  • Former Turbo Pascal 3 user
Re: New version of BGRABitmap
« Reply #469 on: July 08, 2019, 02:26:08 am »
Many thanks for your excellent work circular!
“Talk is cheap. Show me the code.” -Linus Torvalds

macOS 10.13.6: Lazarus 2.0 fixes svn 61930 (64 bit Cocoa)
Ubuntu 18.04.3: Lazarus 2.0.4 (64 bit on VBox)
Windows 7 Pro SP1: Lazarus 2.0.4 (64 bit on VBox)
fpc 3.0.4

circular

  • Hero Member
  • *****
  • Posts: 2975
    • Personal webpage
Re: New version of BGRABitmap
« Reply #470 on: July 08, 2019, 09:22:16 am »
You're welcome.

Latest version of BGRABitmap need FPC 3.0.0 so Lazarus 1.6.0 minimum.

Can you help test LazPaint? Clicking around a bit?
Conscience is the debugger of the mind

c-sanchez

  • New Member
  • *
  • Posts: 25
Re: New version of BGRABitmap
« Reply #471 on: July 08, 2019, 09:48:13 pm »
Hi circular, I would like try the new beta of lazpaint, by now I can use just Porteus (slackware based distro), so can you make an XZM module for this? 32bits, if not problem.

circular

  • Hero Member
  • *****
  • Posts: 2975
    • Personal webpage
Re: New version of BGRABitmap
« Reply #472 on: July 08, 2019, 11:05:06 pm »
Hmm I have no idea about XZM.

Well I suppose you can test it without installing it.

I have added the plain binaries in the release (see Assets and then no_install archives):
https://github.com/bgrabitmap/lazpaint/releases/tag/v7.0.1
Conscience is the debugger of the mind

fcu

  • New Member
  • *
  • Posts: 41
Re: New version of BGRABitmap
« Reply #473 on: July 08, 2019, 11:57:50 pm »
@circular thank you for this great library
i just tested lazpaint 7.0.1 on windows 32bits , but seems moving the canvas (picture) with right mouse button is not working !!
can you check ?

circular

  • Hero Member
  • *****
  • Posts: 2975
    • Personal webpage
Re: New version of BGRABitmap
« Reply #474 on: July 09, 2019, 03:59:42 pm »
@fcu: My pleasure  :)

Are you trying to move the picture using the hand tool?

In principle the right button would work, though it is not really intended for. The left button is the normal button. Otherwise, you can use the middle button to move the canvas from any tool.
Conscience is the debugger of the mind

fcu

  • New Member
  • *
  • Posts: 41
Re: New version of BGRABitmap
« Reply #475 on: July 09, 2019, 08:01:00 pm »
ops my fault , i mean left button
zooming in/out works ok with mouse wheel , but moving the canvas is not working
also middle button doesn't work

fcu

  • New Member
  • *
  • Posts: 41
Re: New version of BGRABitmap
« Reply #476 on: July 09, 2019, 08:05:00 pm »
image

circular

  • Hero Member
  • *****
  • Posts: 2975
    • Personal webpage
Re: New version of BGRABitmap
« Reply #477 on: July 09, 2019, 09:47:02 pm »
Strange. I don't have this bug on Linux 64. @Lainz, do you have this as well?
Conscience is the debugger of the mind

c-sanchez

  • New Member
  • *
  • Posts: 25
Re: New version of BGRABitmap
« Reply #478 on: July 09, 2019, 10:47:13 pm »
Hmm I have no idea about XZM.

Well I suppose you can test it without installing it.

I have added the plain binaries in the release (see Assets and then no_install archives):
https://github.com/bgrabitmap/lazpaint/releases/tag/v7.0.1
Many many thanks for that circular, that no_install works  :D

So here my thoughs
The toolbar icons are newer right or is my idea?
Thanks by add the 'disable anti aliasing' option :) I'm sure this was so much requested hehe
Thanks by the ratio option too :)

I wonder, will be possible edit vectorized images later?
Or for that is "Vectot Edit" program?

The method to dock colors and layers is same ugly haha, anyway I know this was a quick solution :P
Indeed, minimizing lazpaint keep the layers windows visible anyway hahaha
also the layers window have a fixed size in docked mode
(https://i.ibb.co/59VSSYG/docked.png)

Is all for now, I guess I will comment more things later :)
Thanks for all the hard work.

lainz

  • Hero Member
  • *****
  • Posts: 3226
    • Lainz
Re: New version of BGRABitmap
« Reply #479 on: July 09, 2019, 10:57:45 pm »
Strange. I don't have this bug on Linux 64. @Lainz, do you have this as well?

Yes I noticed this before, but didn't remember how it was working on v6 of LazPaint so I did not report. Now I downloaded LazPaint 6 and there it works fine, with left or right mouse button it moves the canvas. But on LazPaint 7 on Windows it doesn't move. Tested with Lazarus 2.0.2 and Trunk is the same problem.

Edit: I'm using Windows 10.

Edit 2: on MacOS it works somewhat strange too.

Edit 3: downloaded an old Lazarus 1.6.4 to check if there is for some change on the LCL but doesn't works as well.
« Last Edit: July 09, 2019, 11:23:33 pm by Lainz »