我正在尝试使用http://imageresizing.net/将 PSD 图像批量调整为 jpg
PSD 图像未正确转换。
帮助
我添加了对 psdcomposer 和 freeImage 的引用并使用它。
ImageResizer.Configuration.Config c = new ImageResizer.Configuration.Config();
//PsdReader psReader = new PsdReader();
ImageResizer.Plugins.PsdComposer.PsdComposerPlugin composer = new ImageResizer.Plugins.PsdComposer.PsdComposerPlugin();
//ImageResizer.Plugins.Wic.InteropServices.ComTypes.ExifColorSpace.sRGB
//ImageResizer.Plugins.Wic.InteropServices.MemoryIStream wic = new ImageResizer.Plugins.Wic.InteropServices.MemoryIStream();
ImageResizer.Plugins.FreeImageDecoder.FreeImageDecoderPlugin freeImage = new ImageResizer.Plugins.FreeImageDecoder.FreeImageDecoderPlugin();
//psReader.Install(c);
composer.Install(c);
//freeImage.Install(c);
我正在传递以下参数:
scale=both&mode=max&ignoreicc=false&dpi=72&width=1280&height=1280
帮助