photoshop

Creating seamless rotated background image

ぐ巨炮叔叔 提交于 2019-12-03 14:40:59
问题 I want to repeat a background image that is rotated. Trying to make it seamless is destroying my soul. Starting with something simple, consider each image is laid out like bricks. Creating a seamless repeating background image is pretty simple: (the red area is the crop). You can see this working as expected at http://jsfiddle.net/mPqfB. Now let's say I want to rotate the image by 45 degrees: Unfortunately, the same crop no longer works, as you can see on http://jsfiddle.net/mPqfB/1. I'm

How to load an image in active document? (Photoshop Scripting)

佐手、 提交于 2019-12-03 13:50:57
I am new to photoshop scripting. I want to load an image image (from my hard disk) into the active document as a new layer with positioning. How can this be done? Can somebody please share the code? Thanks Myra You can open Photoshop File Dialog for searching your image and adding that into a layer file = app.openDialog();//opens dialog,choose one image if(file[0]){ //if you have chosen an image app.load(file[0]); //load it into documents backFile= app.activeDocument; //prepare your image layer as active document backFile.resizeImage(width,height); //resize image into given size i.e 640x480

Is it possible to make a torn paper effect on edges of a picture

时光总嘲笑我的痴心妄想 提交于 2019-12-03 12:45:42
问题 Update 3 Hi guys, I updated the code (http://codepen.io/anon/pen/VYRJLp) and now the edges look really like torn paper effect. It uses SVG by the way. The Only problem is I don't know how to make the image as the background of the svg AT THE SAME TIME maintain the torn-paper-like edges. Please have a look it. Any efforts are appreciated. Update 2 It seems that it is impossible to achieve this effect without the help of PhotoShop(PS), so I would like to add PS as a part of solution. I am not a

Colors look different in browser and photoshop

那年仲夏 提交于 2019-12-03 10:22:44
I have a problem with colors in photoshop and browser. Why the same color (#cccc66) looks different? This in photoshop http://gyazo.com/a4f4181bf0638d652174f0a7d4f1fe9d.png and this in browser http://gyazo.com/37a9ad028951e85a288344f59c84ecc7.png . What could it be? Some additional info. It's not image. I just used Eyedropper tool to get color then copied color name from color picker. It's called color profiles, the PNG has one embedded. You need to strip it out. Photoshop apparentely does weird things with "Save for Web" when color profiles are active. This may help: http://www.viget.com

Ruthlessly compressing large images for the web

独自空忆成欢 提交于 2019-12-03 09:51:16
问题 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. 回答1: Have a look at

Photoshop's RGB levels with ImageMagick

拥有回忆 提交于 2019-12-03 08:52:33
I'm attempting to convert some effects created in Photoshop into code for use with php/imagemagick. Right now I'm specifically interested in how to recreate Photoshop's RGB levels feature. I'm not really familiar with the Photoshop interface, but this is the info that I am given: RGB Level Adjust Input levels: Shadow 0, Midtone 0.92, Highlight 255 Output levels: Shadow 0, Highlight 255 What exaclty are the input levels vs. the output levels? How would I translate this into ImageMagick? Below you can see what I have tried, but it does not correctly render the desired effect (converting

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

拈花ヽ惹草 提交于 2019-12-03 08:23:28
Closed . This question needs details or clarity. It is not currently accepting answers. Learn more . Want to improve this question? Add details and clarify the problem by editing this post . 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)? tibelchior 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 the code below as a .jsx file in your Photoshop \Presets\Scripts folder. Then, make an ACTION if want to

How is the photoshop cutout filter implemented?

我只是一个虾纸丫 提交于 2019-12-03 07:45:56
问题 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

batch export psd files to png

风格不统一 提交于 2019-12-03 07:40:02
问题 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? 回答1: 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

How to implement a Cocoa-based Adobe Photoshop plugin

邮差的信 提交于 2019-12-03 06:51:11
Cocoa used to work on CS3 with the trick of putting a Cocoa bundle inside the main Carbon plugin bundle , loading it from Carbon and issuing a NSApplicationLoad(). That's because Photoshop CS3 was Carbon-only and used to unload the plugin bundles. Photoshop CS4 uses Cocoa and has its own NSAutorelease pool in place on the main thread. On Photoshop CS4 very simple window-based xibs/nibs loaded by a NSWindowController work out of the box. But just add a binding to a control on the window and you'll get funny crashes, optionally when you close the window, or the second time you use the plugin, or