Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
python中是否有用于读取图像和获取RGB值的“绿色”库?
我想获取 jpeg 图像的像素,但我无权在每台机器上安装 PIL 模块,所以我想知道是否有其他方法可以做到这一点?
可以看看“imagemagick”。
和使用流(手册):
stream -map rgb -storage-type char image.jpg pixels.dat