Comments (14)
Hmm.. I don't understand because I remember testing it on MacOS. Could it be that it depends on the version of MacOS? See: http://forum.lazarus.freepascal.org/index.php/topic,24239.msg228750.html#msg228750
from bgrabitmap.
It is MacOS but also it is Qt5, maybe for that?
@esvignolo offered his machine to test it with TeamViewer if you want, you can contact him on Facebook, is already your friend Esteban Vignolo.
Edit: Sorry, I did not explain, it is using Qt5
from bgrabitmap.
Yes in macos (carbon) a time ago, has the same problem and @circular17 fix it. But this is in macos QT5.
from bgrabitmap.
So could we use some $IFDEF to check if it is QT5, or any QT?
from bgrabitmap.
I only try with QT5, I don't see any conditional for QT, but, I remove the {$DEFINE BGRABITMAP_RGBAPIXEL} and work fine.
from bgrabitmap.
I guess it is with all version of QT. What about the following?
{$IFDEF DARWIN}
{$IFNDEF LCLQt}
{$DEFINE BGRABITMAP_RGBAPIXEL}
{$ENDIF}
{$ENDIF}
from bgrabitmap.
Yes, I think that's enough.
from bgrabitmap.
This works for you?
from bgrabitmap.
In the package options maybe using -dBGRABITMAP_BGRAPIXEL is enough, since that avoids defining RGBA order and changing the files.
from bgrabitmap.
That would be possible. However that implies the user to do something. That's ok for me to change some files.
from bgrabitmap.
I pushed the change on dev-bgrabitmap. @esvignolo can you confirm it works for you?
from bgrabitmap.
Hi @circular17, @esvignolo told me yesterday that was not working, but wait confirmation from him.
Is strange, these defines looks well.
from bgrabitmap.
Hi, I tested it and it has with default settings the colors inverted.
from bgrabitmap.
Tested some more apps and has the issue of colors even if there's the setting applied.
I will try with cocoa, not qt.
from bgrabitmap.
Related Issues (20)
- Cannot find lazutf8classes HOT 21
- Support for SVG Mask like Inkscape HOT 6
- 'exception' class HOT 4
- Reader/Writer Classes derived from fcl-image HOT 1
- Illuminant: string HOT 2
- cannot compile the 'master' branch on last Laz release 3.0RC1 HOT 12
- Cannot compile project using cross to OpenBSD i386 on Linux x64 HOT 18
- Won't compile on Trunk FPC (error on IMUL) HOT 3
- Multiple package issue HOT 2
- New version of BGRABitmap (11.5.7) corrupts Lazarus - it stops seeing component icons in LRS resources HOT 11
- bgramseguibitmap.pas does not compile on Windows. HOT 4
- TBGRAColor in object inspector HOT 1
- Suggestion to improve the documentation of bgrabitmap using pasdoc. HOT 47
- BGRABitmap and FPC 3.2-fixes HOT 5
- compile error on bgrapixel.inc HOT 5
- Maintain the "bit format" of a file between reading and subsequent writing HOT 5
- Error: Duplicate identifier "FResolutionUnit" HOT 4
- Cannot compile package BGRABitmapPack 11.5.8 HOT 4
- Avoid WideString, use UnicodeString HOT 3
- libwebp.pas fails to compile if -Mobjfpc was not used at compilation. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bgrabitmap.