photoshop

OpenCV python Stamp filter photoshop

白昼怎懂夜的黑 提交于 2019-12-07 23:22:10
问题 I am new to opencv. I have multiple images. One of sample image as shown below at top left corner. Basically I want to separate background and foreground so that edges are clear and I can detect contours properly. I have tried many filter and of course thresholds using various parameters. Finally when I was looking on photoshop filters gallery I noticed a filter called Stamp which is giving me desired result(top-right corner). It makes edges clear and I guess use some amount of blur to soft

Turning Multiple Layers On and Off in Photoshop Script

喜欢而已 提交于 2019-12-07 14:12:15
问题 I have 6 groups in Photoshop that contain a number of layers within each group. I'm looking to turn on/off a layer within each group to create every possible combination of the image. Can someone point me in the right direction? I've never scripted in Photoshop but trying to figure this out on my own. 回答1: I'm quite new to CS5 scripting myself, but I think I can explain how it works. The code examples may not be the most effective way to do it, but it does the trick. There is a big difference

Function to show/hide layer with Photoshop script (JSX)

给你一囗甜甜゛ 提交于 2019-12-07 11:13:49
问题 I am writing a script that will loop through layers, trim them and export. So far I have most of all the element I need to complete this script. The only thing I can't find is how to show/hide an individual layer. I've found functions to show/hide all layers but nothing for one single layer. /////////////////////////////////////////////////////////////////////////////// // selectAllLayers - select all layers (Select > All Layers) ///////////////////////////////////////////////////////////////

What exactly is the font-size? [duplicate]

匆匆过客 提交于 2019-12-07 07:19:30
This question already has answers here : Closed 7 years ago . Possible Duplicate: CSS Font Size Specifics I have been wondering what exactly is the font size when it comes to web design. I mean if I set the font size to 25px, will my text have a height of 25px ? Because I tried that with photoshop and if I set the font size to 30px, a regular capital letter (ex: "B") will be 24px tall, a regular letter (ex: "a") will be 19px tall and a "j" will be 27px tall. So what exactly means the font size ? EDIT: My question may not be clear so, how can you compute the height of a letter based on the font

Photoshop-like, embeddable web based image editor? [closed]

不问归期 提交于 2019-12-07 04:11:34
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 6 years ago . Online Image Editor - Ajax or Flex / Flash? The above wasn't really the answer that I was looking for. I'm looking for an online image

Bitmap three times larger in Android Studio

放肆的年华 提交于 2019-12-06 13:36:04
I'm developing the splash screen for an Android application and I wanted to simply put an image designed in Photoshop as a background. The problem is that when I save the image its resolution is 1080 x 1920, but when I add it as a drawable in Android Studio, it gives me the error "Bitmap too large..." and says that the resolution is 3240 x 5760 (exactly 3 times bigger). I can't figure out why this happens, can you please help me? Thanks drawable folder in Android actually represents drawable-mdpi folder. If you put images in drawable folder they will be upscaled in devices with higher dpi.

Photoshop on web server for scripts

做~自己de王妃 提交于 2019-12-06 12:54:25
问题 So, I'm trying to think of the best way to solve a problem I have. The problem is that I produce many websites for my job and as CSS3 and HTML5 introduce themselves powerful I want to eliminate almost all images from my websites. For button icons and various other things I have a sprite image with all the icons on that I just shift around depending what icon I need. What I need to be able to do is recolour this image dynamically on the web server so that I don't have to open up Photoshop and

Full Screen Background Image Is Stretched

社会主义新天地 提交于 2019-12-06 10:15:37
问题 I had made a full screen background image for one of my clients, but the problem is that when I make the image to fit all the screen using the following css codes: #bg-image img{ position:fixed; left:0; top:0; width:100%; max-height: 100%; } #bg-image{ height: 100%; width: 100%; float: left; overflow: hidden; position: relative; } Everything works perfect, as the image is filling all the background of my home page, but the problem is that now the background image seems to be stretched, and I

charIDToTypeID Photoshop Javascript

半世苍凉 提交于 2019-12-06 06:43:54
问题 Okay, I understand that charIDToTypeID converts a string into the ID photoshop can actually use but I'm seeing ones I cannot find reference for: var idLyr = charIDToTypeID( "Lyr " ); var idOrdn = charIDToTypeID( "Ordn" ); var idTrgt = charIDToTypeID( "Trgt" ); What is "Lyr ", "Ordn" and "Trgt" - I googled to find reference but they don't show up in the adobe reference info: http://cssdk.host.adobe.com/sdk/1.0/docs/WebHelp/app_notes/photoshop.htm I'm trying to find out how this person wrote

2 opposite opacity values dont produce opaque color

纵然是瞬间 提交于 2019-12-06 05:16:56
I want to produce an opaque solid color with 2 opacity values of that color. eg: 0.5 opacity black color rectangle when placed above same 0.5 opacity black color doesn't give me same result as an opaque (opacity 1) black color. I have tried this with different range of opacity values and found something like 0.5 & 0.8 produce 0.9 opacity black color, 0.4 & 0.82 and so on. These are not accurate values. What is the exact formula for calculating exactly opposite opacity values? If two elements with opacity 1-a and 1-b are stacked on top of each other, their combined opacity will be 1-a*b , so