Problems with format plugin importing plugInModeGray32 imageMode?


hi folks,

 

i've got format plugin i've got working fine using pluginmodegray16 import, optionally have more precision. if try

 

formatrecord->imagemode = pluginmodegray32;
formatrecord->depth = 32;

 

it throws up, if don't set buffers. using pluginmodegray16 , not setting buffers gets me empty, sized image. there limitation doing import 32 bit files?

 

i saw reference on thread few years couldn't use pluginmodergb96 , falling pluginmodergb48 32 bit content seems there's can trip on there, nothing in thread suggested solution.

 

thanks,

eric

so did more digging , found problem in case others hit this. through pluginmodegray16 what's expected, photoshop doesn't pluginmodegray32 , wants use pluginmodegrayscale;

 

formatrecord->imagemode = pluginmodegrayscale;

formatrecord->depth = 32;

 

i haven't tried it, suspect other dev having problems pluginmodergb96 might same issue. use rgb , set 32 bit/channel in depth.

 

regards,

eric



More discussions in Photoshop Plugin and Companion App SDK


adobe

Comments

Popular posts from this blog

after effects warning: unable to create drawing surface

Maximum number of authorizations reached!