mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-08-18 20:38:02 +08:00
change code
This commit is contained in:
@@ -98,7 +98,8 @@ public class ImgUtilTest {
|
||||
@Test
|
||||
@Ignore
|
||||
public void writeTest() {
|
||||
ImgUtil.write(ImgUtil.read("e:/test2.png"), FileUtil.file("e:/test2Write.jpg"));
|
||||
final byte[] bytes = ImgUtil.toBytes(ImgUtil.read("d:/test/logo_484.png"), "png");
|
||||
FileUtil.writeBytes(bytes, "d:/test/result.png");
|
||||
}
|
||||
|
||||
@Test
|
||||
|
Reference in New Issue
Block a user