Copy link to clipboard
Copied
Is there an optimized way to perform this operation? For now, I am using IterateSuite16, and some methods from the Transformer example that convert a PF_Pixel to PF_Pixel16. But, I would love if there were a way more like the "copy_hq" function, which also handles scaling from one rect to another?
Thanks!
does PF_COPY not do that?
in any case, you can use IterateGeneric to go through each line instead of each pixel, which would give you MUCH better performance.
Copy link to clipboard
Copied
does PF_COPY not do that?
in any case, you can use IterateGeneric to go through each line instead of each pixel, which would give you MUCH better performance.
Copy link to clipboard
Copied
I haven't had a chance to try PF_COPY ( I feel like I must have tried that ), but thanks, I will use IterateGeneric if that doesn't work.
Copy link to clipboard
Copied
I got an error trying to PF_COPY different bitdepth worlds... PF_FILL can handle all bitdepths.