PF_GET_PIXEL_DATA8 cannot get x y posision pixel?

Community Beginner ,
May 25, 2022 May 25, 2022

Copy link to clipboard

Copied

I'm trying to get output's x y position pixel by using PF_GET_PIXEL_DATA8 in function used in iterate.

 

The second parameter is a hint? I don't understand much.

TOPICS
SDK

Views

25

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
May 25, 2022 May 25, 2022

Copy link to clipboard

Copied

LATEST

honest to god, i don't understand it either. it seems to fetch the base address of an effect world's image buffer.

you can achieve the same doing (assuming you know the4 world type, and cast the correct pixel type):
PF_Pixel *p = (PF_Pixel*)effectWorld->data;

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines