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

how to use Selection.select()

$
0
0

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


CS5 Panel Developer Sample is broken

$
0
0

Hi,

 

The PerLayerMetaData sample in the CS5 is broken.  The existing .SWF and .JSX work fine, however, if one tries to recompile the. MXML to get the "same" .SWF, the panel does not work properly.  Typing in some text in the "Description" text area then clicking the "Apply Changes" button breaks the panel. By that I mean the "Apply Changes" button gets stuck in the down position an the panel no longer updates in any way.

 

I believe its from an incorrect CSXSLibary-*.swc  file that is part of the panel dev sdk download.  In another discussion , it was suggested to use the CSXSLibary.swc from the Creative Suite  SDK, but that does not fix this particular problem.

 

I am compiling the sample with Flex Builder 3, under Windows.

 

Please please Adobe, give us a CSXSLibrary.swc for  Photoshop CS5 that works!    The sample works great in CS4.

MATLAB Support in Photoshop CC

$
0
0

Hello,

Using this page:

Downloadable content (plug-ins)

 

I was able to download Photoshop MATLAB Toolbox.

I used to work with it in Photoshop CS6 Extended.

 

Yet now, After upgrading to Photoshop CC it doesn't work anymore.

 

Is there a way to enable it in Photoshop CC?

 

Adobe, could you please update it to support Photoshop CC?

 

Thank You.

PSD Format - how to read compressed data from Image Data Section?

$
0
0
Has anybody tried to read ZIP-compressed data from the Image Data section in PSD file format? I tried to read data compressed with predication as well as without prediction, but had no success - the inflating function returns no error, but the image is corrupt. I used different versions of ZLib to decompress the data - none of them worked. If you have any experience in this area and are ready to help, it will be much appreciated!
Thank you in advance,
Anatoly

Photomerge algorithm

$
0
0
Hello,

I am trying to stitch together 16-bit grayscale images (1000x1000) that are taken under 40X microscope. I can photomerge 10X images without a problem, but I can't photomerge 40X images. Does anyone know what I need to optimize during image acquisition to enable the photomerge feature? I am wondering how the photomerge algorithm is written - based on contrast? Similar pixels? Please help! Thanks!

HELP FOR RUN PHOTOSHOP IN COMMAND PROMPT AND OPEN FILE

$
0
0
HELLO
i have problem for run photoshop in cmd(command prompt) and
open a file immediate
for example:
D:\Program Files\Adobe\Photoshop CS>Photoshop.exe -open -f:\1.jpg
but these not answer
I need parameter open in photoshop

please help me
thanks

How can I see the alpha channel in the channels palette?

$
0
0

Hello, mi format plugin loads a rgba image. I see it with transparency, that's ok, but when I go to the channels tab I only see 4 items (RGB, Red, Green and Blue).

 

How can I see the alpha channel of my file in the channel tab?

 

Thanks!

install dds plugins

$
0
0

I have been watching video's on youtube. I have downloaded the 64 bit version of NVIDIA dds here:http://developer.nvidia.com/nvidia-texture-tools-adobe-photoshop

 

It installed under programfiles on my C drive. I have a tiny C though, so all my programs and photoshop Cs5 is on my D drive. As you can see on the bottom of this list no plugins failed to load. I still can't save my files as dds. I got tiff to work, but I need dds since I'm not that into it. It's hard to follow tutorials when I use a different fileformat. Would appreciate some help on this.

 

I saved them under D: photoshopCS5/plugins/NVIDIA Corporation

 

They are 3 files and it's all pdf documents, is that right?

 

 

this is the long list I got under Help, system info.

 

Adobe Photoshop Version: 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch]) x64

Operating System: Windows 7 64-bit

Version: 6.1 Service Pack 1

System architecture: AMD CPU Family:15, Model:6, Stepping:2 with MMX, SSE Integer, SSE FP, SSE2, SSE3

Physical processor count: 2

Processor speed: 2913 MHz

Built-in memory: 3071 MB

Free memory: 1544 MB

Memory available to Photoshop: 2515 MB

Memory used by Photoshop: 60 %

Image tile size: 132K

Image cache levels: 4

OpenGL Drawing: Enabled.

OpenGL Drawing Mode: Normal

OpenGL Allow Normal Mode: True.

OpenGL Allow Advanced Mode: False.

