photoshop

How can I correct color banding in windows phone 7?

一世执手 提交于 2019-11-27 18:37:58
问题 My windows phone 7 app has very nice background images but they are being destroyed by color banding on a 16bit color device. Is there a way I can correct this? I have tried saving in several different modes in photoshop to no avail. 回答1: You need to use dithering. Floyd-Steinberg is a good algorithm that is simple and runs fast. You don't need to go to 8 bits per pixel as suggested by another answer, you can go directly to 16 bits per pixel. You need to know how it is split into R/G/B before

How to create a layered PSD file from command line?

坚强是说给别人听的谎言 提交于 2019-11-27 18:12:05
I need to create a layered PSD file with ImageMagick or any other command-line tool available on Linux platform. Since I need to do this on Linux server, I can't use Photoshop scripting. The ImageMagick command below creates PSD file with a single layer, where two images (here: plasma fractals) are positioned one below another. (I use ImageMagick 6.5.3-10 2009-07-31 Q16, latest available in MacPorts.) convert -size 100x100 plasma:fractal plasma:fractal -append out.psd How do I create a PSD file where each image is in its own layer, and one layer is directly above another? Or, is there any

Reading PSD file format

对着背影说爱祢 提交于 2019-11-27 17:37:18
I wonder if this is even possible. I have an application that adds a context menu when you right click a file. It all works fine but here is what I'd like to do: If the file is a PSD then I want the program to extract the image. Is this possible to do without having Photoshop installed? Basically I want the user to right click and click "image" which would save a .jpg of the file for them. edit: will be using c# Thanks Well, there's a PSD plugin for Paint.NET which I think is Open-Source which you might want to take a look at for starters: http://frankblumenberg.de/doku/doku.php?id=paintnet

How to get the path coordinates of a shape for use with image-maps?

假装没事ソ 提交于 2019-11-27 17:18:45
I am creating an image map using ImageMapster from here . I have created a photoshop image with several images that I have cut out from the original photographs. Each image is on a separate layer. Now, I need to get the path coordinates of each object, and I don't want to hover over every corner and manually write down each coordinate. Is there an automated way to get this path? Maybe there is some application or web service whence I can send my image and get the path in return? I have tried exporting each layer separately and then importing them into illustrator and vectorizing the shape (it

iOS: Values for CIFilter (Hue) from Photoshop

社会主义新天地 提交于 2019-11-27 17:00:48
问题 I am using the Hue filter to change the hue of an image: CIFilter* hueFilter = [CIFilter filterWithName:@"CIHueAdjust" <blah blah> [NSNumber numberWithFloat:hue], nil]; I have the Hue number I wish to use from Photoshop , but it doesn't correspond to the results I get from iOS. Is there a rule to change the number in PhotoShop to the number I should use in iOS ? 回答1: The Hue in HSL/HSV color mode is an angular coordinate. In Photoshop, it is given in degrees (-180 to +180). In the CIHueAdjust

Conversion from CMYK to RGB with Pillow is different from that of Photoshop

徘徊边缘 提交于 2019-11-27 16:29:04
问题 I need to convert an image from CMYK to RGB in python. I used Pillow in this way: img = Image.open('in.jpg') img = img.convert('RGB') img.save('out.jpg') The code works, but if I convert the same image with Photoshop I have a different result as shown below:- The only operation done in photoshop is to change method from CMYK to RGB. Why there is this difference between the two RGB images? It can be a color profile problem? 回答1: SOLVED The problem is that Pillow does not know the input ICC

What Are High-Pass and Low-Pass Filters?

不问归期 提交于 2019-11-27 11:08:25
Graphics and audio editing and processing software often contain functions called "High-Pass Filter" and "Low-Pass Filter". Exactly what do these do, and what are the algorithms for implementing them? Wikipedia: High-pass filter Low-pass filter Band-pass filter These "high", "low", and "band" terms refer to frequencies . In high-pass, you try to remove low frequencies. In low-pass, you try to remove high. In band pass, you only allow a continuous frequency range to remain. Choosing the cut-off frequency depends upon your application. Coding these filters can either be done by simulating RC

Photoshop Script: layout images like flickr

左心房为你撑大大i 提交于 2019-11-27 08:57:45
问题 I am looking for a script that would open a given number of images with different aspect ratios and layout them all in a single document like the flickr gallery. Something as seen in this page: http://martin-oehm.de/data/layout.html Is there any script/plugin out there that can do this? The purpose is just to create a reference file with all the images instead of having several images floating around. Thank you 回答1: The fact that you have had no answers in 10 weeks should tell you that

Photoshop Script - resize images in folder (dialog box)

谁说我不能喝 提交于 2019-11-27 07:13:58
问题 i would like to know if there is an easy way to write a simple script in Photoshop. I would like it to pop a dialog box to let user select a folder. Then the scripts creates another folder ("web_ready") inside selected one and put resized images into it. I can handle the resizing part pretty easily (there is a lot of tutorials on the web) but i don't know how to write the part with dialog box pop-up. Can you help me? I am talking about *.jsx scripts. 回答1: Folder select dialog: var inputFolder

Inner shadow in Core Graphics

丶灬走出姿态 提交于 2019-11-27 02:25:41
问题 I want to do something similar to Photoshops inner shadow effect in Core Graphics. If I draw/fill a path with this effect, I want get something similar to the following: 回答1: Here are the layers you need to create to make this image, from back to front: The base color, in this case a white background. The shadow. The shape casting the shadow. This is made by finding the bounding box of the inner shape, expanding that box by more than the width of the shadow, then cutting a hole in the box