This project has moved and is read-only. For the latest updates, please go here.


Aug 14, 2015 at 8:02 AM
Edited Aug 14, 2015 at 8:04 AM
suppose i want to extract first layer/image from PSD and TIF file and convert into image ,then what would be the read process of Does it read whole file?
Aug 14, 2015 at 11:58 AM
Edited Aug 14, 2015 at 11:58 AM
Only the first layer from the PSD / TIF file will be read when you create a MagickImage. The whole file will be read if you create a MagickImageCollection.
// Only the first frame
using (MagickImage image = new MagickImage("YourFile.psd"))

// All the frames
using (MagickImageCollection images = new MagickImageCollection("YourFile.psd"))