OpenGL Crash File: Not Detected.

OpenGL Allow Old GPUs: Not Detected.

Video Card Vendor: ATI Technologies Inc.

Video Card Renderer: ATI Radeon HD 4200

Display: 1

Display Bounds:=  top: 0, left: 0, bottom: 864, right: 1152

Video Card Number: 1

Video Card: ATI Radeon HD 4200

Driver Version: 8.920.0.0

Driver Date: 20111109000000.000000-000

Video Card Driver: aticfx64.dll,aticfx64.dll,aticfx32,aticfx32,atiumd64.dll,atidxx64.dll ,atiumdag,atidxx32,atiumdva,atiumd6a.cap,atitmm64.dll

Video Mode: 1152 x 864 x 4294967296 colors

Video Card Caption: ATI Radeon HD 4200

Video Card Memory: 1024 MB

Serial number: 91198959712269811607

Application folder: D:\Photoshop CS5\Adobe Photoshop CS5 (64 Bit)\

Temporary file path: C:\Users\Siv\AppData\Local\Temp\

Photoshop scratch has async I/O enabled

Scratch volume(s):

  C:\, 100,0G, 11,3G free

Primary Plug-ins folder: D:\Photoshop CS5\Adobe Photoshop CS5 (64 Bit)\Plug-ins\

Additional Plug-ins folder: not set

 

 

