Reading PSD file format

后端 未结 11 1214
时光说笑
时光说笑 2020-12-04 11:13

I wonder if this is even possible. I have an application that adds a context menu when you right click a file. It all works fine but here is what I\'d like to do:

If

11条回答
  •  萌比男神i
    2020-12-04 11:54

    ImageMagick.NET - http://imagemagick.codeplex.com/ - is the later version of the link 0xA3 gave, with some slightly different syntax. (Note, this is untested):

    using ImageMagickNET;
    
    public void Test() {
            MagickNet.InitializeMagick();
            ImageMagickNET.Image img = new ImageMagickNET.Image("file.psd");
            img.Resize(new Geometry(100, 100, 0, 0, false, false);
            img.Write("newFile.png");
    }
    

提交回复
热议问题