| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
This patch fixes an issue with the creation of color profiles from embedded ICC information. Previously the NoCopy CFDataRef constructor was being used to wrap the raw bytes to be passed to the relevant CGColorSpaceRef constructor. However, the data wrapped in this way could be released at any time, and in versions of macOS since Mojave it appears that the OS defers copying the data thus causing strange effects when the color profile is eventually applied. The problem has been fixed by using the normal CFDataRef constructor which copies the provided bytes.
|
💙 review by @livecodeian ok d6a9244 |
Sorry, something went wrong.
[[ Bug 23038 ]] Fix creation of color profiles on macOS This patch fixes an issue with the creation of color profiles from embedded ICC information. Previously the NoCopy CFDataRef constructor was being used to wrap the raw bytes to be passed to the relevant CGColorSpaceRef constructor. However, the data wrapped in this way could be released at any time, and in versions of macOS since Mojave it appears that the OS defers copying the data thus causing strange effects when the color profile is eventually applied. The problem has been fixed by using the normal CFDataRef constructor which copies the provided bytes. Closes https://quality.livecode.com/show_bug.cgi?id=23038
|
😎 test success d6a9244
|
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
This patch fixes an issue with the creation of color profiles from
embedded ICC information. Previously the NoCopy CFDataRef constructor
was being used to wrap the raw bytes to be passed to the relevant
CGColorSpaceRef constructor. However, the data wrapped in this way
could be released at any time, and in versions of macOS since
Mojave it appears that the OS defers copying the data thus causing
strange effects when the color profile is eventually applied. The
problem has been fixed by using the normal CFDataRef constructor
which copies the provided bytes.
Closes https://quality.livecode.com/show_bug.cgi?id=23038