Comments (2)
You can reuse the same buffer as long as the output pixel size is same as input pixel size. So RGBA_FLT to LABA_FLT is ok, but CMYK_FLT to LAB_FLT is not.
The reason is the engine keeps two pointers, one for input and other output. If the output pixel size is less then the input pixel size, input will be overwritten when applying color transform.
from little-cms.
You can reuse the same buffer as long as the output pixel size is same as input pixel size.
Awesome!
Thank you for clarifying this. :)
from little-cms.
Related Issues (20)
- A crash found in cmsGetPostScriptCRD by fuzzing. HOT 1
- An heap overflow found in cmsStageAllocMatrix by fuzzing. HOT 1
- A potential off-by-one overflow in cmsIT8SaveToMem HOT 1
- Pack/Unroll for the common formats are not implemented HOT 5
- `meson test` doesn't run test suite like `make check` did in autotools build HOT 3
- CI: Set minimal permissions to your GitHub Workflows HOT 6
- 2.15: build fails because missing `sqrt()` detection HOT 4
- [IT8] Out-of-bound array access on WriteDataFormat HOT 3
- [IT8] Out-of-bound array access in CookPointers HOT 1
- Fast float plugin clamps values to [0,1] HOT 1
- Vector and matrix documentation fixes, and about curves HOT 17
- Support for Oklab/Oklch? HOT 18
- 2.15: failure to build fastfloat plugin on mingw64 HOT 2
- Create Security Policy
- threaded plugin feature request: adjust maximum threads after initialization HOT 4
- threading plugin feature request: allow to replace the threading backend HOT 2
- fast float: compiler warning about misleading indentation HOT 2
- Fast float plugin causes incorrect results in sRGB to XYZ transform
- Ship separate pkgconf files for plugins HOT 4
- Suggest Adoption of Scorecard GitHub Action HOT 7
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 little-cms.