Join our global community of Photoshop developers.
Recently active
If I have an image and I want to remove specific things like freckles removed from them, is this possible via photoshop API?
Hi, By Using actionJSON services we need to create pencil sketch of the image and download from browser. Initiall we tried using presigned URL but this approach is tedious to build automated solution. every time we cannot create presigned URL manually to trigger the job. Hence in this regard can somebody suggest how to download the file ? @Trevor.Dennis can u help us in this regard Thanks vijay
Hi, I want to capture photoshop error events or any other other events in my own app. Can Someone help me with this? Do we have any APIs available for this? Please suggest some better approaches. Thanks.
I do the following in a plugin: Auto_Desc result(false); Auto_Ref reference; OnErrorReturn(sPSActionReference->PutEnumerated(reference.get(), classDocument, typeOrdinal, enumTarget)); OnErrorReturn(sPSActionControl->Get(&result, reference.get())); This works well since a long time. But we have one specific Wind-PC at a customer, where the "Get"-call takes up to 4min.It seems to me that the reason is a specific setting at that PC, but we have no idea what it could be.Any idea how to solve this problem? The settings of the PC:Intel i7Windows11, Version 2009OS-Language: Dutch, PS Version 25.2.0 This problem appears in PS 2024 and 2023, but not in older Versions
HelloI'm using Photoshop API Scripts and I want to turn on and off FX only on the layer, but I don't know what to do
Hi everyone, i have a strange behavior and hope someone could help. I created a photoshop plugin where menus are created. These menus are shown on any normal Mac. when i load the plugins on an Mac M2, the menu is not shown. I compiled the plugin as Universal binary to be able to run on both architectures. I use the C++ SDK. Created Plugins for Illustrator and InDesign work out of the box.
Bug issue: API with layer edit cannot work properly suddenly today to edit the type='textLayer', https://developer.adobe.com/photoshop/photoshop-api-docs/api/#tag/Photoshop/operation/documentOperationsError message like following: 'status': 'failed', 'created': '2023-12-05T08:29:28.412Z', 'modified': '2023-12-05T08:41:28.436Z', 'errors': {'code': 500, 'details': [{'name': 'Unknown Error', 'reason': 'Something went wrong, please try your request again. If you continue to experience issues please reach out to psdservices@adobe.com for support.'}], 'title': 'Internal Service Error', 'type': 'InternalServiceError'}}], Expected: it can be fixed as soon as possible, as we are paid user to use this service for our production environment.
Can any let me know how to read a tiff file and identify it's compression mode (LZW, JPEG, etc..) using photoshop sdk c++?
I found a buffer overrun risk in C++ SDK (PIutilities.cpp) code, but can I report it here?at years before there is a forum to discuss the C++ SDK. but several years later now I can not find it. I donot know if it is appropriate to discuss it here. Can anyone have any suggestions?
HI,Photoshop layers are stored in tag or field 37724, identified as TIFFTAG_IMAGESOURCEDATA in the latest libtiff.The data blob shall be an array of uint8_t, and shall be headed by a magic signature that is one of the following null terminated ASCII strings:for standard Photoshop files, Adobe Photoshop Document Data Block.for Large Document Format (8BPB/PSB) files, Adobe Photoshop Document Data V0002 (the last five characters differ).After the magic signature, the remainder of the blob is comprised of a series of Additional Layer Information blocks:signature: 8BIM (4 bytes)block type (4 bytes)length of the block (4 bytes, variable, padded to a 4-byte offset)data of the block (length as above)The Technical Notes say that these are the available block types:Layr (layer block)LMsk (global mask info block)Patt (pattern definition block)Anno (annotations)Has anyone figured how to get the individual layer details using lib
I'm a programmer and would like to write a script that can load an ABR brushes file exported from photoshop, make some changes to it and write it to disk again. I need a PDF or similar that describes the file format of this file. I know these usedto be available, but can no longer locate any with a web search. Where could I find some technical documentation for the ABR file format?
With the new version 25.0 and 25.1, I am no longer able to access the reference for 'adobe photoshop 2024 type library to add to my VS solution. I am able to access it in 24.7.2. (Interop.Photoshop.dll). I have updated C++ updates for VS. Please let me know if any one else has been able to successful load the DLL and the steps. Thank you in advance.
SPErr PlayGetting History Info(/*your parameters go here*/void) { PIActionDescriptor result = NULL; DescriptorTypeID runtimeKeyID; DescriptorTypeID runtimeTypeID; DescriptorTypeID runtimeObjID; DescriptorTypeID runtimeEnumID; DescriptorTypeID runtimeClassID; DescriptorTypeID runtimePropID; DescriptorTypeID runtimeUnitID; SPErr error = kSPNoError; // Move this to the top of the routine! PIActionDescriptor desc0000000000000e48 = NULL; error = sPSActionDescriptor->Make(&desc0000000000000e48); if (error) goto returnError; // Unicode String as UTF8: Open error = sPSActionDescriptor->PutString(desc0000000000000e48, keyName, "Open"); if (error) goto returnError; error = sPSActionDescriptor->PutInteger(desc0000000000000e48, keyItemIndex, 2); if (error) goto returnError; error = sPSActionDescriptor->PutInteger(desc0000000000000e48, keyCount, 3); if (error) goto returnErr
HI,I want to identify if the layer has clipping mask alppiled in photoshop plugin sdk.I would really appreciate any thoughts/suggestions on the matter. Thanks all.
Trying to reset the value of app.activeDocument.info.title to nothing, but it won't overwrite//Works app.activeDocument.info.title = "TEST"; //Doesn't work app.activeDocument.info.title = ""Is there a way to achieve this with info.title or do I have to go through metadata directly?
Hi, Is there a way to both modify document (client.modifyDocument) and replace a smart object (client.replaceSmartObject) in one api call instead of two? Thanks
Hi All,I want to get the adjustment layer Kind value by using Photoshop SDK in C++.I have attached the screenshot which contains different adjustment layer Kind values.Please provide C++ code to get the adjustment layer kind values.Can anyone please help me with the above!
Hi All,I want to identify the linked layers by using Photoshop SDK in C++.Can anyone please help me with the above!
I am currently developing an external c++ command line app to parse a photoshop tif file .Using the file format (https://www.adobe.com/devnet-apps/photoshop/fileformatashtml/)37724tImageSourceData . Begins with the null-terminated string " Adobe Photoshop Document Data Block ", (**PSB** " Adobe Photoshop Document Data V0002 "), followed by data of various types. See Photoshop TIFF.pdf for a list .I want to get the all layer and layer set details along with the blend mode , opacity , visibility etc.Also need to save the layer and layer mask images data as png or in binary.It's important that I stick with c++ & that this be an external application, so the Plugin SDK isn't much help here. I would really appreciate any thoughts/suggestions on the matter. Thanks all.
Using the following characterStyles, only font size is working, can't change color, underline, etc.:const options = {layers: [{edit: {},name: "test",text: {content: "Testing 123",orientation: "horizontal",characterStyles: [{underline:true,fontSize: 75,fontCaps: "allCaps",color: {blue: 300,green: 100,red: 63}}]}},]}
Hi,I created an Action JSON file which I use with the Photoshop API and send to this endpoint.https://image.adobe.io/pie/psdService/actionJSONHowever this object does not do anything (doesn't work):{ _obj: "javaScriptOptionsClass", height: { _unit: "pixelsUnit", _value: 1440.0 }, limit: false, message: "Fit Image action settings", width: { _unit: "pixelsUnit", _value: 1080.0 }, },How can I fit an image with the action JSON to certain dimensions? Everything normal works, I have tested different other actions which work but not this one. Thanks in advance!
Hi. I want to replace a color layer and an image layer on a psdt file with the API, is this possible? First resources showed me https://developer.adobe.com/photoshop/photoshop-api-docs/code-sample/#executing-an-actionjson but i'm not sure that I can use this on psdt files too
I have created plugin for Photoshop and want to use LimeLM TurboActiviate for licensing.Does anyone have experience with it? I found this page at their site:https://wyday.com/limelm/help/using-turboactivate-with-electron-nodejs/ But can not make this to work so far.If somone is willing to share code (of course only for this part not whole plugin) or give some advice? I would greatly appreciate it. Thank you.
Hi,I've been attempting to utilize the Photoshop API to execute certain actions but have encountered an obstacle related to storing the output.My intention is to use Dropbox for storing my outputs. However, I am encountering challenges when trying to run the actions.I have experimented with Photoshop actions files and actionJson, but unfortunately, I've encountered the same issue with both methods.Here is my request array:2 [ "headers" => [ "Authorization" => "my_auth" "x-api-key" => "my_key" ] "json" => [ "inputs" => [ 0 => [ "storage" => "external" "href" => "https://this_is_my_image_file_and_it_is_reachable.jpg" ] ] "options" => [ "actionJSON" => // My actions ] "outputs" => [ 0 => [ "storage" => "external" "href" => "https://content.dropboxapi.com/apitul/1/my_dropbox_temp_link" "type" => "image/jpeg" "embedColorProfile" =>
I want to use text endpoint with "from" and "to" options, but there are no options.I know there are in "pie/psdService/documentOperations" endpoint, but this can't edit without original font if there aren't preset-font.Do you know somehow to use like "from" "to" in text edit endpoint?
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.