I am in the process of creating a group of actions that I would like to have on a panel inside of Photoshop. Does anyone here do this kind of commission work? I am Expert certified in Photoshop CC but have no programming background and simply need to create a panel of actions that have already been created.
PS Actions on to a Extension/Panel
Panels and signing
I'm struggling to get my panel to work. it seems like i need to package it as a zxp however, zxp files no longer work and everyone has to install them manually. Is there a way to sign a panel without making a zxp?
Plugin installation registry key values by version
The docs mention
HKEY_LCOAL_MACHINE\SOFTWARE\Adobe\Photoshop\5.0\PlugIn-Path
However, Photoshop Elements uses
HKEY_LOCAL_MACHINE\SOFTWARE\Adobe\Photoshop Elements\4.0\PluginPath
What about CS2, CS1, and earlier versions? Is this documented somewhere?
how to use Selection.select()
Today I wanted a minor script to create a selection. Should have gone easily via:
app.activeDocument.selection.select(...)
The Photoshop CS4 JavaScript Ref.pdf says the "select" method of the Selection Object has only one required paramter:
select(region[, type][, feather][, antiAlias])
So, this region is described as [quote]array of number[quote], with the aditional description:
[quote]Selects the specified region.
The region parameter is an
array of four coordinates,
[left, top, right, bottom].[/quote]
It took me two hours to figure out that "region" actually needs...
... an array of arrays!
Not even for of them. Not even defining something like " left, top, right, bottom ". Actually, it works like:
var A= Array(2, 2);
var B = Array(10,1);
var C = Array(2, 10);
var D = Array(10, 10);
var E = Array(14, 14);
var myRegion = Array(A, B, C, D, E);
app.activeDocument.selection.select(myRegion);
I feel like a fool when I have to justify why it took me two hours for what should have taken 2 minutes. I do a lot of scripting in Maya, and I love it. But when I script for Adobe Products, things like that happen far to often.
(Interestingly enough, the documentation claims that Document.selection is read-only. So how did I just change it?)
Zip compression standard?
Does anyone know what zip compression standard the PSD/PSB format use? I can decompress, flip the endianness and unpredict the image data, and I can predict, flip the endianess, but cannot compress it using Zlib. That is, the result I can is different to what I get from the PSD.
What i'm expecting is this:
72,137,250,255,159,97,68,131,255,163,254,31,209,96,212,255,3,237,130,129,5,163,254,31,104, 23,12,44,24,233,254,7,8,48,0,188,49,15,241
And the result I get is this:
72,137,251,255,159,97,68,131,255,163,254,31,209,96,212,255,3,237,130,129,5,163,254,31,104, 23,12,44,24,233,254,7,0
The first 2 bytes are the header, and the first value (250/251) is different, plus theres the extra data at the end that i'm missing. Anyone know what i've missed?
Extension development for Photoshop CC2015 (Mac). Debug mode?
I'm new to developing Photoshop plug-ins and am having difficultly getting my test plug-in to show up in Photoshop. I keep getting the error "The <name> extension could not be loaded because it was not properly signed." Now I understand you are supposed to put your machine in debug mode so you can skip the signature check (I've added <key>PlayerDebugMode</key><string>1</string> to /Library/Preferences/com.adobe.CSXS.5.plist) but I still get the error. What am I missing?
Photoshop CC stürzt ab beim drucken
Ich habe einen neuen Drucker installiert ( Epson WF7620 ) leider stürzt Photoshop sietdem immer ab wenn ich etwas drucken möchte .... auch wenn der alter drucker angeschlossen ist.
Eine neusinstallieren hat leider nicht geholfen.
Hat jemand einen Tipp?
Installing Medhi Kaleidoscope into Photoshop CS5.1
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.
Photoshop CC 2018 SDK?
Hello,
Since InDesign and Illustrator CC 2018 SDK's are already there, where is the Photoshop SDK?
Regards
lasso tool crashes photoshop
This latest version of photoshop keeps crashing on me whenever I use lasso tool. I literally lost what I was working on for an hour. Photoshop recovered another file instead of the one I was working on. I Think the crash comes from using the new flip view command as I use it alot, and I notice bugs when using lasso tool with this feature. It usually freezes photoshop for a minute then it works again. But now its just straight crashes photoshop.
This doesnt happen at work on my mac, on the mac it just freezes on my windows 10 pc, it crashes.
I hope you all can fix this , tired of living in fear of a crash and losing work whenever I use lasso tool and flip canvas alot..
read tiff file and identify it's compression type using c++ (photoshop SDK)
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
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?
What is the Kevlar API?
How to prohibit Photoshop broadcast notification events
Any help is much appreciated.
Read clipping paths having low tolerance value.
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
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
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:
And when I run the application after breaking all these exceptions:
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?
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!
Photoshop, illustrator sdk being discontinued?
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
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.