photoshop

Different Launch Screen Image or Background Image Sizes for iOS devices

不想你离开。 提交于 2019-12-28 07:09:53
问题 I read some of those website links that explain about exporting different image sizes for iOS device. But I don't really understand of those explaining. (May be I am not good at in English language.) I found these dimension for launch screen. Please let me clarify my understanding to you guys. So, when I create an image, I must create a larger size(@3x) firstly and should export that image into smaller sizes (@2x, @1x). Am I right? For example, I create 1242x2208px (3x) image and scale to 2x

How to load a selection?

旧时模样 提交于 2019-12-25 09:28:58
问题 I am trying to load my selection like the picture below, where the marching ants go around the edges of my object: However, i only know how to select the whole layer using this code: doc.selection.selectAll(); Also, i want to contract the selection by a few pixels and paste it into a channel layer. Any help with that would be great but the most important thing is how to load the selection in the first place. 回答1: If you look up in the Javascript Scripting Reference document in your Photoshop

How to make static PSD fit into Responsive Bootstrap grids

偶尔善良 提交于 2019-12-25 06:48:07
问题 If you have a designer that is not specifically designing a PSD(mockup) around bootstrap column sizes how do you make the two fit ? It seems to me the options are : 1. Generate a Custom bootstrap grid 2. Don't use bootstrap 3. Use a mix of bootstrap and fixed width columns (Yuck? ) I'm sure I'm not the only one who has ever faced this problem . Looking for real world solutions or documentation. Not theories. thanks 回答1: When you have a psd file, the problem that you can encounter is the width

Custom styling of UINavigationBar not working properly

你。 提交于 2019-12-25 05:24:12
问题 I am using this code to set custom background image for all UINavigationBars. The problem is that the final image does not appear to be retina size. I researched UINavigationBars are 640x88px. Thats exact dimensions of my UINavigationBar.png however I only see 320x44px on the iPhone Sim(retina) and my iphone 4 which is also retina. The code that sets the image: UIImage *background = [UIImage imageNamed:@"UINavigationBar.png"]; [[UINavigationBar appearance] setBackgroundImage:background

AS3 photoshop brushes

。_饼干妹妹 提交于 2019-12-24 22:57:38
问题 I'm searching for a way to build a photoshop like drawing tool in ActionScript 3. Especially I want to build something like the brushes in photoshop. So that you can use different PNG's as a brush. I tried it with saving a brush in photoshop as a transparent png, import it into my AS3 project and with a mouse move event, draw the png everytime you move the mouse into a bitmapdata object. But that doesn't look like photoshop. Here's a example, first the photoshop drawing, then the as3 drawing:

Change font for particular text via script in Photoshop

二次信任 提交于 2019-12-24 17:07:05
问题 Looking for a script or action for changing font face for a particular word or text in a paragraph. I have multiple .psd files (80+) where I need to change font for a specific text say "Hello" from Arial to Tahoma and also make it bold. Really appreciate a help! 回答1: You could try "jam" framework. There is class for manipulating with text. http://www.tonton-pixel.com/JSON%20Action%20Manager/jsDoc/symbols/jamText.html You are looking for textStyleRange. var text = "Bonjour !"; var layerText =

How to use PSD in WPF progressbar?

…衆ロ難τιáo~ 提交于 2019-12-24 13:45:07
问题 I have a PSD file, I want to use it in WPF as a progressbar. I don't know how to do it. I read this https://msdn.microsoft.com/en-us/library... There is written, I have to Choose "Import Adobe Photoshop File..." from the "File" menu But I have "Blend for Visual Studio 2015", there is not such option. Do I need to install Expression Studio? After importing, how to use it as a progressbar and update it when necessary ? The PSD file's image Link = http://s21.postimg.org/70igirqif/Capture.png

Using Javascript to save files in Photoshop without a prompt?

时光怂恿深爱的人放手 提交于 2019-12-24 12:47:07
问题 I am using a simple script to edit an existing image. No matter what I do, a save prompt always comes up. I want this to be 100% automated. save() gives me a saveAs prompt to save it as a copy. close(SaveOptions.SAVECHANGES) just gives me a generic "Do you wish to save before closing?" box that I still need to select Yes on. saveAs() gives me the same as save(), except I can toddle the "As copy" option off... but that still doesn't help. 回答1: Try this instead: // where fPath is your file path

Approximating Gaussian Blur Using Extended Box Blur

末鹿安然 提交于 2019-12-24 12:27:25
问题 The problem is a s following, how to approximate a Gaussian Blur Filter with a given STD using Box Blur / Extended Box Blur. More specifically, I know this is the way Photoshop applies its Gaussian Blur. First, an article about "Extended Box Blur can be seen here - Theoretical Foundations of Gaussian Convolution by Extended Box Filtering. The problem I'm having is with Figure 2 in the article. The best way to explain this would be using an example. Let's say we need to approximate a Gaussian

Photoshop scripting: app.activeDocument is undefined

独自空忆成欢 提交于 2019-12-24 12:21:51
问题 I'm trying to access current opened document in script, but it's undefined. But i have opened document in Photoshop. Should i initialize it somehow? Here is my code function ProcessDocumentWithoutXML() { g_rootDoc = app.activeDocument; g_progBar = new ProgressBar(); if (app.activeDocument != null) { ProcessLayersWithoutXML(g_rootDoc); alert("Done!"); } else { alert("Missing active document"); } } ProcessDocumentWithoutXML(); 回答1: In order for it to work g_rootDoc = app.activeDocument; needs