generate functionTue, 28 Mar 2023
apache poi image
public byte[] getImage(String filePath) throws IOException { try(FileInputStream fileInputStream = new FileInputStream(filePath)){ byte[] bytes = IOUtils.toByteArray(fileInputStream); return bytes; } }
Java
Generate More