Skip to main content
Participant
April 21, 2009
Question

PiPl Documentation

  • April 21, 2009
  • 2 replies
  • 3550 views

I am starting development on a plugin for photoshop, however, I have not been able to get the sample plugins that come with the sdk to load in Photoshop. I've tried simpleformat and 3dformat. I've placed them in the format "Plugis\FileFormats\" folder.

I suspect that there may be a problem with the PiPL resource but I have found no documentation on it. Is there anything out there that explains the format for this resource?

Also, the sample projects have no custom build step for creating the PiPL resource, though they seem to "#include" the PiPL

I am running 32bit Windows XP and using Visual Studio 2005.

This topic has been closed for replies.

2 replies

Inspiring
October 5, 2010

If you are looking for actual RC source for PiPLs, I have dozens of examples on my site - for Format, Filter, etc.

e.g. http://telegraphics.com.au/svn/icoformat/trunk/PiPL.rc

http://telegraphics.com.au/svn/5_6_5/trunk/PiPL_555.rc

Participant
October 6, 2010

thnx for links!

i've found some some nice examples on telegraphics website

also i found easier for me to create platform dependable resource\pipl files but not like it shown in samples

(i will not go crossplatform \ at least for now)

i recon that i will write my own pipl resource file generation programm with simple GUI =)

Participant
October 7, 2010

it seems to me that it can be done more efficient using XML descriptions and so on... whatever...)

That would be slower, more error prone, larger, and you'd still need a place to put it that wouldn't get separated from the binary.....

XML isn't always a solution, sometimes it's just another problem.


we are going offtopic =)

if I have few megabytes dll it will not suffer from additional 1..10kb of xml embded into it

XML easier to check with templates (like validation or smth like that)

and XML and be generated during runtime\linked to dll the way user wants very easily so we do not need to store separated file

also some plugins installs themselvs into program files with all additional files and libraries and contains .8bf "front end" let me say just to launch main application, well.. "and then?" (c) one well known movie

the same thing applies to parameters, plugin may generate serialized version of all parameters required and give to photoshop just an XML string, while photoshop can apply with this plugin (for instance for batch processing or whatever...)

smth like that \ but anyway we have no other choice right now

Chris Cox
Legend
April 27, 2009

The PiPL format is documented in the SDK.

And something is wrong with your development environment - because the example plugins work when everyone else compiles them.

Participant
September 29, 2010

the same thing:

just starting developing plugins and it appears that actual generation of .pipl is hidden.

for instance: "invert" example contains "resource 'PiPL' ( 16000,..." section but later .rc trying to access .pipl (which one is already processed in way different format "16000  PiPL  DISCARDABLE
BEGIN
        1, /* First byte must always be 1 */
        0L, /* kCurrentPiPL Version */
") and so on

presumably it should use template from pipl.r

would you be so kind to give more details how to use this template

is there any managing application for pipl or corresponding resource file creation\management?

Chris Cox
Legend
October 1, 2010

See the example projects.

The .r (platform indepenent) file is compiled into a .rc (platform dependent) file.