How to get the first address of image RGB/16 bit in Hidden plug-in?????

P
Posted By
phatls
Jul 21, 2007
Views
315
Replies
1
Status
Closed
Hi everybody,
May you help me to solve following problems?
1. In function void HiddenPlugin::Write(void) in Hidden plug-in in line: bigError = sPSChannelProcs->ReadPixelsFromLevel(readChannelDesc->port , 0, &currentRect, &pixelMemoryDesc);
a. I base on pixelMemoryDesc parameter, i get the first of image address of each channel. This has problems:
– With image 8 bits, I get address ok. And i shows it by another program is wonderfull – With iamge 16 bits, I get address ok. But i change 16bits to 8bits than show, it has difference from source. I think this address is change when Photoshop shows. How i can get orginal address of image 16 bit.
2. For that problem, can give me example to get orginal address of image 16 bit.

MacBook Pro 16” Mockups 🔥

– in 4 materials (clay versions included)

– 12 scenes

– 48 MacBook Pro 16″ mockups

– 6000 x 4500 px

B
Bernie
Jul 21, 2007
You’d probably be better off asking this in the Photoshop scripting forum.

Most of us here just push pixels and know very little on programming…

How to Master Sharpening in Photoshop

Give your photos a professional finish with sharpening in Photoshop. Learn to enhance details, create contrast, and prepare your images for print, web, and social media.

Related Discussion Topics

Nice and short text about related topics in discussion sections