Quantcast
Channel: Adobe Community : Popular Discussions - Photoshop Plugin and Companion App SDK
Viewing all 54282 articles
Browse latest View live

How to get animation frame ID?

$
0
0

Hello!

 

I'm trying to get identifiers of frames on the timeline panel (Frame animation mode).

 

I see, that they are stored inside Image Resource Section of PSD file.

Resource ID is 4000 (0x0fa0) which is supposed to be used by plug-ins.

 

But I can't figure out how to get them using javascript or OLE-automation. Is it possible?

 

And if not, is it possible to read them from C/C++ plug-in and send to javascript?


Photoshop CC 2018 SDK?

$
0
0

Hello,

 

Since InDesign and Illustrator CC 2018 SDK's are already there, where is the Photoshop SDK?

 

Regards

How to get Suppress File Open Options Dialogs checkbox state?

$
0
0

I need to check the state of the Suppress File Open Options Dialogs checbox in Batch dialog and use it in my plugin.

I was trying to find that in the sdk, but I was able to find only a definition of it in PIStringTerminology.h

#define ksuppressOpenOptionsStr "suppressOpenOptions"

 

Would you please provide some snippet code explaining how can I check that state?

iCCprofileData - any documentation on it ?

$
0
0
Question 1) I assume that filterRecord->displayPixels goes through any ICC profiles when displaying the image. Correct ?

Question 2) I would like to develop my own 'displayPixels' and therefore would need to handle any ICC profile data. I see that there is the filterRecord->iCCprofileData field but I don't see any documentation on what is contained within that field. Specifically, how do I generate the LUT's from the ICC information.

JXR Plubin for Photoshop CC

$
0
0

JXR plugin is not working in adobe photoshop creative cloud

How to get Spot Color (CMYK/LAB) data?

$
0
0

I figured out that for normal alpha channels, we can use ActionDescriptor to get either HSB/RGB or CMYK value of the channel color.

 

However, for Spot color it seems we can only get the color name and the book name. Is there anyway that we can call any Photoshop API to extract the CMYK value or LAB value or RGB value of a Spot color in a Photoshop color book?

The input information we have is the name of the spot color, and the name of the inkbook.

 

I read the "Color services Procs" & "ColorSpace Suite", there seems no clue where I can get the color information of a spot channel.

 

See follow dump from Getter.log:

############

          // Unicode String as UTF8: SpotRed1

          error = sPSActionDescriptor->PutString(desc0x8a8, keyName, "SpotRed1");

          if (error) goto returnError;

 

 

               // Move this to the top of the routine!

               PIActionDescriptor desc0x8b0 = NULL;

 

 

               error = sPSActionDescriptor->Make(&desc0x8b0);

               if (error) goto returnError;

 

 

               // Unicode String as UTF8: PANTONE¬Æ process coated

               error = sPSActionDescriptor->PutString(desc0x8b0, keyBook, "PANTONE® process coated");

               if (error) goto returnError;

 

 

               // Unicode String as UTF8: PANTONE DS 89-5 C

               error = sPSActionDescriptor->PutString(desc0x8b0, keyName, "PANTONE DS 89-5 C");

               if (error) goto returnError;

############

 

Thanks!

Psd Parse to get information about fonts used on layers via c#

$
0
0

Hi,

 

I have given a task to read psd file made from photoshop cs5 from c# programming language. I had read psd file by using file format specification up to layer listings.

But now I am stucked on reading fonts on that file. After googling, I had found psd parser which reads font information for photoshop 5.0 only. But my file is on photoshop 6.0.

 

Please suggest me how to read font list or font details used on layers via c#? Also in which key or location font information is stored on psd binary file?

 

Regards,

Biran

Photoshop SDK Hello World in 2016

$
0
0

Hello!

 

I'm in the process of figuring out the basics of creating Photoshop plugins using the SDK. Seems like most of the info and tutorials are somewhat dated and not so approachable. I have been able to build the Listener and Getter examples from the SDK using VS2015 and had Listener spitting out correct-seeming output. Now I would like to set up a Hello World project so that I understand the bare essentials required for a PS SDK Automation plugin. For my personal use I'm only interested in the Win version, but it seems easy enough to set things up so that Mac can be added later. I'm mostly a scripting guy with a tiny bit of C++ experience and I do not often set up Visual Studio projects. Here's what I've gathered so far:

 

Dir structure:

HelloWorldPlugin

HelloWorldPlugin\common

HelloWorldPlugin\win

(HelloWorldPlugin\mac)

 

Common files:

* PiPL (Plug-in Property List) describing what kind of plugin this is (e.g. HelloWorldPlugin\common\HelloWorldPluginPiPL.r). I stitched up a version that seems like it could work in todays world with 64-bit machines taken into account. It is a combo of code from Automation Tutorial.pdf from the SDK and some forum post somewhere. Here: HelloWorldPluginPiPL.r - Pastebin.com

* A source file with an entry point (duh :P). I'm working in C++ so this could be a function called PluginMain inside HelloWorldPlugin\common\HelloWorldPlugin.cpp. The function name is defined in the PiPL.

 

Windows/Visual Studio setup:

* Photoshop SDK includes in the VS Include Directories (e.g. $(PhotoshopSDK)\photoshopapi\photoshop;$(PhotoshopSDK)\samplecode\common\includes  [TODO: add rest of paths])

* Build PiPL info into the plugin (using Cnvtpipl.exe on Win), specifics unclear

* Output a DLL with .8li extension (VS Project Properties > Configuration Properties > General > Target Extension)

 

