GithubHelp home page GithubHelp logo

adobedocs / photoshop-api-docs Goto Github PK

View Code? Open in Web Editor NEW
103.0 58.0 20.0 9.08 MB

Adobe Photoshop API

Home Page: https://adobedocs.github.io/photoshop-api-docs/

License: MIT License

CSS 1.06% JavaScript 64.79% Pug 1.57% Shell 30.78% HTML 1.79%

photoshop-api-docs's Introduction

photoshop-api-docs's People

Contributors

alshamma avatar ben-jackson1 avatar cliu0507 avatar cliu101217 avatar johnleetran avatar khound avatar linhuadobe avatar macdonst avatar msabramo avatar noahhoffman avatar shayanc1985 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

photoshop-api-docs's Issues

Getting URL of rendition to download?

Expected Behaviour

Actual Behaviour

Reproduce Scenario (including but not limited to)

I would like to download a rendition created with the API, but it isn't clear how I would do that.
I would like to download a rendition of a layer with the API but it isn't clear how to do that either.

Steps to Reproduce

Platform and Version

Sample Code that illustrates the problem

Logs taken while reproducing problem

Scopes issue

Expected Behaviour

The Photo API needs an access token in the scope="system,openid,AdobeID,creative_sdk"

Actual Behaviour

Invalid scopes but I was able to generate an access token using just 'openid,AdobeID,creative_sdk'

Reproduce Scenario (including but not limited to)

using scopes=system,openid,AdobeID,creative_sdk

Steps to Reproduce

Platform and Version

Sample Code that illustrates the problem

Logs taken while reproducing problem

Action required: Greenkeeper could not be activated 🚨

🚨 You need to enable Continuous Integration on Greenkeeper branches of this repository. 🚨

To enable Greenkeeper, you need to make sure that a commit status is reported on all branches. This is required by Greenkeeper because it uses your CI build statuses to figure out when to notify you about breaking changes.

Since we didn’t receive a CI status on the greenkeeper/initial branch, it’s possible that you don’t have CI set up yet. We recommend using Travis CI, but Greenkeeper will work with every other CI service as well.

If you have already set up a CI for this repository, you might need to check how it’s configured. Make sure it is set to run on all new branches. If you don’t want it to run on absolutely every branch, you can whitelist branches starting with greenkeeper/.

Once you have installed and configured CI on this repository correctly, you’ll need to re-trigger Greenkeeper’s initial pull request. To do this, please click the 'fix repo' button on account.greenkeeper.io.

Supporting Arabic & Persian (Middle Eastern) Languages

Expected Behaviour

Supporting Persian Or Arabic texts

Actual Behaviour

unfortunately api doesn't support Middle Eastern languages

Reproduce Scenario (including but not limited to)

Steps to Reproduce

Platform and Version

Sample Code that illustrates the problem

Logs taken while reproducing problem

How to use content-aware fill within the API?

I am looking to use Photoshop's content-aware fill within the API. I assume this behavior would be under the "edit objects" part of the docs, but I am not sure the what's the proper syntax when trying to use that function. Does anyone know how to use this Photoshop function in the API?

/renditionCreate refers to size in API docs but width in example

Expected Behaviour

I expect the Request table properties to align with the example code.

Actual Behaviour

The Request table uses size while all the examples use width.

Reproduce Scenario (including but not limited to)

View the docs at: photoshop-api-docs/api_docs/index.html#api-Renditions-create_renditions

New Integration issue

Trying to create a new integration via https://console.adobe.io/integrations and when I select Photoshop as the Adobe Service I wish to integrate with both OAuth integration and Service Account integration options are disabled and so I cannot proceed to continue with the next step. What am I missing here?

Font size unit issue

Expected Behaviour

The documentation indicates that the default font size unit for text layers is in point: fontSize | float | in points. So, i'm expecting to retreive the value in points

Actual Behaviour

But, from what I see in my tests, the values returned are in pixels not in points.

Reproduce Scenario (including but not limited to)

Retreive any JSON manifest from the API and have a look at the layer text characterStyle fontSize

