Creative Cloud Developer Forums
30 FOLLOWERS
Community discussion and support for Creative Cloud plugin and integration development. The categories in this topic include Adobe XD, Photoshop, Creative Cloud libraries, plugin market, UXP developer tool and much more.
Creative Cloud Developer Forums
3m ago
Currently the only way to attach a file to a post request from within photoshop is by reading it into memory first, this however fails on files 4GB+ in size.
If the UXP fs api can be extended with a method to read in a file as a stream instead it will allow us to make the request with larger files, and removes the overhead of reading the file into memory first ..read more
Creative Cloud Developer Forums
3m ago
Hi everyone,
I’m working on a plugin for Adobe Photoshop (version 2023) using the UXP API and I’m facing an issue regarding uploading the currently active document as an image file to a remote server. My goal is to convert the active document into a PNG file and then perform an HTTP POST request to upload it.
Here’s what I’ve tried so far:
Convert the active document to PNG format: I managed to use the batchPlay operations to save the active document locally as a PNG file. However, I want to dynamically generate a temporary folder and file to avoid hardcoding paths and to ensure better compa ..read more
Creative Cloud Developer Forums
1h ago
did you place it in executeAsModal?
core.executeAsModal(async () => {
await app.activeDocument.layers.add();
}, {commandName: "lay ..read more
Creative Cloud Developer Forums
6h ago
Not sure if I understand correctly, but you should check this:
helpx.adobe.com Create or update your Adobe account
Learn how to create an Adobe account or change the email address associated with your account.
Also, I don’t think this is the correct forum for this kind of help ..read more
Creative Cloud Developer Forums
8h ago
I tried to create a simple react component for adding curves adjustment layer, but I didn’t succeed. Could you help me how to improve this code? Also I tried with a single normal layer, but still the same, I got this test log and I didn’t got any error during debugging.
import React from 'react';
import photoshop from 'photoshop';
const newLayer = () => {
const handleRunButtonClick = async () => {
console.log("test");
await photoshop.app.activeDocument.activeLayers.add()
}
return (
<>
<sp-button size="m" quiet variant="a ..read more
Creative Cloud Developer Forums
8h ago
I am faceing adobe account .need a account . anyone help me ..read more
Creative Cloud Developer Forums
12h ago
Not sure I have a “technical” answer for you, but in my IT experience its rare that windows actually changes the folders when you change username. Its usually still the old username in the folder itself. If this has been hard renamed and something is stuck, perhaps you can look at junctions. I look at them as an absolute last resort because I can imagine they can cause all kinds of problems in the form of extra disk operations but it might help to just temporarily enable one to see if it fixes it.
learn.microsoft.com
Junction - Sysinternals
Create Win2K NTFS junction points ..read more
Creative Cloud Developer Forums
23h ago
Lawrence_H:
but I was hoping incrementing argc would point it at the second parameter
You need to set argc (argument count) to the number of parameters. In your case 2. You can tell from the signature of uxp_addon_get_cb_info that it requires a pointer, hence you pass the address to argc (same as in the sample code).
Take a look at the function declaration in uxpAddonShared.h:
addon_status (*uxp_addon_get_cb_info)( addon_env env, addon_callback_info cbinfo, size_t* argc, addon_value* argv, addon_value* this_arg, void** data);
For the actual arguments argv it asks for a pointer to an args-ve ..read more
Creative Cloud Developer Forums
23h ago
Shameless self-promo : Validator for UXP - Visual Studio Marketplace ..read more
Creative Cloud Developer Forums
1d ago
For the documentation start from here: https://developer.adobe.com/indesign/uxp/
You’ll need the app “UXP Developer Tools” that is available in the Creative Cloud All Apps.
Searching this forum is very useful when things don’t work as you expect – uxp can be a little quirky.
Philip ..read more