mirror of
https://github.com/lifegpc/msg-tool.git
synced 2026-06-06 21:08:48 +08:00
Add support to compress psd files
This commit is contained in:
@@ -227,7 +227,9 @@ impl Script for DpngImage {
|
||||
self.img.header.image_height,
|
||||
ImageColorType::Rgba,
|
||||
8,
|
||||
)?;
|
||||
)?
|
||||
.compress(self.config.psd_compress)
|
||||
.zlib_compression_level(self.config.zlib_compression_level);
|
||||
let (idx, tile) = self
|
||||
.img
|
||||
.tiles
|
||||
|
||||
Reference in New Issue
Block a user