photoshop

Is it possible to automate taking a screenshot of a portion of a Web page (e.g., denoted by a CSS selector or HTML parent element)?

I'm not sure if the title conveys the best approach to my problem, so let me step back a little bit. My company is setting up an advertisement affiliate program. We have a widget that will soon be displayed on numerous Web pages, and this widget will contain an advertisement block that will show various ads from our affiliate retailers....

Direct3D rendering 2D images with "multiply" blending mode and alpha

I'm trying to replicate the Photoshop filter multiply with Direct3D. I've been reading and googling about the different render states and I've got the effect almost working. The problem is that it's ignoring the alpha value of the textures. Here's an image that explains the sitution: http://www.kloonigames.com/petri/stackoverflow_doesn...

How do I write a Perl script to filter out digital pictures that have been doctored?

Last night before going to bed, I browsed through the Scalar Data section of Learning Perl again and came across the following sentence: the ability to have any character in a string means you can create, scan, and manipulate raw binary data as strings. An idea immediately hit me that I could actually let Perl scan the pictures tha...

How can I create a "neon sign" dynamically? (non-Flash/Java solution)

Hi, I want to have a dynamically generated Neon sign on my site. I want to pass it some text, have it rendered as an image (in a neon sign - something like: http://www.pixelhivedesign.com/tutorials/Neon+Sign+on+a+Textured+Surface/ ) and then show the image to the user. I dont think CSS font tricks can do this - that would have been fa...

Carbon in Cocoa Crashing: EXC_BAD_ACCESS after NSAutoreleasePool is released

I'm developing a Cocoa user interface for a Photoshop CS3 plugin using Bindings. (Carbon in Cocoa, since PS is a Carbon app) I'm getting a EXC_BAD_ACCESS error when I close my modal NSWindow and the NSAutoreleasePool releases. I believe it has something to do with bindings and the control views I have in my nib file, because when I re...

CONTEST: optimize size of grayscale scanned documents!

I put this as a contest, but it's still a question! Here's the original image: http://dl.dropbox.com/u/1663633/original_scan.jpg Original size is about 1 megabyte. How would you reduce the size so that the final print on a A4 paper (about letter size I think..) still looks good? Rules: The process MUST be automatic (to be applied to...

Is it okay to start the layout of a website with a photoshop mockup?

This is a best-practice topic. I saw it as a prefer method for some web developers. Instead of doing the CSS layout from scratch, they start a photoshop mockup first and then decode it into CSS. What do you think about this approach? Best to all, ...

How to set File Info from a script in Photoshop CS4

Hi, I am developing a Photoshop CS4 script and want to set some of the File Info properties on the open document from within the script. In other words, I want to do the equivalent of choosing File -> File Info and editing some properties, only via the scripting language (Javascript). Thank you. ...

What are the algorithms used behind filters in image editing softwares?

For example: What algorithm is used to generate the image by the fresco filter in Adobe Photoshop? Do you know some place where I can read about the algorithms implemented in these filters? ...

Designing for mobile phone devices: Recommended Photoshop color mode (scheme)?

I'm building a mobile phone application and have created many mockups in Photoshop CS4. When I convert said mockups into templates on my phone, the colors are lighter then shown in Photoshop and I constantly have to readjust. What color mode or settings should I apply to Photoshop in order to correct this problem as best as possible? ...

How to make design for websites in Photoshop, according to WCAG 2.0 color contrast guideline?

What points should I keep in mind while designing. How we can make good design while keeping in mind color related Accessibility guideline of WCAG 2.0? ...

Read version info from .ABR file (Photoshop brush set)

Is it possible to detect which Photoshop version a brush set (.abr) file is compatible with from its binary data? There is a open source C# programm called ABRViewer but it doesn't read version info. Sample brushes: http://mark-s.deviantart.com/art/Fractal-Brushes-Set-20484978 http://redheadstock.deviantart.com/art/Arcane-Circles-Sym...

Is it possible to reference a photoshop file or layer comp from within another photoshop file?

Creating all the art for a large website often involves a couple dozen 50+mb photoshop files. Frequently, a given module may appear in more than one file. Is there a way to reference an oft-used module from another file? For instance - "site-section-2.psd" references "common-module-h.psd", and "site-section-6.psd" also references "com...

Photoshop style GUI design

In a tool such as Photoshop, there is a selection of tools you can click on (e.g. pen, brush etc). Once you click on a tool, you can use that tool to paint, erase etc depending on what tool is selected. I'm wondering how that would be best implemented in an OO design. I could only think of having a GUIManager that always knows which too...

Online Photoshop via HTML 5's Canvas?

Does anyone know an online Photoshop -like editor that utilizes Canvas? I know at least 4 Flash editors, but I'm interested in finding a Canvas based one. ...

looking for java library to work with PSD format

I'm looking for a java library to work with PSD format(Photoshop). Any ideas? ...

Output W3C compliant XHTML from image slices

When slicing and saving for web in Photoshop CS4, the HTML layout output by Photoshop is done using tags, which is not what we want. Is there a way to get Photoshop to output W3C compliant tableless XHTML with CSS? Alternatively, is there another application that I can use to slice to W3C XHTML? ...

Photoshop-like, embeddable web based image editor?

http://stackoverflow.com/questions/1841112/online-image-editor-ajax-or-flex-flash The above wasn't really the answer that I was looking for. I'm looking for an online image editor which I can embed into my pages, so users can edit images and submit them. I'm fine with it being Flash or Canvas/JS, no Silverlight or Java pleas...

Photoshop Batch Action Save for Web and Devices

Hello everybody, I created an Action in Photoshop CS4. It's something like this: Open Document Change Canvas Size Save for Web & Devices Close Document Now, the "Save for Web & Devices" does all nice stuff, including saving it with a specific name to a specific folder. Somehow, when I try to Batch this Action, I'm not able to tell P...

website mock up, is pdf good?

Pdf format can be layered as psd file, so it's handy to cut for html purpose, what I need to know is if working on pdf file instead of psd can have some problem of quality loss or placemente or something. I'm asking just because it's seems a pretty unusual format to me and i'm strongly in love with best practice. Obviously I'm not a de...