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

Automation from a filter plugin

$
0
0

The background:

I've been coding in C++ for 15 years and C for about 12 before that, so I'm pretty well versed in the tools required for writing plugins.

My experience in writing plugins for Photoshop though is pretty close to zero at the moment having only recently downloaded the SDK and poking around in the examples.

My experience in using Photoshop is also at beginner level.

 

The question:

I am working with my stepdaughter (who is a newborn & toddler photographer) in creating plugins specifically tailored for other photographers, both amateur and professional, in the same line of work.

She has already successfully sold sets of actions, but would like move up to developing a range of plugins. As I'm the software engineer in the family it's down to me to see if her idea is a runner or not.

One of the requirements is that some of the filters must contain a certain amount of automation, such as creating a new layer, turning it into a mask etc.

 

My research so far has lead me to believe that filters are only filters and automation plugins only automate and they live in their own separate menus.

Is this true?

Can filter plugins control Photoshop in some way like a script or automation plugin, or is it denied this type of access?

 

Cheers for any enlightenment.


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.

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++?

Listener plugin doesn't export tool coordinates

$
0
0

Hello,

 

I am writing a plugin for Photoshop. I want to record the usage of the Clone Stamp tool and replicate that usage on a different document.

The Listener plugin shows events for when the tool is used, but the descriptors don't contain any coordinates. Where was the tool used? What was the path, if it was a dragging motion?

The effect I am looking for can be achieved by recording actions with "Allow tool recording" enabled. I want to achieve the same effect with my plugin. The plugin also does a lot of extra stuff, so just using the record actions feature is not enough for what our customer needs.

 

My question is: can I replicate tool usage with a C++ plugin, similar to recording/playing actions?

 

Thank you,

Vali

What is the Kevlar API?

How to prohibit Photoshop broadcast notification events

$
0
0
How to prohibit Photoshop broadcast notification events so as to avoid listening for plug-in action events through “sPSActionControl->AddNotify”?

 

Any help is much appreciated.

Read clipping paths having low tolerance value.

$
0
0

Hi ,

 

We are reading the clipping path stored in image using a third party library.For reading paths we are refereeing  to Adobe Photoshop File Formats Specification

we are not able to read the path properly if the paths were  created  using low tolerance value (0.5 to 0.7)

During conversion of selection in work path, PS asks for a tolerance value which can vary from 0.5 to 10.0 pixels. So if we choose any value less than 0.8 pixels, we are not able to read the complete path in our application.For any value of tolerance between 0.8 to 10.0 (both inclusive), we are able to reader the path properly.

 

code snippet -

 

byte[] readPath( tree)

        {

            Byte[] pathData = null;

            try

            {

                bool nextArrayIsPathData = false;

 

 

                for (int i = 0; i < tree.Children.Count; i++)

                {

                    // If the child is a leaf (where the data lives), then we parse the data.

                    if (tree.Children[i] is Leaf)

                    {

                        Leaf leaf = (Leaf)tree.Children[i];

 

 

                        // If the data is an array get the serialized data, otherwise just get the data.

                        if (leaf.Data.GetType().IsArray)

                        {

                            if (nextArrayIsPathData == true)

                            {

                                return (Byte[])leaf.Data;

                            }

                        }

                        else

                        {

                            //When Paths data is found leaf tag is 1008, however according to Adobe's spec. for path name leaf tag should be 2999

                            //See adobe.com/devnet-apps/photoshop/fileformatashtml/#50577409_17587

                      

                            if ((leaf.Tag == 1008) || (leaf.Tag == 2999))

                            {

                                nextArrayIsPathData = true;

                            }

                        }

                    }

                    // If the child is a tree (which holds more trees and/or leaves), then recursively call the function.

                    else if (tree.Children[i] is Tree)

                    {

                        Tree tree2 = tree.Children[i];

                        if (pathData == null)

                        {

                            pathData = readPath(tree2);

                        }

                    }

                }

            }

            catch (Exception ex)

            {

            

                throw ex;

            }

            return pathData;

        }

 

 

Can you please let us know why we are facing the issue in case of low tolerance value? and is there any workaround for this issue?

 

Thank you in advance.

 

Regards,

Mithun

CMYK add-ons

$
0
0

The internal PS separation leaves something to be desired.  UltraSeps at $500 and the need to click through to two different pages to find that out leaves a lot to be desired.

 

I've been making CMYK silk screen tee shirts and would like something that does the separation better.  For example, a black background comes out on all four colors.  A yellow set of letters does as well.

 

What are others using?

 

TIA.


Keep getting exceptions when trying to run my plugin from a year ago

$
0
0

Hey guys, I'm back, I need to update a Filter and Hidden Plugin I made August of last year to handle our updated application.

 

Everything worked fine the last time I tried building it but now I keep getting exceptions even when drawing in the document:

 

Screenshot_215.png

Screenshot_217.png

 

And when I run the application after breaking all these exceptions:

 

Screenshot_216.png

 

