2
我怎麼可以在這張圖片上寫一些文字,我會添加一些信息。我怎麼可以添加一些文字到這些圖片android
YuvImage image = new YuvImage(data, ImageFormat.NV21, maxwidth, maxheight, null);
Rect rectangle = new Rect();
rectangle.bottom = maxheight;
rectangle.top = 0;
rectangle.left = 0;
rectangle.right = maxwidth;
ByteArrayOutputStream output = new ByteArrayOutputStream();
image.compressToJpeg(rectangle, 95, output);
完美的作品非常好。我需要畫一些文字。 – user2387843