photoshop

Does it make sense to use source control to manage graphics files (e.g. PSDs & AI files)

隐身守侯 提交于 2019-12-05 19:15:29
问题 Of course source control tools like Git, (Mercurial, SVN, etc...) can do a great job at managing source code. But I wonder, do these tools provide the developer with any advantage when used to store copies of files such as PhotoShop PSDs and Illustrator AI files? Does it make sense to use these tools with these kind of files? Would I be storing less in the repository than the sum of the file sizes of all of these files? Even though the file format of these files is only machine readable, I

Emulate PhotoShop's “Color Range” Algorithm

我们两清 提交于 2019-12-05 16:31:33
问题 I'm trying to replace a manual process done in PhotoShop with an automated process done on the server. Currently in PhotoShop the "Color Range" tool is used to select a range of colors using the "Fuzziness" factor and starting with either Black or White depending on the part of the process. My initial approaches included both using thresholds for Luminescence in the L*a*b color space as well is DE94 between the candidate color and Black/White. In both cases I selected colors that shouldn't be

Function to show/hide layer with Photoshop script (JSX)

▼魔方 西西 提交于 2019-12-05 13:29:22
I am writing a script that will loop through layers, trim them and export. So far I have most of all the element I need to complete this script. The only thing I can't find is how to show/hide an individual layer. I've found functions to show/hide all layers but nothing for one single layer. /////////////////////////////////////////////////////////////////////////////// // selectAllLayers - select all layers (Select > All Layers) /////////////////////////////////////////////////////////////////////////////// function selectAllLayers() { var ref = new ActionReference(); ref.putEnumerated(cTID(

A way to convert PSD format to something Gimp can read

若如初见. 提交于 2019-12-05 10:37:44
I have a bunch of PSD files (and more to come) and I want to get them into a format I can work with. I have had (some) success reading PSDs with Gimp before but these files won't read properly. Is there a way to convert PSDs to XCF? I have tried IrfanView which displays the PSDs alright but no conversion to Gimp's XCF. I read a (accepted) post on Yahoo Answers that says PNGs can support layers. Is this true? If so, how can I do this? PNG is a bad choice as it won't support much of the PSD features... XCF is also a bad idea since even the GIMP developers don't recommend it since it is built

Is there a way to mimic photoshop's overlay filter with CSS?

好久不见. 提交于 2019-12-05 09:21:46
The overlay blend alters the color of the image on top, as opposed to just altering the transparency. Is there a way to mimic this with CSS? Just exporting a photoshop image with the layer set to overlay and placing it over a background on the web page doesn't work. It can't be done with pure css, but it can be done with javascript. Check out Pixastic's blend function , it has ~20 blending methods that match those in photoshop. Note: this answer has become less accurate over the years. The mix-blend-mode attribute now works across most browsers, and pixastic seems to have disappeared. I'm late

Get Photoshop's action list using Objective-C

£可爱£侵袭症+ 提交于 2019-12-05 04:02:24
问题 I'm writing an application for OSX using C++ and Obj-C that interacts with Photoshop. I've been using NSAppleScript with dynamically built AppleScripts to drive Photoshop (yes, it's a little scary...) I would love to be able to drive Photoshop a different way, so if anyone knows a better way, I'm open to it! Unfortunately, I can't use ScriptingBridge as I can't tie my users to Leopard. The big problem came just the other night when I went to query the action list from Photoshop to display to

Save layer to file and trim

混江龙づ霸主 提交于 2019-12-05 03:56:40
问题 I'm trying to export layers as files, but the script in photoshop exports layers as pngs including all of the empty space. Is there another script that allows for trimming layers before exporting? 回答1: Select "Trim Layers" before exporting your files. By default, Photoshop supports trimming when exporting to PNG format using the script. Optionally, if you want to export to JPEG, you can look into the script below. Export Layers to Files with trim jpeg support 回答2: Use Photoshop Generator. Add

TActionMainMenuBar and TActionToolbar lose settings

余生长醉 提交于 2019-12-05 03:43:07
I stumbled across a really weird behavior recently. When I use a TActionMainMenuBar (or a TActionToolBar) in my program, compile and run, and then start Photoshop CS5 or Internet Explorer 9, the ActionMainMenuBar (and ActionToolBar) loses all its settings. The colors defined in the assigned colormap disappear and the font settings are also lost. Has anyone seen this before and knows a workaround? D2007 Pro (all updates applied), D2010 Pro (all updates applied), Vista Home Premium 32 bit, NVidia GForce 8600 GT, latest driver installed. Steps to reproduce: Drop a TActionManager and a

What's the best way to version control graphical assets on Windows?

大兔子大兔子 提交于 2019-12-05 02:50:32
I'm a web developer / designer, and I want to be able to version control graphic files (Photoshop / Fireworks / Illustrator / Stock Photos / etc). This would normally be fine but some of the files I have tip the scales at around 800MB, which TortoiseHG chokes on. I currently have a server I put all my files on so all my computers can access (it's my work computer and I have some flexibility as to installing some linux packages). Any advice on the best way to go about this would be appreciated. Unless those graphic files changes every day, a better way to store them would be to: avoid VCS (CVCS