Installed components:

   A3DLIBS.dll   A3DLIB Dynamic Link Library   9.2.0.112 

   ACE.dll   ACE 2010/10/04-23:36:11   64.441628   64.441628

   adbeape.dll   Adobe APE 2010/02/23-12:40:58   61.421986   61.421986

   AdobeLinguistic.dll   Adobe Linguisitc Library   5.0.0 

   AdobeOwl.dll   Adobe Owl 2010/06/03-13:43:23   3.0.93   61.433187

   AdobeOwlCanvas.dll   Adobe Owl Canvas   3.0.68   61.2954

   AdobePDFL.dll   PDFL 2010/12/13-23:37:10   64.341419   64.341419

   AdobePIP.dll   Adobe Product Improvement Program   5.0.0.2021 

   AdobeXMP.dll   Adobe XMP Core   5.0   61.134777

   AdobeXMPFiles.dll   Adobe XMP Files   5.0   61.134777

   AdobeXMPScript.dll   Adobe XMP Script   5.0   61.134777

   adobe_caps.dll   Adobe CAPS   3,0,116,0 

   adobe_OOBE_Launcher.dll   Adobe OOBE Launcher   1.0.0.64 (BuildVersion: 1.0; BuildDate: Mon Jan 26 2010 21:49:00)   1.000000

   AFlame.dll   AFlame 2010/02/23-17:27:33   61.421976   61.421976

   AFlamingo.dll   AFlamingo 2010/02/23-17:27:33   61.421978   61.421978

   AGM.dll   AGM 2010/10/04-23:36:11   64.441628   64.441628

   ahclient.dll    AdobeHelp Dynamic Link Library   1,5,0,30 

   aif_core.dll   AIF   2.0   53.422628

   aif_ogl.dll   AIF   2.0   53.422628

   amtlib.dll   AMTLib (64 Bit)   3.0.0.64 (BuildVersion: 3.0; BuildDate:  Mon Jan 26 2010 21:49:00)   1.000000

   amtservices.dll   AMTServices (64 Bit)   3.0.0.64 (BuildVersion: 3.0; BuildDate:  Mon Jan 26 2010 21:49:00)   1.000000

   ARE.dll   ARE 2010/10/04-23:36:11   64.441628   64.441628

   asneu.dll    AsnEndUser Dynamic Link Library   1, 7, 0, 1 

   AXE8SharedExpat.dll   AXE8SharedExpat 2010/02/23-17:27:33   61.421978   61.421978

   AXEDOMCore.dll   AXEDOMCore 2010/02/23-17:27:33   61.421978   61.421978

   Bib.dll   BIB 2010/10/04-23:36:11   64.441628   64.441628

   BIBUtils.dll   BIBUtils 2010/10/04-23:36:11   64.441628   64.441628

   boost_threads.dll   DVA Product   5.0.0 

   cg.dll   NVIDIA Cg Runtime   2.0.0015 

   cgGL.dll   NVIDIA Cg Runtime   2.0.0015 

   CoolType.dll   CoolType 2010/10/04-23:36:11   64.441628   64.441628

   data_flow.dll   AIF   2.0   53.422628

   dvaadameve.dll   DVA Product   5.0.0 

   dvacore.dll   DVA Product   5.0.0 

   dvaui.dll   DVA Product   5.0.0 

   ExtendScript.dll   ExtendScript 2010/10/19-10:22:12   61.445301   61.445301

   FileInfo.dll   Adobe XMP FileInfo   5.0   61.134777

   icucnv36.dll   International Components for Unicode 2009/06/17-13:21:03    Build gtlib_main.9896 

   icudt36.dll   International Components for Unicode 2009/06/17-13:21:03    Build gtlib_main.9896 

   image_flow.dll   AIF   2.0   53.422628

   image_runtime.dll   AIF   2.0   53.422628

   JP2KLib.dll   JP2KLib 2010/12/13-23:37:10   64.181312   64.181312

   libifcoremd.dll   Intel(r) Visual Fortran Compiler   10.0 (Update A) 

   libmmd.dll   Intel(r) C Compiler, Intel(r) C++ Compiler, Intel(r) Fortran Compiler   10.0 

   LogSession.dll   LogSession   2, 0, 1, 11 

   MPS.dll   MPS 2010/12/13-23:37:10   64.450375   64.450375

   msvcm80.dll   Microsoft® Visual Studio® 2005   8.00.50727.6195 

   msvcm90.dll   Microsoft® Visual Studio® 2008   9.00.30729.6161 

   msvcp80.dll   Microsoft® Visual Studio® 2005   8.00.50727.6195 

   msvcp90.dll   Microsoft® Visual Studio® 2008   9.00.30729.6161 

   msvcr80.dll   Microsoft® Visual Studio® 2005   8.00.50727.6195 

   msvcr90.dll   Microsoft® Visual Studio® 2008   9.00.30729.6161 

   pdfsettings.dll   Adobe PDFSettings   1.04 

   Photoshop.dll   Adobe Photoshop CS5   CS5 

   Plugin.dll   Adobe Photoshop CS5   CS5 

   PlugPlug.dll   Adobe(R) CSXS PlugPlug Standard Dll (64 bit)   2.0.0.746 

   PSArt.dll   Adobe Photoshop CS5   CS5 

   PSViews.dll   Adobe Photoshop CS5   CS5 

   SCCore.dll   ScCore 2010/10/19-10:22:12   61.445301   61.445301

   tbb.dll   Threading Building Blocks   2, 1, 2009, 0201 

   TfFontMgr.dll   FontMgr   9.3.0.113 

   TfKernel.dll   Kernel   9.3.0.113 

   TFKGEOM.dll   Kernel Geom   9.3.0.113 

   TFUGEOM.dll   Adobe, UGeom©   9.3.0.113 

   updaternotifications.dll   Adobe Updater Notifications Library   1.0.0.68 (BuildVersion: 1.0; BuildDate: BUILDDATETIME)   1.0.0.68

   WRServices.dll   WRServices Thursday January 21 2010 12:13:3   Build 0.11423   0.11423

   wu3d.dll   U3D Writer   9.3.0.113 

 

 

