简体   繁体   English

从整数像素数组创建图像

[英]Creating image from integer pixel array

i have integer pixel array of an image with values like -1100791, -16777056 and so on.. tried with memoryimage source and toolkit method but the image obtained had colored dashes on black background. 我有图像的整数像素阵列,其值如-1100791,-16777056等。.使用memoryimage源和工具包方法尝试过,但获得的图像在黑色背景上有彩色虚线。 HOw to write an RGB image from pixel values. 如何从像素值写入RGB图像。

尝试使用WritableRaster

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM