photoshop

Photoshop JavaScript to resize image and canvas to specific (not square) sizes [closed]

本秂侑毒 提交于 2019-12-21 02:27:12
问题 Closed . This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 6 years ago . How can I use PhotoShop's JavaScript functionality to convert a set of hundreds of images to a specific, non-square size (e.g. 320x350px)? 回答1: Searching the web I've found many potential solutions but 100% of them converted to square sizes. So, I gathered a few and solved the problem myself. Save

Photoshop JavaScript to resize image and canvas to specific (not square) sizes [closed]

ε祈祈猫儿з 提交于 2019-12-21 02:27:06
问题 Closed . This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 6 years ago . How can I use PhotoShop's JavaScript functionality to convert a set of hundreds of images to a specific, non-square size (e.g. 320x350px)? 回答1: Searching the web I've found many potential solutions but 100% of them converted to square sizes. So, I gathered a few and solved the problem myself. Save

“Console.log” with Photoshop Scripting - ExtendedScript Toolkit

最后都变了- 提交于 2019-12-20 15:59:32
问题 I'm doing a bit of Photoshop scripting for the first time and it sure would be great to have a console.log-like function to output array and object values in the Javascript console of the ExtendScript Toolkit App. Is there an equivalent function? 回答1: $.writeln() is what you're looking for. See the JavaScript Tools Guide (PDF) for details. 回答2: write("any message"); Is what works in XTools for Photoshop. I find that the Photoshop debugger crashes all the time in CS6 on Mac OSX. You can find

“Console.log” with Photoshop Scripting - ExtendedScript Toolkit

前提是你 提交于 2019-12-20 15:59:14
问题 I'm doing a bit of Photoshop scripting for the first time and it sure would be great to have a console.log-like function to output array and object values in the Javascript console of the ExtendScript Toolkit App. Is there an equivalent function? 回答1: $.writeln() is what you're looking for. See the JavaScript Tools Guide (PDF) for details. 回答2: write("any message"); Is what works in XTools for Photoshop. I find that the Photoshop debugger crashes all the time in CS6 on Mac OSX. You can find

Automate Photoshop to insert text from file

老子叫甜甜 提交于 2019-12-20 11:08:05
问题 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

How to overlay a play button over a YouTube thumbnail image

房东的猫 提交于 2019-12-20 08:57:51
问题 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

Is there any sharp style in CSS?

柔情痞子 提交于 2019-12-20 02:34:48
问题 I want to style some fonts in my css using the style- sharp found in Photoshop. Does anyone know the way? 回答1: Photoshop uses a custom font rendering engine which you won't be able to emulate using CSS. Furthermore, each platform has its own rendering engine which CSS cannot control. For WebKit there is -webkit-font-smoothing but what it does is a far cry from what you're looking for. 回答2: No luck I'm afraid. The only way I know of (perhaps someone knows otherwise) to achieve this is to save

Please explain this color blending mode formula so I can replicate it in PHP/ImageMagick

有些话、适合烂在心里 提交于 2019-12-19 07:09:14
问题 I've been trying to use ImageMagick to replicate Photoshops Colour Blend Mode. I found the following formulas in an online guide but I don't know what they mean. Do I just need to swap certain channels? 回答1: A is the Foreground pixel, B is the Background pixel, C is the new pixel. H is the Hue value for each pixel, S is the Saturation value, L is the Luminance value, and Y is the Brightness value. (Not sure what the difference is between luminance and brightness though. Anyway, in the first

Online Photoshop via HTML 5's Canvas? [closed]

試著忘記壹切 提交于 2019-12-18 10:26:31
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . 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. 回答1: Those are the two I know about: Pixastic: Pixastic is an ex­peri­mental photo editing ap­plication developed by Jacob Seidelin. It uses only JavaScript

Drawable folders for high resolution handhelds

老子叫甜甜 提交于 2019-12-18 06:56:24
问题 I can't figure out how to produce drawables for the new "high-res" handhelds like the Galaxy Nexus, One X, Galaxy S3 etc that have a resolution of 1280x720 or higher. I always try to make as few layout-versions as possible. Preferably just one but at times a layout-long and notlong is necessary. And make the xml smart enough to handle all devices. But that's only possible if the drawable resources are there to supply all the different resolutions and sizes. All has been nice and smooth until