Installed plug-ins:

   Accented Edges 12.0

   ADM 3.11x01

   Angled Strokes 12.0

   Average 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])

   Bas Relief 12.0

   BMP 12.0.2

   Camera Raw 6.5

   Chalk & Charcoal 12.0

   Charcoal 12.0

   Chrome 12.0

   Cineon 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])

   Clouds 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])

   Color Halftone 12.0.2

   Colored Pencil 12.0

   CompuServe GIF 12.0.2

   Conté Crayon 12.0

   Craquelure 12.0

   Crop and Straighten Photos 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])

   Crop and Straighten Photos Filter 12.0.2

   Crosshatch 12.0

   Crystallize 12.0.2

   Cutout 12.0

   Dark Strokes 12.0

   De-Interlace 12.0.2

   Difference Clouds 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])

   Diffuse Glow 12.0

   Displace 12.0.2

   Dry Brush 12.0

   Eazel Acquire 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])

   Embed Watermark 4.0

   Extrude 12.0.2

   FastCore Routines 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])

   Fibers 12.0.2

   Film Grain 12.0

   Filter Gallery 12.0

   Fresco 12.0

   Glass 12.0

   Glowing Edges 12.0

   Grain 12.0

   Graphic Pen 12.0

   Halftone Pattern 12.0

   HDRMergeUI 12.0

   IFF Format 12.0.2

   Ink Outlines 12.0

   JPEG 2000 2.0

   Lens Blur 12.0

   Lens Correction 12.0.2

   Lens Flare 12.0.2

   Lighting Effects 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])

   Liquify 12.0.1

   Matlab Operation 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])

   Measurement Core 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])

   Mezzotint 12.0.2

   MMXCore Routines 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])

   Mosaic Tiles 12.0

   Multiprocessor Support 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])

   Neon Glow 12.0

   Note Paper 12.0

   NTSC Colors 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])

   Ocean Ripple 12.0

   OpenEXR 12.0.2

   Paint Daubs 12.0

   Palette Knife 12.0

   Patchwork 12.0

   Paths to Illustrator 12.0.2

   PCX 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])

   Photocopy 12.0

   Picture Package Filter 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])

   Pinch 12.0.2

   Pixar 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])

   Plaster 12.0

   Plastic Wrap 12.0

   PNG 12.0.2

   Pointillize 12.0.2

   Polar Coordinates 12.0.2

   Portable Bit Map 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])

   Poster Edges 12.0

   Radial Blur 12.0.2

   Radiance 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])

   Read Watermark 4.0

   Reticulation 12.0

   Ripple 12.0.2

   Rough Pastels 12.0

   Save for Web & Devices 12.0

   ScriptingSupport 12.0.4

   Shear 12.0.2

   Smart Blur 12.0.2

   Smudge Stick 12.0

   Solarize 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])

   Spatter 12.0

   Spherize 12.0.2

   Sponge 12.0

   Sprayed Strokes 12.0

   Stained Glass 12.0

   Stamp 12.0

   Sumi-e 12.0

   Targa 12.0.2

   Texturizer 12.0

   Tiles 12.0.2

   Torn Edges 12.0

   Twirl 12.0.2

   Underpainting 12.0

   Vanishing Point 12.0

   Variations 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])

   Water Paper 12.0

   Watercolor 12.0

   Wave 12.0.2

   WIA Support 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])

   Wind 12.0.2

   Wireless Bitmap 12.0.4 (12.0.4x20110407 [20110407.r.1265 2011/04/07:02:00:00 cutoff; r branch])

   ZigZag 12.0.2

Plug-ins that failed to load: NONE

Flash:

   Mini Bridge

   Kuler

   Access CS Live

   CS Review

   CS News and Resources

Installed TWAIN devices: NONE


Writing PSD with layers

$
0
0

I'm trying to generate a Photoshop file with Adjustment Layers. Does anyone have any pointers, or know of any methods of diagnosing problems in the file?

 

I've been able to make a file with multiple image layers which opens correctly in Photoshop. But when I try to make an adjustment layer, Photoshop won't open it, giving me the error: "Could not complete your request because the file is not compatible with this version of Photoshop." I've tried adding various Image Resources and other bits, to no avail.

 

The few third party PSD parsers I've used don't seem to find any problem with the files I generate. For example, "psdparse" gives a very verbose breakdown of the file, and finds no errors.

 

Here's a link to a sample file: http://bensyverson.com/share/photoshop/test.psd (warning: 15MB link)

 

And here's the psdparse output:

 

Processing "../../Adobe/test.psd"

  PSD (version 1), 3 channels, 1936 rows x 2592 cols, 8 bit RGBColor

  (color mode data is empty)

 

 

Image resources (506 bytes):

  resource '8BIM' ( 1028,""):   15 bytes [IPTC-NAA record (File Info)]

  resource '8BIM' ( 1005,""):   16 bytes [ResolutionInfo]

    Resolution 72 x 72 pixels per inch

  resource '8BIM' ( 1026,""):    4 bytes [Layers group info]

  resource '8BIM' ( 1011,""):    8 bytes [Print flags]

  resource '8BIM' ( 1034,""):    1 bytes [Copyright flag]

  resource '8BIM' (10000,""):   10 bytes [Print flags info]

  resource '8BIM' ( 1013,""):   72 bytes [Color halftoning info]

  resource '8BIM' ( 1016,""):  112 bytes [Color transfer functions]

  resource '8BIM' ( 1024,""):    2 bytes [Layer state info]

  resource '8BIM' ( 1032,""):   16 bytes [Grid and guides info]

  resource '8BIM' ( 1057,""):   45 bytes [Version Info]

  resource '8BIM' ( 1044,""):    4 bytes [Document specific IDs]

  resource '8BIM' ( 1069,""):    6 bytes [Layer Selection ID(s)]

  resource '8BIM' ( 1010,""):   10 bytes [Background color]

  resource '8BIM' ( 1041,""):    1 bytes [ICC Untagged Profile]

 

 

2 layers:

 

 

  layer 0: (   0,   0,1936,2592), 3 channels (1936 rows x 2592 cols)

    channel  0: 5018114 bytes, id= 0  (R)

    channel  1: 5018114 bytes, id= 1  (G)

    channel  2: 5018114 bytes, id= 2  (B)

  (extra data: 256 bytes @ 602)

  (no layer mask)

  ...skipped layer blending ranges (40 bytes)

    name: "Background"

 

 

  layer 1: (   0,   0,   0,   0), 5 channels (   0 rows x    0 cols)

    channel  0:       2 bytes, id=-1  (transparency mask)

    channel  1:       2 bytes, id= 0  (R)

    channel  2:       2 bytes, id= 1  (G)

    channel  3:       2 bytes, id= 2  (B)

    channel  4:       2 bytes, id=-2  (layer mask)

  (extra data: 324 bytes @ 922)

  (has layer mask)

  ...skipped layer blending ranges (40 bytes)

    name: "Curve"

## layer data begins @ 1246

## layer image data begins @ 1246

 

 

  layer 0 ("Background"):

  blending mode: sig='8BIM' key='norm'(normal) opacity=255(100%) clipping=0(base)

    flags=0x9(transp_prot(1) visible(0) bit4valid(1) pixel_data_irrelevant(0))

Layer 0 additional data:

    data block: sig='8BIM' key='luni' length=     24

    (Unicode name = 'Background')

    data block: sig='8BIM' key='lnsr' length=      4

    (Layer name source = 'bgnd')

    data block: sig='8BIM' key='lyid' length=      4

    (Layer ID = 1)

    data block: sig='8BIM' key='clbl' length=      4

    (Blend clipping = 1)

    data block: sig='8BIM' key='infx' length=      4

    (Blend interior = 0)

    data block: sig='8BIM' key='knko' length=      4

    (Knockout = 0)

    data block: sig='8BIM' key='lspf' length=      4

    (Protected = 5)

    data block: sig='8BIM' key='lclr' length=      8

    data block: sig='8BIM' key='shmd' length=      4

    data block: sig='8BIM' key='fxrp' length=     16

    (Reference point X=0 Y=0)

  channel 0:

>>> channel id =  0 @    1246, 5018114 bytes

    compression = 0 (raw)

    uncompressed size 5018112 bytes (row bytes = 2592)

  channel 1:

>>> channel id =  1 @ 5019360, 5018114 bytes

    compression = 0 (raw)

    uncompressed size 5018112 bytes (row bytes = 2592)

  channel 2:

>>> channel id =  2 @ 10037474, 5018114 bytes

    compression = 0 (raw)

    uncompressed size 5018112 bytes (row bytes = 2592)

 

 

  layer 1 ("Curve"):

  blending mode: sig='8BIM' key='norm'(normal) opacity=255(100%) clipping=0(base)

    flags=0x18(transp_prot(0) visible(0) bit4valid(1) pixel_data_irrelevant(1))

Layer 1 additional data:

    data block: sig='8BIM' key='curv' length=     48

    data block: sig='8BIM' key='luni' length=     16

    (Unicode name = 'Curve')

    data block: sig='8BIM' key='lnsr' length=      4

    (Layer name source = 'cont')

    data block: sig='8BIM' key='lyid' length=      4

    (Layer ID = 2)

    data block: sig='8BIM' key='clbl' length=      4

    (Blend clipping = 1)

    data block: sig='8BIM' key='infx' length=      4

    (Blend interior = 0)

    data block: sig='8BIM' key='knko' length=      4

    (Knockout = 0)

    data block: sig='8BIM' key='lspf' length=      4

    (Protected = 0)

    data block: sig='8BIM' key='lclr' length=      8

    data block: sig='8BIM' key='shmd' length=      4

    data block: sig='8BIM' key='fxrp' length=     16

    (Reference point X=0 Y=0)

  channel 0:

