mirror of
https://github.com/LamGC/ContentGrabbingJi.git
synced 2025-04-30 06:37:36 +00:00
[Change] Main, PixivUgoiraBuilder 调整日志输出;
This commit is contained in:
parent
b720f657d0
commit
7468777b1d
@ -98,7 +98,7 @@ public class Main {
|
||||
ois.close();
|
||||
log.info("已载入CookieStore");
|
||||
|
||||
log.debug(Arrays.toString(args));
|
||||
log.debug("传入参数: {}", Arrays.toString(args));
|
||||
|
||||
ArgumentsRunner.run(Main.class, args);
|
||||
}
|
||||
|
@ -133,7 +133,9 @@ public final class PixivUgoiraBuilder {
|
||||
int[] rgb = new int[image.getHeight() * image.getWidth()];
|
||||
log.debug("FrameName: {}, Height: {}, Width: {}, cacheSize: {}", frameFileName, image.getHeight(), image.getWidth(), rgb.length);
|
||||
image.getRGB(0, 0, image.getWidth(), image.getHeight(), rgb, 0, image.getWidth());
|
||||
log.trace("帧解析完成, 正在插入...");
|
||||
encoder.addImage(Image.fromRgb(rgb, image.getWidth()), new ImageOptions().setDelay(frameInfo.get("delay").getAsLong(), TimeUnit.MILLISECONDS));
|
||||
log.debug("帧 {} 插入完成.", frameFileName);
|
||||
} catch (IOException e) {
|
||||
log.error("解析帧图片数据时发生异常", e);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user