photoshop

VB: Assigning to a Boolean property in Adobe Illustrator, Photoshop

放肆的年华 提交于 2019-12-10 20:04:01
问题 While automating Adobe Illustrator CS3 using VBA I discovered that assigning a Boolean variable to a Boolean property results in assigning False always: Dim New_Path As Illustrator.PathItem Dim v As Boolean ' ... v = True New_Path.Filled = v ' ERROR: New_Path.Filled is False v = False New_Path.Filled = v ' New_Path.Filled remains False Assigning to a constant works fine: Dim New_Path As Illustrator.PathItem ' ... New_Path.Filled = True ' New_Path.Filled is True New_Path.Filled = False ' New

Convert transparent PNG image into transparent JPEG or transparent GIF [closed]

拈花ヽ惹草 提交于 2019-12-10 19:39:59
问题 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 7 years ago . I have a transparent PNG Image. I want to add it as watermark for this video recording software. But the problem is, software requires jpeg image as a watermark. When I converted that image to JPEG(using Pixle Editor) it lost its transparency and does no look good in video. How do I convert Tranparent PNG to

How do I remove gloss from an iPhone app icon?

给你一囗甜甜゛ 提交于 2019-12-10 19:07:17
问题 Here is a tutorial that tells you how to remove the gloss on an app in xcode. How can I do this in flash cs5? If I can't, can I do something to the image in photoshop so that it looks like it has no gloss when the gloss is applied? 回答1: In the xml that is generated with your swf go to the node < InfoAdditions > And add the following after <![CDATA[ <key>UIPrerenderedIcon</key><true/> before <key>UIDeviceFamily</key> Then when you compile, you icons will be without gloss 回答2: For the plist,

Is XMP metadata supported in PNG images?

情到浓时终转凉″ 提交于 2019-12-10 14:17:13
问题 I've been trying to understand how XMP metadata worked on PNG files for the last few hours but couldn't quite wrap my head around it. If I create a PNG image with Photoshop, save it and open the File Info dialog (File > File Info or Ctrl+Alt+Shift+I), I can see some XMP properties like CreateDate , CreatorTool or ModifyDate . Now if I try to open the file with exiv2 and read the metadata it seems to not find anything: auto image = Exiv2::ImageFactory::open(imagePath); image->readMetadata();

TActionMainMenuBar and TActionToolbar lose settings

霸气de小男生 提交于 2019-12-10 03:19:19
问题 I stumbled across a really weird behavior recently. When I use a TActionMainMenuBar (or a TActionToolBar) in my program, compile and run, and then start Photoshop CS5 or Internet Explorer 9, the ActionMainMenuBar (and ActionToolBar) loses all its settings. The colors defined in the assigned colormap disappear and the font settings are also lost. Has anyone seen this before and knows a workaround? D2007 Pro (all updates applied), D2010 Pro (all updates applied), Vista Home Premium 32 bit,

What's the best way to version control graphical assets on Windows?

[亡魂溺海] 提交于 2019-12-10 03:15:05
问题 I'm a web developer / designer, and I want to be able to version control graphic files (Photoshop / Fireworks / Illustrator / Stock Photos / etc). This would normally be fine but some of the files I have tip the scales at around 800MB, which TortoiseHG chokes on. I currently have a server I put all my files on so all my computers can access (it's my work computer and I have some flexibility as to installing some linux packages). Any advice on the best way to go about this would be appreciated

Photoshop scripting: changing text of a text layer

一个人想着一个人 提交于 2019-12-09 06:01:41
问题 Because I don't have enough time to learn all about PS-Scripting, I was wondering, if you may help me. It's very simple. I want to have a JS-Script, which changes the Text of the Top Layer . For example: The Text is "#005", the script should add 1, so it says "#006". After that, it should export (Save for Web & Devices w. transparency @ 1280x720) the file with the current number (006). Here's a screen of the layers ( omg its in german!!11 ): imageshack.us/photo/my-images/706/helpal.png 回答1:

OpenCV and Unsharp Masking Like Adobe Photoshop

元气小坏坏 提交于 2019-12-09 05:00:55
问题 I am trying to implement unsharp masking like it's done in Adobe Photoshop. I gathered a lot of information on the interent but I'm not sure if I'm missing something. Here's the code: void unsharpMask( cv::Mat* img, double amount, double radius, double threshold ) { // create blurred img cv::Mat img32F, imgBlur32F, imgHighContrast32F, imgDiff32F, unsharpMas32F, colDelta32F, compRes, compRes32F, prod; double r = 1.5; img->convertTo( img32F, CV_32F ); cv::GaussianBlur( img32F, imgBlur32F, cv:

How to get the correct font sizes from Photoshop into iOS

天涯浪子 提交于 2019-12-09 04:39:39
问题 I have a design in an psd file. So I copied all text properties (fontname, size (in pt), color, etc) into code and run it. I did a screenshot and compared that to the design. I am wondering, why is iOS (in my case) rendering the font sizes (in pt) smaller than Photoshop does? Does pt depend on the screen resolution? Is there maybe a helper function that i could calculate it from a px size? Thanks... 回答1: I think the easiest way (not sure if the most accurate one) would be to take pixel values

Photoshop Javascript scripting saving and closing document

Deadly 提交于 2019-12-09 01:38:04
问题 I'm having trouble saving for some reason; I'm using Photoshop CS5.1 (if that really is the cause of the issue) error 8800: General Photoshop error occurred. This functionality may not be available in this version of Photoshop. Could not save a copy as C:\...\Temp001.jpeg0011338281522" because the file could not be found var thistimestamp = Math.round(new Date().getTime() / 1000); saveFile = new File( "/Users/Barny/My Pictures/Temp001" +thistimestamp+ ".jpeg" ) saveOptions = new