>>> channel id = -1 @ 15055588, 2 bytes

    compression = 0 (raw)

    uncompressed size 0 bytes (row bytes = 0)

  channel 1:

>>> channel id =  0 @ 15055590, 2 bytes

    compression = 0 (raw)

    uncompressed size 0 bytes (row bytes = 0)

  channel 2:

>>> channel id =  1 @ 15055592, 2 bytes

    compression = 0 (raw)

    uncompressed size 0 bytes (row bytes = 0)

  channel 3:

>>> channel id =  2 @ 15055594, 2 bytes

    compression = 0 (raw)

    uncompressed size 0 bytes (row bytes = 0)

  channel 4:

>>> channel id = -2 @ 15055596, 2 bytes

# layer mask (   0,   0,   0,   0) (   0 rows x    0 cols)

    compression = 0 (raw)

    uncompressed size 0 bytes (row bytes = 0)

## end of layer image data @ 15055598

  (global layer mask info section: 16 bytes)

## global additional info @ 15055618 (36 bytes)

    data block: sig='8BIM' key='Patt' length=      0

    (data: Pattern)

   

    data block: sig='8BIM' key='FMsk' length=     12

    (data: Filter mask)

    00 00 ff ff 00 00 00 00 00 00 00 32

 

 

  merged image:

>>> merged image data @ 15055654

    compression = 1 (RLE)

    uncompressed size 15054336 bytes (row bytes = 2592)

  done.

 

Extension development for Photoshop CC2015 (Mac). Debug mode?

$
0
0

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?

How to find out the Total ink coverage?

$
0
0

How to get the total ink coverage value(which shown in info palette) for every pixel in tif(CS3) images using sdk. Kindly advise me.

SysError 0 during open of "PIDefines.h".

$
0
0

i'm stumped on this. i got the sample dissolve project working out of the box on xp, but the xcode version fails with the error: SysError 0 during open of "PIDefines.h". this is in reference to line 11 in Dissolve.r: #include "PIDefines.h"

 

if i right-click on the Dissolve.r file in the Groups & Files tree-view section, and run Compile it seems to succeed on its own. However, the project does not.

 

i'm using xcode 3.1.1 on OS X 10.6.2

 

if i manually include the contents of PIDefines.h and comment out the #include itself, the error will come up again for the next #include. and if i comment that one out, it comes up for the next.

 

any ideas?

How to Retrieve the Default Photoshop Color Spaces?

$
0
0

Specifically, I would like to be able to access the actual color profiles the user has chosen as the default RGB and Grayscale color spaces, so I can do the same things as Photoshop with untagged images.  I'm defining functionality to be similar to that of Photoshop itself when Photoshop does not provide a pointer to a document color profile via gFilterRecord->iCCprofileData.

 

I'm thinking along these lines:

 

1.  Detect if Photoshop is the host, and if not, stop and use internal defaults (e.g., sRGB).

 

2.  Use the property suite to ask Photoshop what the user's prefs for the appropriate color category is, depending on the image mode received.

 

What I don't know are the specifics, nor whether Photoshop is likely to provide a pointer to the profile in memory or whether I'll have to go open it myself (either way would be no problem).

 

Do you know any of the specific callbacks I'll need to code?

 

Meanwhile I'll be scouring the documentation.

 

Thanks.

 

-Noel

Integrating Qt into a filter plugin

$
0
0

Hello,

 

I've been developing a filter plugin that requires a pretty hefty UI. I've chosen to use Qt for this because I am deploying to both mac and windows, however, it's been a little nightmarish getting all the details just right.  Things like windows staying on top etc has been problematic and very different on each platform,  I've also run into problems of being unable to use certain features of Qt like meta-types because the declaration/allocation/whatever seems to linger between runs of the filter and cause 'open twice' crashes, with all sorts of namespace smashing errors/warning sprinkled in here and there.  I've also accidently hi-jacked photoshop's menu bar (Mac OSX) causing you to be unable to quit photoshop after running my plugin.  Some 'solutions' have been put in place by myself and my co-workers but they are quite frankly a little sketchy/incomplete for my taste.

 

