adobe-photoshop / generator-core

Core Node.js library for Adobe Photoshop CC's Generator extensibility layer
MIT License
692 stars 97 forks source link

Cannot save a pixmap to png using Flite. #394

Closed pixels4nickels closed 7 years ago

pixels4nickels commented 7 years ago

When using these options for writing pixmaps, I get stdErr:"No format specified" in the Convert.js line 260 where the convert process close handler is

var pngSettings = { format: 'PNG32' , ppi: self.document.resolution , useFlite: true , getICCProfileData:true };

My previous png setting still work fine and I get images written to disk: var pngSettings = { format: 'PNG32' , ppi: self.document.resolution , padding: padding };

My getPixmap setting are: var getPixmapSettings = { clipToDocumentBounds: true, useICCProfile: this.document.profile, getICCProfileData: true }

pixels4nickels commented 7 years ago

Using caps "PNG32" is no longer effective if using Flite. Changing my settings to format:"png" caused pixmaps to start saving, along with the proper icc profile.