Comments (5)
from nuke.
64 bpp, 16 bpc, kCGImageAlphaLast (what image data tells us) is not supported
64 bpp, 16 bpc, kCGImageAlphaPremultipliedFirst (that I mention in a PR) is not supported either
As far as I can tell we should simply draw all images using the same pixel format which is best for rendering (for instance, 32 bbp, 8 bpc, kCGImageAlphaPremultipliedLast). End users should be able to easily alter this behaviour by implementing custom image decompressors.
from nuke.
// See Quartz 2D Programming Guide for more info
guard let contextRef = CGBitmapContextCreate(nil,
Int(imageSize.width),
Int(imageSize.height),
8,
0,
CGColorSpaceCreateDeviceRGB(),
CGImageAlphaInfo.PremultipliedLast.rawValue) else {
return image
}
from nuke.
Hi,
How did you set the environment variable CGBITMAP_CONTEXT_LOG_ERRORS and what did you set it to ?
-Thanks
from nuke.
Product/Scheme/Edit Scheme/Environment variables.
I had set it to 1.
from nuke.
Related Issues (20)
- LazyImage: What is the correct way to reload reload an image after a network failure? HOT 2
- Use GIF with NukeUI HOT 2
- Custom CacheKey like SDWebImage HOT 1
- Images fetched with ImagePrefetcher on shared pipeline are not in cache, but they are when manually loading each one HOT 1
- Include Privacy Manifests for the SDK HOT 4
- Is it possible to use a custom CIFilter with an ImageRequest? HOT 2
- Missing support for macCatalyst in Nuke 12.4 HOT 2
- LazyImage(url:) does not load image when using ImageRenderer HOT 4
- Add mandatory privacy manifest HOT 1
- SwiftUI Warning: Accessing StateObject's object without being installed on a View. This will create a new instance each time. HOT 2
- Xcode 15.3 concurrency warnings when using `Screen.scale`
- The operation couldn’t be completed: ImagePipeline.Error error 0 HOT 1
- Missing documentation for using LazyImage implementation inside Package HOT 2
- ImageRequest userInfo dictionary `Any` type for value allows unsupported types for imageIdKey HOT 2
- Any way to modify ImageRequest before it's executed? HOT 1
- Potential Memory Issue when using any processors such as Resize HOT 11
- Custom DataLoader without native URL cache HOT 1
- JPG not resizing, just black HOT 2
- Xcode warning: IO on main thread HOT 1
- Add dataTask that is similar to imageTask HOT 2
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 nuke.