Does anyone know any resources (or examples) that illustrate a sane Qt/Photoshop API integration?

Array of selected layers - how to get it

$
0
0

Hello Everybody

 

I'm looking for a way to get all the selected layers as array.

 

With app.activeDocument.activeLayer i can select only the top-most of the selected layers.

 

 

There is a way to achieve this in ExtendScript:

 

function getSelectedLayers() {   var layerArray = new Array;      var desc = new ActionDescriptor();         var ref = new ActionReference();         ref.putClass( stringIDToTypeID('layerSection') );      desc.putReference( charIDToTypeID('null'), ref );         var layerRef = new ActionReference();         layerRef.putEnumerated( charIDToTypeID('Lyr '), charIDToTypeID('Ordn'), charIDToTypeID('Trgt') );      desc.putReference( charIDToTypeID('From'), layerRef );      executeAction( charIDToTypeID('Mk  '), desc, DialogModes.NO );   var tempLayerSet = app.activeDocument.activeLayer.layers;   for ( var layerIndex = 0; layerIndex < tempLayerSet.length; layerIndex++ ) {      layerArray.push( tempLayerSet[layerIndex] );   }   executeAction( charIDToTypeID('undo'), undefined, DialogModes.NO );   return layerArray;
};

 

 

How can i do that using Photoshop SDK?

 

 

Thanks in advance.


Will Adobe ever add support for JPEG-XR?

$
0
0

There's been quite a bit of work done on the Flash Player to display and export JPEG-XR files. During the Flash CS6 prerelease, the Flash team talked about additional JPEG-XR support for things like spritesheet creation.

 

I know there's an ancient Photoshop plug-in for JPEG-XR, but does Adobe have any plans to make JPEG-XR a first-class citizen in Photoshop? Considering the numerous benefits the format offers, I'm puzzled as to why this hasn't been added.

 

Either way, it would be helpful to get the scoop. If there are no plans to support it then I'll buy a product that does, but I'd prefer Photoshop.

Photoshop "Server"

$
0
0

Hi Folks,

 

I have a client wanting to use Photoshop in so to call it server mode.

Basically it would be installed on a server and would use custom scripts for predefined actions on PSD files that are found in so to say input directory.

Mostly those are scaling and exporting operations for multiple targets.

I have to say that workload is quite high meaning that there could be 50 -100 files in the input directory and sometime normal Photoshop requires 2-5 minutes per input file, so considering that it would be great if "Server Photoshop" could take advantage of the clients server architecture (multiple processors with multiple cores - up to 128 cores).

 

Any help/your experience would be much appreciated.

 

Adobe had something called Adobe Graphics server but it is not available since 2008.

 

Does anyone know what are the other options.

 

Regards,

Momir Zecevic

Ars Media

Need to create photoshop plugin with UI in QT framework

$
0
0

Hi

 

I need to develop a photoshop plugin using qt to create UI. I have two doubts regarding this
- First, Is it possible to integrate qt UI with photoshop plugin and perform photoshop operations.

- Second, Is it possible to create a panel type UI using QT for Photoshop and keep it non modal.

 

I have no idea regarding qt. Please guide.

 

Thanks

Perspective Grid Tool

$
0
0

Hi,

   I do programming with C++ & Python and this is first time i m going to make plugin for Photoshop.

My aim is to create "Perspective Grid Tool" like in Adobe Illustrator.

nf_gridpresetsdef_popup.png

So please advice me , From Where can i start ??

Path to Photoshop Plugins/Panels Assets Folder

$
0
0

I am one of those who is scrambling to recreate a panel that was made in Configurator to HTML5 so please bear with me.

 

For a javascript I am trying to find the path to a file in the "assets" folder within my panel for both Mac & Windows. I want the path to open a specific file. Here is the base code:

 

function selLss1(){var idOpn = charIDToTypeID( "Opn " );

    var desc176 = new ActionDescriptor();

    var idnull = charIDToTypeID( "null" );

    desc176.putPath( idnull, new File( "/assets/file.psd" ) );

executeAction( idOpn, desc176, DialogModes.NO );

}

 

"/assets/file.psd" is the file and I need to know how to tell Photoshop how to find and open this file in Mac's and Windows.

 

Thanks in Advance - Sam

Viewing all 54282 articles
Browse latest View live


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