Hi team,
I want to add new Layer base on Image ( file image attached ) as code below
Stream stream = new FileStream(path, FileMode.Open);
var newLayer = new Layer(stream);
var newLayer = new Layer(stream);
newLayer.Left = layer.Left;
newLayer.Right = layer.Right;
newLayer.Bottom = layer.Bottom;
newLayer.Top = layer.Top;
newLayer.DisplayName = custom.Value;
**newLayer.Resize(550, 73, ResizeType.None);**
But new Layer can’t show full image in Psd so I use the method : Resize(with, height) with purpose scale the layer to show full image but the code throw exception as image attached. Please help me to check it.
Uploading: Resize.jpg…
testimg.png (1.6 KB)
Thanks,
Duy