...aaaaand I think that's all I have for now. It's still unclear for me what are the bare essential contents of the main source file and PluginMain. If the only function of the plugin is to trigger an alert saying 'Hello World!', which \samplecode\common\includes\PI[SomethingSomething].h header files do I need to include if any? Which function do I use to actually trigger the alert!? On the Windows side, which resource files (e.g. resource.h, HelloWorldPlugin.rc) are absolutely essential and how to generate them? Have I missed something completely?

 

I'll keep on scanning the docs and the web for answers to my questions, but I wanted to write all this down just to clarify my thinking a bit and possibly attract tips from someone more knowledgeable.


Installing Medhi Kaleidoscope into Photoshop CS5.1

$
0
0

I have downloaded the .zip file from Medhi and extracted the kaleidoscope1-2.8bf. I have put this everyplace

I have read it should go but when I launch Photoshop, I can't see the plug-in. Running Windows 10 Pro, i5

processor, 8 GB ram.

I want to handle the error message box.

$
0
0

I am using the automation plugin.

If you open the wrong file, a message box is displayed. Can my plugin detect this point?

In this case, I want to automatically close the message box and proceed to the next step.

Or I want to proceed to the next task without opening the message box.

Is it possible?

 

 

read tiff file and identify it's compression type using c++ (photoshop SDK)

$
0
0

Can any let me know how to read a tiff file and identify it's compression mode (LZW, JPEG, etc..) using photoshop sdk c++?

How to start developing C++ Photoshop plugins ? Help, guides

$
0
0

Hello !
I am trying to develop C++ Photoshop plugins. I am reading SDK's documentation, but everything is so much outdated and all over the place.
Can anyone give us some tutorials / guides / help on how to start ?
Maybe we can create an guide sources post for everyone to use.

 

Thanks in advance !

SDK Examples won't work on macOS

$
0
0

Hello,

 

I tried to get the AutomationFilter plugin from the SDK running but I get the following error message when I click on "File-->Automate-->AutomationFilter...":
"Could not complete the AutomationFilter command because of a program error"

 

Under "~/Library/Preferences/Adobe Photoshop CC 2019 Settings/PSErrorLog.txt" I see the following:

/Users/esbuilder/Jenkins_Comm/PS/PS20/Mac_Release/20190605.r.83/photoshop/main/photoshop/i nterfaces/UTrackResouceImp.h : 152 : REQUIRE failed

 

I use the macOS Mojave (10.14.5) with Photoshop CC 2019

 

Any hints?

 

Thanks in advance

Regards

Read PSD from c++

$
0
0

Hi,

 

I want read PSD file from my standalone application in c++.

How can I do it? Is there some documentation?

 

Thanks

Rino

PSB PSD 8BIM 8B64

$
0
0

I noticed in CS4 that when saving same png file to PSB and PSD that

SDK File Format Spec CS4 indicates Signature: '8BIM'

But I see 8B64 in PSB file and 8BIM in PSD file.

1) Is this documented somewhere?

 

2) In PSD file after 3 different occurances of 8BIM I see

hex

41 63 44 73

52 6F 6C 6C

46 4D 73 6B

1) Are these values documented somewhere, other values are documented?


Can we assign a hotkey to a plugin through code?

$
0
0

Hello!

 

I am relatively new to Photoshop Plugin development. I have been learning as well as implementing whatever I learn. In this process, I succeeded in developing an Automation plugin for Photoshop CS 5. The plugin works quite well. Everything is perfect.

 

But, now I am in need of assigning a hotkey or a keyboard shortcut to my plugin. This can very well be done through Edit ->Keyboard Shortcuts

But that will limit that shortcut to my own system. If I want to include my plugin in another machine, then these shortcuts would have to be reassigned manually.

 

What I am looking for is, whether this shortcut assignment can be done through code or not.

 

Another option I came up with, was to include my own "Keyboard Shortcuts Primary" file  contained in the Application Data\Adobe\Adobe Photoshop CS5\Adobe Photoshop CS5 Setting  folder which contains all the keyboard shortcuts for Photoshop. But that will cause the user's file to be overwritten. So, that is not an ideal course to go for.

 

 

Please suggest something!

 

 

Cheers..! 

I'm the author of libpsd, and I'm looking for Photoshop CS3 specs.

$
0
0
Libpsd is the Photoshop file format decode library in C language with full source code. My name is Patrick. I spent half a year to implement libpsd. I finished most of the features under Photoshop CS specs. So, I'm looking for the up-to-date specs. Who can give it to me? My email is libpsd@graphest.com. Thanks.

Photoshop CS6 plugin c++ resources?

$
0
0

This has probably been asked a thousand times, but I can't seem to find a posting on it in the forums.

 

I am currently trying to write a CS6 plugin in C++ for windows but I can't seem to find updated tutorials or source that I can learn from, would anyone have any places I could check out or any source you could let me take a look at. the "Making a 64 bit Windows plug-in for Photoshop" found in the SDK tutorials are not much help,

 

Thanks!

[PSD Format] Image Data Section vs. Channel Image Data etc.

$
0
0
Hi -

Newbie here. Would someone be kind enough to clarify the following points of confusion:

1. On the difference between the Channel Image Data section(s) of a PSD file and its Image Data Section: my guess is that the former contains per layer raster info, wheras the latter holds raster data for the background (pane?).

2. All channel image data section(s) reside at the end of the layer and mask info section, after the adjustment layer info section. The spec (I'm working with the 6.0 doc), vaguely suggests that this is the case (see the description of length attribute of channel length info section).

Thanks,

- Olumide

How can I get Photoshop file format document?

$
0
0

I googled long time, but no results.

 

How can i get it?

Viewing all 54282 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>