-
Notifications
You must be signed in to change notification settings - Fork 172
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Q: cmsDoTransform(): using same buffer for in and out #93
Comments
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. |
Awesome! |
mm2/Little-CMS#93 Alternatively, i should have at least factored alloc out of all the loops, like in lens.c process()
mm2/Little-CMS#93 Alternatively, i should have at least factored alloc out of all the loops, like in lens.c process()
mm2/Little-CMS#93 Alternatively, i should have at least factored alloc out of all the loops, like in lens.c process()
mm2/Little-CMS#93 Alternatively, i should have at least factored alloc out of all the loops, like in lens.c process()
mm2/Little-CMS#93 Alternatively, i should have at least factored alloc out of all the loops, like in lens.c process()
mm2/Little-CMS#93 Alternatively, i should have at least factored alloc out of all the loops, like in lens.c process()
mm2/Little-CMS#93 Alternatively, i should have at least factored alloc out of all the loops, like in lens.c process()
mm2/Little-CMS#93 Alternatively, i should have at least factored alloc out of all the loops, like in lens.c process()
mm2/Little-CMS#93 Alternatively, i should have at least factored alloc out of all the loops, like in lens.c process(): no need fo
mm2/Little-CMS#93 Alternatively, i should have at least factored alloc out of all the loops, like in lens.c process(): no need fo
mm2/Little-CMS#93 Alternatively, i should have at least factored alloc out of all the loops, like in lens.c process(): no need fo
mm2/Little-CMS#93 Alternatively, i should have at least factored alloc out of all the loops, like in lens.c process(): no need fo
Hi.
Unfortunately LittleCMS2.7 tutorial.pdf is not verbose-enough.
I would like to get a clarification about:
In particular, that does mean that i can not use the same buffer to convert from
TYPE_RGBA_FLT
toTYPE_LabA_FLT
, but i can use the same buffer to convert fromTYPE_RGBA_FLT
toTYPE_RGBA_FLT
?The text was updated successfully, but these errors were encountered: