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.
我有一个图像的 Base64 编码字符串。我需要从中获取颜色信息。图像是单色的红色、绿色、橙色。
请在这方面帮助我
使用以下代码对其进行解码
BASE64Decoder decoder = new BASE64Decoder(); byte[] decodedBytes = decoder.decodeBuffer(encodedBytes);
用于decodeBytes分析像素数据
decodeBytes