Now normally I would contribute this to a library dependency but really I was able to run and build a month ago, so I'm asking (shot in the dark) anyone have any ideas where I should start looking?

Saving out hundreds of images plugin?

$
0
0

Hello!

 

Maybe y'all can help me figure this out.

 

In one PSD file, I have layered images of a few stanchion products. Each "model" has a different finish, each base has a different finish, and there is several different belts. (see image for reference)

 

Since the post and the base finish has to be the same, that frees up some processing I guess.

 

I am wondering if there is a script or a plugin or some kind of way to automate the process of saving out each product we have - without having to do it manually by turning on the layer we want, save as PNG. Since we have thousands of combinations of products.

 

I figure maybe theres a plugin that calls upon any layers named a certain way, like if I name them in a syntax that the plugin or script would understand?

 

Like this:

 

B-SLP-YA_P-300-YA_CAS-G4_BLT-RD_B-END-G4

<base>        <post>   <cassette><belt>      <belt end>       

 

Lets say I name the layers like that, and theres a plugin that I type in that string and it saves?

 

Thank you very much!

stanchion_PSD.JPG

Photoshop, illustrator sdk being discontinued?

$
0
0

I have been learning C++ and was starting to consider writing plugins for Photoshop and Illustrator but I just read something about the SDKs being discontinued.

 

Is is it going to be no longer possible to write plugins soon?

Custom over the brush icon

$
0
0

Chan i manually replace brush icon? The standards option of photoshop has no "dot" icon. Do you what file in svg maybe, i can modify to have a dot icon for brush? Thanks a lot guys.

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 !

photoshop communications error: {"error":"Photoshop communication error: 2"

$
0
0
[info:core 08:19:53.410 D:\GITHUB\generator-core-zh\lib\generator.js:91:22] Launching with config:
{}
[error:core 08:19:53.430 D:\GITHUB\generator-core-zh\lib\photoshop.js:442:26] Communication error: 2
[warning:core 08:19:53.431 D:\GITHUB\generator-core-zh\lib\generator.js:119:30] photoshop communications error: {"error":"Photoshop communication error: 2"}
[error:core 08:19:53.434 D:\GITHUB\generator-core-zh\lib\photoshop.js:442:26] Communication error: 2
[warning:core 08:19:53.436 D:\GITHUB\generator-core-zh\lib\generator.js:119:30] photoshop communications error: {"error":"Photoshop communication error: 2"}
[info:core 08:19:53.439 D:\GITHUB\generator-core-zh\lib\generator.js:105:30] Photoshop connection closed
[error:app 08:19:54.451 D:\GITHUB\generator-core-zh\app.js:92:17] Exiting with code 0: Generator close event

 

photoshop version CC 2015

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


Is a custom selection plugin based on user paintbrush input possible?

$
0
0

Hi! I'm a beginner to writing Photoshop plugins and have a quick question to see if what I want to create is even possible.

 

I want to be able to create my own selection technique that colors pixels based on a users paintbrush input. (The painted pixels would then be used to draw the segmentation.) Can a Photoshop plugin react to an event such as the user drawing on an image? I've done some digging in the SDK and it sounds like this type of plugin falls somewhere in between Selection and Automation, though I'm not quite sure how to proceed.

 

Does anyone 1) know if this is possible and 2) would be able to point me in the right direction if it is? Thank you so much.

 

(I'm running Mac Mojave.)

Plug-In Developer Needed

$
0
0

Our product, Adsonica, uses a patented process to combine an image and audio into a single file that can be served as a sound ad. We currently have a standalone builder application that combines the files and exports the special file format. Our photoshop users have asked if we can create an export plug-in that enables them to go right from their photoshop workflow. We are looking for a freelancer who is interested in building the plug-in for us.

How to retrieve the "UI Scaling" value from the interface preference?

$
0
0

I am attempting to scale the UI of our plugins to match the UI Scaling value in the Photoshop interface preferences but I am unable to determine what values I need to read from. I have attempted to run the Getter plugin to determine this value but I have not found a difference in values between 100% scaling and 200% scaling. Do I need to read this value from a preference file somewhere?

Accessing Display Bounds Programmatically

$
0
0

Is there a way to access the "Display Bounds' (as shown in System Info) through the SDK?

 

I'm trying to detect the situation where scaling is on in Windows (older OSs) and scaling is being done in PS.  The display bounds become too small to use displayPixels through Photoshop without tiling.  I want to detect that situation.

 

I need exactly what is being shown in System Info but how do I get to that information?

 

Thanks

OEM CD's, legal?

$
0
0
I have come across various websites offering OEM Photoshop disks for ridiculous prices. I strive to stay legal in my software purchases and not buy grey-market or bootleg anything. The sites selling this software say it is legal as they have the license from the OEM. I'm confident the CD's are real though not sure of the act of reselling.

I can't find anything on Adobe's site - are these CD's legal for resale without the original hardware bundle?
Viewing all 54282 articles
Browse latest View live


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