• 2024-11-12图像转字符串
    图像转字符串publicstaticStringimageToString(StringfilePath){try(FileInputStreamimageInFile=newFileInputStream(filePath)){byte[]imageBytes=newbyte[(int)newFile(filePath).length()];imageInFile.read(imageBytes);String