Is there a way to know the current unit? and/or to specify it when calling the API to get the manifest?

Replace smartobject content not working

Expected Behaviour

Replace content in smartobject after that i can see the resault on image uploaded to s3 presign url

Actual Behaviour

Cant see the result on presign url

Reproduce Scenario (including but not limited to)

Steps to Reproduce

step1:
request replace content:
curl --location --request POST 'https://image.adobe.io/pie/psdService/smartObject' \ --header 'Authorization: Bearer <REDACTED>' \ --header 'x-api-key: <REDACTED>' \ --header 'Content-Type: application/json' \ --data-raw '{ "inputs": [ { "href": "https://assets.boostflow.com/phub/16000522145f5edbf62342e.psd", "storage": "external" } ], "options": { "layers": [ { "name": "print", "input": { "href": "https://img.boostflowcdn.com/phub/[email protected]", "storage": "external" } } ] }, "outputs": [ { "storage": "external", "href": "https://s3.amazonaws.com/assets-dev.boostflow.com/phub/adobe/1615225486437418dbe9.psd?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAUAOPEXUFUULWPPYA%2F20210308%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210308T174446Z&X-Amz-Expires=2160000&X-Amz-SignedHeaders=content-encoding%3Bcontent-type%3Bhost%3Bx-amz-acl&X-Amz-Signature=bf22590591feb5632a596b6e4243c5b3ce016a148012a05372e2a465ce6eda90", "type": "vnd.adobe.photoshop" } ] }'

step2:
check status:
https://image.adobe.io/pie/psdService/status/9fcd6642-50e1-4eaf-aa32-6871eb5cbcc1

step3:
check result:
{ "jobId": "9fcd6642-50e1-4eaf-aa32-6871eb5cbcc1", "outputs": [ { "input": "https://assets.boostflow.com/phub/16000522145f5edbf62342e.psd", "status": "succeeded", "created": "2021-03-08T17:45:01.888Z", "modified": "2021-03-08T17:45:04.098Z", "_links": { "renditions": [ { "href": "https://s3.amazonaws.com/assets-dev.boostflow.com/phub/adobe/1615225486437418dbe9.psd?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAUAOPEXUFUULWPPYA%2F20210308%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210308T174446Z&X-Amz-Expires=2160000&X-Amz-SignedHeaders=content-encoding%3Bcontent-type%3Bhost%3Bx-amz-acl&X-Amz-Signature=bf22590591feb5632a596b6e4243c5b3ce016a148012a05372e2a465ce6eda90", "storage": "external", "type": "vnd.adobe.photoshop" } ] } } ], "_links": { "self": { "href": "https://image.adobe.io/pie/psdService/status/9fcd6642-50e1-4eaf-aa32-6871eb5cbcc1" } } }
step 4:
access to presign url:
https://s3.amazonaws.com/assets-dev.boostflow.com/phub/adobe/1615225486437418dbe9.psd?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAUAOPEXUFUULWPPYA%2F20210308%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210308T174446Z&X-Amz-Expires=2160000&X-Amz-SignedHeaders=content-encoding%3Bcontent-type%3Bhost%3Bx-amz-acl&X-Amz-Signature=bf22590591feb5632a596b6e4243c5b3ce016a148012a05372e2a465ce6eda90

but nothing uploaded to this url.

Platform and Version

  • photoshop api - beta
  • presign acl: bucket-owner-full-control or public-read-write
  • presign expire: 600h

Sample Code that illustrates the problem

Logs taken while reproducing problem

/documentManifest API throwing an error for PSD files larger than 100 MB.

I am getting the below error when trying the API with PSD files larger than 100 MB, but for smaller files, it is working perfectly.

{
"input": "files/xyz.psd",
"status": "failed",
"created": "2020-10-06T06:59:01.852Z",
"modified": "2020-10-06T06:59:11.854Z",
"errors": {
"code": 500,
"title": "PIE has thrown an exception",
"type": "InternalServiceError"
}
}

Is there any size limitation?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.