Recent

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

circular

  • Hero Member
  • *****
  • Posts: 3438
    • Personal webpage
Re: New version of BGRABitmap
« Reply #495 on: November 05, 2019, 11:46:10 am »
New version 10.6.4
https://github.com/bgrabitmap/bgrabitmap/releases

Image formats:
    optimize reading common tiff formats
    basic support for portable any map (PBM, PGM, PPM)
    skip non-essential corrupted chunks in PNG
    fix GIF reader/writer for low bit depth (when color count <= 2)
    fix SVG functions returning size in pixels

Miscellaneous:
    fix right click in original event
    fix compilation for fpGUI
    fix runtime error in blur
    fix sign issue in Emboss filter
    added array of string constants for special key enum
Conscience is the debugger of the mind

Thaddy

  • Hero Member
  • *****
  • Posts: 10436
Re: New version of BGRABitmap
« Reply #496 on: November 05, 2019, 11:54:18 am »
Has the arm incompatibility received any attention?
I can send you a Raspberry Pi for free if that regression can be fixed (A RPi 3+, the 4's are for me)
You know how to reach me.
« Last Edit: November 05, 2019, 11:55:59 am by Thaddy »
When you ask a question that is actually answered in the documentation, you are either lazy or a moron.

circular

  • Hero Member
  • *****
  • Posts: 3438
    • Personal webpage
Re: New version of BGRABitmap
« Reply #497 on: November 05, 2019, 03:04:10 pm »
Nope. I suppose a first start would be to add an issue on GitHub so that it would not be lost in the forum. Are there some error messages?

You're mentioning a regression. From which version did the issue happen?

It would be great to make it work on Raspberry Pi. Personally I've never used one and I don't intend to have one. I would prefer to sort this issue in a dialogue with a Raspberry user.

Quote
You know how to reach me.
I don't see what you are referring to.
Conscience is the debugger of the mind

lainz

  • Hero Member
  • *****
  • Posts: 3692
  • Leandro Diaz
Re: New version of BGRABitmap
« Reply #498 on: November 05, 2019, 03:11:48 pm »
I think he means you can PM him to contact him in the forum.

Segator

  • Jr. Member
  • **
  • Posts: 97
    • https://github.com/Nenirey
Re: New version of BGRABitmap
« Reply #499 on: November 05, 2019, 03:40:26 pm »
Great job, its posible to support .webp file format?

circular

  • Hero Member
  • *****
  • Posts: 3438
    • Personal webpage
Re: New version of BGRABitmap
« Reply #500 on: November 05, 2019, 04:09:55 pm »
To support webp format, one would need a reader or writer for it. Writing it in Pascal seem quite a big task. Has it already been done?
Conscience is the debugger of the mind

Segator

  • Jr. Member
  • **
  • Posts: 97
    • https://github.com/Nenirey
Re: New version of BGRABitmap
« Reply #501 on: November 05, 2019, 04:35:19 pm »
I read about a delphi biding to webp library, but not pure pascal implementation.

lainz

  • Hero Member
  • *****
  • Posts: 3692
  • Leandro Diaz
Re: New version of BGRABitmap
« Reply #502 on: November 05, 2019, 04:37:50 pm »
I think using the library will be ok, no need to reinvent the wheel...
https://storage.googleapis.com/downloads.webmproject.org/releases/webp/index.html
« Last Edit: November 05, 2019, 04:49:50 pm by lainz »

Thaddy

  • Hero Member
  • *****
  • Posts: 10436
Re: New version of BGRABitmap
« Reply #503 on: November 05, 2019, 04:43:04 pm »
I don't see what you are referring to.
A free Raspberry Pi  :D Anyway, everybody should have a Raspbery Pi anyway.... :D

But I keep this one - with your permission - to help someone else if you refuse it...
Just a little incentive to get things working on Raspbian.
When you ask a question that is actually answered in the documentation, you are either lazy or a moron.

circular

  • Hero Member
  • *****
  • Posts: 3438
    • Personal webpage
Re: New version of BGRABitmap
« Reply #504 on: November 05, 2019, 05:43:29 pm »
I think he means you can PM him to contact him in the forum.
I was also guessing that. Though I prefer if it's clarified.

A free Raspberry Pi  :D Anyway, everybody should have a Raspbery Pi anyway.... :D
I hear you would like to share your love of the Raspberry.  :D

Well as you have a Raspberry, maybe you can find a way to fix the library?
Conscience is the debugger of the mind

circular

  • Hero Member
  • *****
  • Posts: 3438
    • Personal webpage
Re: New version of BGRABitmap
« Reply #505 on: November 05, 2019, 05:48:48 pm »
I think using the library will be ok, no need to reinvent the wheel...
https://storage.googleapis.com/downloads.webmproject.org/releases/webp/index.html
Indeed. Not sure though how to plug that.
Conscience is the debugger of the mind

lainz

  • Hero Member
  • *****
  • Posts: 3692
  • Leandro Diaz
Re: New version of BGRABitmap
« Reply #506 on: November 05, 2019, 07:37:29 pm »
I think using the library will be ok, no need to reinvent the wheel...
https://storage.googleapis.com/downloads.webmproject.org/releases/webp/index.html
Indeed. Not sure though how to plug that.

I have the dll for Windows 32 and 64 bits ( I compiled these with visual studio right now). Also the Pascal header made by someone else… so you can access the methods of the dll from Pascal.

I was trying to do it to save to webp but I don't know too much about data manipulation with pointers like pbyte, that's the input and output format used by the library...

lainz

  • Hero Member
  • *****
  • Posts: 3692
  • Leandro Diaz
Re: New version of BGRABitmap
« Reply #507 on: November 05, 2019, 07:57:47 pm »
Hi, well I've saved a BGRABitmap to WebP right now
https://github.com/bgrabitmap/webp

But the image is flipped, maybe you that have more experience know why and can fix?  :)

Is in the bgrabitmap organization at github, so you can already modify it.

Fred vS

  • Hero Member
  • *****
  • Posts: 1836
    • StrumPract is the musicians best friend
Re: New version of BGRABitmap
« Reply #508 on: November 05, 2019, 10:09:56 pm »
> Has the arm incompatibility received any attention?

BGRABitmap + fpGUI works perfectly on arm Rpi.
You may try the Rpi release of Eschecs here:

https://github.com/rchastain/eschecs/releases

Fre;D
I use Lazarus 2.0.6 32/64 and FPC 3.2.0 32/64 on Debian 10.2 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64 and Mac OS X Snow Leopard 32.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt, Carbon.

https://github.com/fredvs
https://gitlab.com/fredvs

del

  • Full Member
  • ***
  • Posts: 185
Re: New version of BGRABitmap
« Reply #509 on: November 06, 2019, 12:40:40 am »
Very impressive image processing suite. Maybe some of you old timers remember that guy who had all those image algorithms on his website. Delphi stuff IIRC. For some reason I'm thinking of "Elf"? His name was like "Elf" or something. Don't laugh but I used to have a Delphi telecommute job and I did a lot of that stuff so it was pretty cool to discover his site.

 

TinyPortal © 2005-2018