photoshop

From Photoshop actions to Photoshop scripting?

妖精的绣舞 提交于 2019-12-03 01:43:50
问题 I would like Photoshop to automatically execute the following task for a given folder: Load all PNG files in a given folder. Convert each file's mode to RGB color Add one layer to each file Save the files as PSD in the same folder I have been told that this can be done with Photoshop scripting, but I don't know how to get started since unfortunately I don't have much experience with JavaScript. One thing I know is that I can't run the task above using Actions because when I record the last

Ruthlessly compressing large images for the web

别说谁变了你拦得住时间么 提交于 2019-12-03 01:20:31
I have a very large background image (about 940x940 pixels) and I'm wondering if anyone has tips for compressing a file this large further than Photoshop can handle? The best compression without serious loss of quality from Photoshop is PNG 8 (250 KB); does anyone know of a way to compress an image down further than this (maybe compress a PNG after it's been saved)? I don't normally deal with optimizing images this large, so I was hoping someone would have some pointers. Have a look at http://www.irfanview.com/ , is an oldy but a goody. Have found this is able to do multipass png compression

Automate Photoshop to insert text from file

狂风中的少年 提交于 2019-12-03 00:29:47
I have a multilanguage website and need automate the process of updating textlayers in psd-files from a csv-source. I know that there might be glitches in the psp because of changed widths, but anyway it would help a lot to have the text inside the documents. What are my options? EDIT: Murmelschlurmel has a working solution. Here is the link to the Adobe documentation. http://livedocs.adobe.com/en_US/Photoshop/10.0/help.html?content=WSfd1234e1c4b69f30ea53e41001031ab64-740d.html The format of the csv-file is not so nice: you need a column for each variable. I would expect a row for each

How is the photoshop cutout filter implemented?

笑着哭i 提交于 2019-12-02 21:11:17
Photoshop has a lot of cool artistic filters , and I'd love to understand the underlying algorithms. One algorithm that's particularly interesting is the Cutout filter (number 2 at the link above). It has three tunable parameters, Number of Levels, Edge Simplicity, and Edge Fidelity. Number of levels appears to drive a straightforward posterization algorithm, but what the other sliders do technically eludes me. I would think that they're doing something related to Vornoi diagrams or k-means partitionion, but poking around on wikipedia hasn't resulted in anything that maps obviously to what

batch export psd files to png

给你一囗甜甜゛ 提交于 2019-12-02 21:05:42
I have thousands of psd files to save as png. The psd files are not different, except for a small text in the center of a image. Is there a way to automate the job? Christopher Marshall Yes. Open your actions window. Create new action. Record yourself opening, saving the file as png and closing the file. Then under File -> Automate -> Batch. Point it to your psd folder and select your action. It should run through the files saving them as pngs. A quick google search may help if you're new to actions. edited per author input :} XnView does the job pretty well. It can batch convert most files

Saving without dialog window

*爱你&永不变心* 提交于 2019-12-02 20:04:11
问题 I'm trying to write a script that will automate a bunch of stuff for Photoshop CS5. Part of this involves saving a bunch of files. Is there a way to save a file in a way that doesn't open up a dialog window? I've been looking over the JavaScript Tools Guide, but I didn't see a way to do this. This suggested I used an action to deal with it but I'd really prefer not to do that. EDIT: specifically I want to save the files as crytiff format but I'd just like to know how to save a file with

Jquery JSON Flickr API Returning Photos in a Set

倖福魔咒の 提交于 2019-12-02 18:29:29
I am trying to get a specified set from Flickr and then display the images in that set using the JSON and REST API. Here is the code I am using: $.getJSON("http://api.flickr.com/services/rest/?method=flickr.photosets.getPhotos&api_key=xxx&set=72157623858739780&format=json&jsoncallback=?", function(data){ $.each(data.items, function(i,item){ $("<img/>").attr("src", item.media.m).appendTo("#images"); }); }); I removed the api key from the example. The url with my key in it, when typed into my web browser, returns the following error: jsonFlickrApi({"stat":"fail", "code":1, "message":"Photoset

How to create 9 patch in Photoshop? What is 9.png encoding? [closed]

倖福魔咒の 提交于 2019-12-02 18:21:25
Provided utility looks bad, for example it does not allow to do "Save As", or to draw several button states with similar slicing. Is it possible to draw 9.png in photoshop? I noticed, that generated png just contains black pixels in outer edge. Is this what is marking the slices? What if black pixels present in two opposite edges, how does this work? Are outer edges cut off when displayed on android? Yes, I do all of my nine patches in Photoshop. Here are the basic rules for creating a 9-patch: The outer 1px margin can contain only 100% black (RGB 0, 0, 0) or fully transparent. The black

How to overlay a play button over a YouTube thumbnail image

北城以北 提交于 2019-12-02 17:31:22
In a project I'm working on, we're pulling over a bunch of YouTube videos that our media team has published into a database so we can present them as related content. Something we'd like to be able to do is overlay a play button on top of the generated YouTube thumbnails so it's more obvious that the thumbnail represents a video that can be played. I'm looking for the best way to accomplish this - I've done some searching and either no one is interested in doing this, it's really obvious how to do it or I'm just struggling to come up with the right search terms. The ways I've come up with so

Algorithm for Hue/Saturation Adjustment Layer from Photoshop

拟墨画扇 提交于 2019-12-02 17:19:26
Does anyone know how adjustment layers work in Photoshop? I need to generate a result image having a source image and HSL values from Hue/Saturation adjustment layer. Conversion to RGB and then multiplication with the source color does not work. Or is it possible to replace Hue/Saturation Adjustment Layer with normal layers with appropriately set blending modes (Mulitiply, Screen, Hue, Saturation, Color, Luminocity,...)? If so then how? Thanks I've reverse-engineered the computation for when the "Colorize" checkbox is checked . All of the code below is pseudo-code . The inputs are: hueRGB ,