photoshop

How to use the Photoshop PSD design file in your xCode?

一曲冷凌霜 提交于 2020-02-23 06:50:30
问题 I'm going to creat an iOS app from UI design to implementation, I want to make my app looks better, so i googled a lot and find people saying to create a PSD file with your app views first, so here comes to my question: 1) If i had that PSD file, how do i use it in my app? 2) Is there a general way to use that PSD file for all the elements I created? Thank you very much. 回答1: The PSD File contains your photoshop readable source material and cannot be used in your iOS application. You have to

PSD to WPF XAML: Import is messed up

我的梦境 提交于 2020-01-23 12:48:15
问题 I'm having a Designer come up with some elements in Photoshop, which I then plan to use to build an app in Visual Studio. When I try to import the PSD file into Blend, it's a nightmare though. Having made most elements using clipping masks, I can either merge them and have it look the same in XAML, but then I lose all the editing options as it's just one big block. If I don't merge the layers, I have the elements imported without the clipping mask which just looks horrible. I know the import

Easy tool to decompose sprite image? [closed]

孤人 提交于 2020-01-22 04:49:09
问题 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 3 years ago . I have a lot of sprite images that contain dozens of icons. Is there an easy way to unravel the sprites into separate image files either automatically or feeding it coordinates, widths and heights? 回答1: This program is pretty good at decomposing sprites into individual frames http://www.alferdspritesheetunpacker

GPUImage failed to init ACVFile with data:(null)

为君一笑 提交于 2020-01-17 01:39:23
问题 First of all, I must say that GPUImage is an excellent framework. However, when loading an ACV file that I export from Photoshop CS6, it gives me an error saying that: failed to init ACVFile with data:(null). The thing is though, that the same code works for some other ACV files, and the file definitely has data, 64 bites of it in fact. Here is how I am trying to load it: GPUImageToneCurveFilter *stillImageFilter2 = [[GPUImageToneCurveFilter alloc] initWithACV:@"test"]; UIImage

Photoshop CS6 Export Nested Layers to PNG?

限于喜欢 提交于 2020-01-16 03:26:05
问题 I have a PSD that contains 100s of layers. Most are grouped with individual elements within the groups (nested). How do I Export to PNG certain individual groups (with nested layers inside of them)? I don't want to run the Export All Layers to PNG Script, just need to export individual nested groups (layers) to PNG. I've found a few other 3rd party scripts, but they export everything. Only need to export the ones I've selected. Thanks in advance 回答1: This script should do what you want. It

Determine if software is installed and what version on Mac in Node.js JavaScript

≯℡__Kan透↙ 提交于 2020-01-15 10:14:07
问题 I am in a node environment on Mac within a Electron application and I am needing to: test if Photoshop is installed get version of installed Photoshop launch Photoshop This was all extremely easy to do in windows. I branch on nodejs os modules platform method so if 'Darwin' I need to do the above things. I am not a Mac user so I do not know much about the processes on Mac. I can parse .plist files if need be but poking around users lib preference folder hasn't showed up much. There are

Photoshop Scripting - Update Progress Bar in a Window

丶灬走出姿态 提交于 2020-01-13 02:53:34
问题 I want to show a progress bar for one of my Photoshop scripts. If I do work inside a button click event then I'm able to update the progress bar without any problems. For this script, no user interaction is required. I want to: - Show the Window - Update the progress bar as work is done - Close the Window var win = new Window("dialog{text:'Progress',bounds:[100,100,400,150],\ bar:Progressbar{bounds:[20,20,280,31] , value:0,maxvalue:100}};"); win.show(); for(...){ //do work here //update

Algorithm for Hue/Saturation Adjustment Layer from Photoshop

蹲街弑〆低调 提交于 2020-01-11 15:38:05
问题 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 回答1: I've reverse-engineered the computation for

Imitate Photoshop blend effects like multiply, overlay etc

穿精又带淫゛_ 提交于 2020-01-10 22:27:32
问题 I'm making a website with a full page background image. I want to create a background image for a side column that acts like a Photoshop layer with multiply as blend mode. It's just a blue colored surface with the 'behaviour' of a Photoshop multiply layer. It's not possible to merge the overlay and the image since the background can change when the website is opened in another screen ratio/size. There are a lot of solutions on SO, but they only work with multiplying 2 images with a fixed

How does photoshop calculate the “average blur” (average color) of an image?

て烟熏妆下的殇ゞ 提交于 2020-01-05 07:40:09
问题 This is what photoshop produces for the "average blur" of the Mona Lisa image for each respective quarter. What is the algorithm for doing so? I am looking to replicate it in a simple manner.: Thanks. 回答1: There is no way to be sure of that unless you can get the source code of Photoshop but the usual way to do this is to : add all the r, g, b values of every pixel in the quarter; divide the sum of those values by the number of pixel in the quarter; create a new color with the resulting r, g,