How can I export Text Layer as PNG?
I'm extending the Outbound sample to have each layer exported as a PNG file. I got it done for RGB layers, but it does not work for Text Layers. For text layers I got the rectangle where the text...
View ArticleBUG in getting layer's bounds
Hi all! This code contains weird bug: // // GET LAYER BOUNDS // error = PIUGetInfoByIndex(LayerCounter,classLayer,0,&descLayer,NULL); if (error) goto returnAutoError; error =...
View ArticleFilling color in an image pixel by pixel in Photoshop
Hi, How can I fill different color pixel by pixel in n image in Photoshop? Thanks in advance.
View ArticleMac SDK example plugins - none compile (Missing Base SDK)
Hi All I'm a Windows developer, and it's been a long time since I've developed our plugin for the Mac (10 years ago using powerpc, codewarrior etc), so my Mac skills are rusty. I thought I'd start with...
View ArticlePlugin working fine on CS6 but giving issues in CC 2014..
Hi I have developed an automation plugin and it is working fine till CS6. For CC 2014, it works fine on my machine but on other machines it gives errors like "Cannot flatten, or cannot rotate".. Can...
View Articlepsd and psb File Format Specifications
Besides these 2 documentsa) Photoshop CS File Formats Specification October 2003b) Adobe Photoshop 6.0 File Formats Specification Version 6.0 Release 2.0 November 2000 Are there any other documents...
View ArticleExport layers to JPG file
Hi, I wants to export only a single layer as JPEG file in Automation plugin. I have gone through the the implementation in which every layers in the current document is exported as files. But i wants...
View ArticleDebugging Photoshop CS5 plugin
I have JSX code that is called from a Photoshop plugin panel but I am having trouble debugging it. When I launch the the ExtendScript CS5 toolkit, set breakpoints and run the script, I get 'Result:...
View ArticleDo the plugins with file type .8bf work in Photoshop CS5 under Mac OS (any...
I saw an article saying so:http://www.fileinfo.com/extension/8bf but when I placed one in my plugins folder and restarted PS, it does not show up.
View ArticleWhy there is no release configuration on Windows for Listener plugin?
Hi All, I'm using Listener plugin from CS5 SDK. There is only Debug configuration on Windows example project. I created a Release configuration but i get linker errors if Code generation...
View ArticleCall Photoshop Action from other APP?
Hi Everyone, Anybody has any experience to run any Photoshop action using a binary .EXE file? For example, I want to let Photoshop execute a filter action from my own application?I know that DROPLET...
View ArticleDoes photoshop cs5 sdk support file names with unicode characters?
Hi, For the export module, does the windows sdk have support for filenames with unicode characters?The ExportRecord struct in PIExport.h has an attribute filename declared as char array.So I have a...
View ArticleHow can we get the font names of each text layer in a document?
Hi All! I wanted to know how we can get the names of fonts applied in each text layer in a psd file. I tried the following, int32 numLayers = 0; // calculate number of text layers.error =...
View ArticleHow to get x and y coordinates in the info pane through PS API
Hi all, I'd like to get the x,y coordinates of cursor pointer while mouse moving, just like the info pane do. Can anyone tell me how to achieve this?
View ArticleGetting path to current document. Automation plugin
How to get path for current document? (C++ plugin) I've used listener and getter - but I cannot see that information there. I understand that there should be something in reverse of:...
View ArticleHow do you read a string larger than 255 characters to as a scripting parameter?
Is there any way to do this? PIGetString uses a Str255, which has a 255 character limit. I have tried PIGetAlias and PIGetText from within the plug-in, but both failed. I primarily used putString...
View ArticleWhy photoshop SDK sample code don‘t work in my Mac-OS10.7?
I used the photoshop SDK CS5. And complied the sample code hidden in the filter folder with my x-code. And I get the target file 'Hidden.plugin' . But it seems no use, when I puts it to the photoshop...
View ArticleHow to read&write pixel values of a document for an Automation plugin?
Morning everyone, I am developing an automation plugin to process several images at a time. A key step to implement this plugin is to read all pixels of these images. I know for Filter plugin we can...
View ArticleWhich layer is the target layer?
How can I determine which layer among those in the ->layersDescriptor structures corresponds to the target layer? In photoshop cc x64 pc -- all the read channel numbers seem to be unique-- all...
View ArticleWhat is the preferred way to handle ASUnicode data?
The ASUnicode typedef is incompatible with wchar_t but seems to be compatible as far as I can tell. I'm only currently dealing with ASCII-compatible characters but certainly don't want to cause any...
View Article