How to make a one-color fill images with masks in documents from our multiple layers ?
Hello everyone!
I`m to open PSD document with same layers. I need to:
1. Save the jpg file (preview) in a certain place
2. All layers with masks to make one-color fill instead of images with masks.
Thanks
This is way ?
var theLayers = collectLayers(app.activeDocument, []);
alert (theLayers.join("\n"));
function collectLayers (theParent, allLayers) {//---------------------------------------------------
if (!allLayers) {var allLayers = new Array}
else {};
for (var m = theParent.layers.length - 1; m >= 0;m--) {
var theLayer = theParent.layers[m];
if (theLayer.typename == "ArtLayer") {
var bar = new Array;
bar = theLayer.bounds
l0= Math.abs(this.app.activeDocument.width - theLayer.bounds[2] - theLayer.bounds[0]);
l1= Math.abs(this.app.activeDocument.height -theLayer.bounds[3] - theLayer.bounds[1]);
if((l0+l1)>0) { // layer mask is set
// delete this layer
//create new layer
//create new mask from array bar
//fill selection
allLayers.push(theLayer);
return allLayers
I may not quite follow.
Would you mind posting an example (a screenshot with the Layers Panel visible for example) and an overview of the resulting images you want to produce?
Similar Messages
-
How can I Make just one color pop and the rest a black and white photo??
How can I make just one color pop and the rest of the photo black and white?? I'm using iphoto...
3rd party image editors like Photoshop Elements for Mac can do it:
Click to play video screenshot
Or use it to keep an object in color and the rest B/W.
Click to view full size
OT -
1. how can I change one color in design on a web site for exemple background : white to light-brown?
2. how can I edit visual bookmark on the beginning page?This doesn't sound like a Firefox issue. I think you'd be better off with a site that offers web design tutorials. Try this one: http://www.w3schools.com/
One thing you should do though and that is to update Firefox via Help | Check For Updates.
There was a security breach at Comodo which is an SSL certificate provider recently whereby a number of fraudulent certificates were inadvertently issued. These allow a hacker to impersonate any site including online banking and the Firefox version you're running at the moment will not warn you that the site is a fake. The fraudulent certificates were blacklisted in v3.6.17 and beyond.
See also: http://blogs.comodo.com/it-security/data-security/the-recent-ra-compromise/ -
How to make preflight profile witch find out if exist in document spot color with name "CutContour", if not show allert, I try many combinations but nothing works
Thanks very much for your help, but I'm still overlooking something. I double checked to make sure that I did not have a hidden .txt file extention. I then decided to abandon the lock on preferences idea until I get it working. I converted my mozilla.cfg file back to plain text. I made sure I do not have an extra blank line at the end of each file. The syntax looks good, as far as I can tell. I'll copy and paste what I have so far. Did I have the file locations correct posted above? Also, if you feel i can delete some lines of text in my mozilla.cfg file I'll be happy to do so.
mozilla.cfg
<pre><nowiki>//
pref("privacy.sanitize.sanitizeOnShutdown", true);
pref("privacy.sanitize.promptOnSanitize", false);
pref("browser.rights.override", true);
pref(“app.update.auto”, false);
pref(“extensions.blocklist.enabled”, false);
pref(“extensions.shownselectionUI”, true);
pref(“browser.shell.checkDefaultBrowser”, false);
pref(“toolkit.telemetry.enabled”, false);
pref(“toolkit.telemetry.prompted”, 2);
pref(“toolkit.telemetry.rejected”, true);
pref(“app.update.auto”, false);
pref(“browser.download.useDownloadDir”, true);
pref(“browser.search.update”, false);
pref(“signon.autofillForms”, false);
pref(“signon.rememberSignons”, false);
pref(“browser.download.manager.scanWhenDone”, true);
pref(“browser.formfill.enable”, false);
pref(“xpinstall.enabled”, true);</nowiki></pre>
channel-prefs.js
pref("app.update.channel", "release");
override.ini
[XRE]
EnableProfileMigrator=false
all-lmc.js
pref("general.config.filename", "mozilla.cfg");
defaultPref("browser.startup.homepage", "data:text/plain,browser.startup.homepage=http://bbc.co.uk");
Again, thank you very much for your time. Do I create my own browserconfig.properties, and firefox.js? Also, I forgot to mention I'm running Windows 8. -
How to make your iPad and iPhone commicate with each other
How to make your iPad and iPhone commicate with each other
this is very easy...
firstly disconnect the DSL modem for the linksys..
then connect the computer to the linksys router (port 1/2/3/4)..
then access the linksys setup UI
open ur web browser
site: http://192.198.1.1/
username: [blank]
password: admin
now hook up the westell modem.. and goto the status page ...
check Internet IP.
if then Internet IP is 192.168.1.* then,
disconnect the westell from the router and goto the setup page.
change the LOCAL IP address to 192.168.2.1 (notice the 2.1 and not 1.1)
save settings....
connect the westell and viola ur online...
if the Internet IP is 0.0.0.0 then
goto the setup page and change the 'Internet connection Type' to 'PPPoE'
once done the page changes and give u a place to enter a username and a password.. this username and password is given by verizon..
sud be something like '[email protected]'
once done save settings...
goto the status page and hit connect... give it a few moments... u shud get a Internet ip address... if u get one ur online if not then power cycle the entire network. and try check to see if u get an ip..
hope this helps...
cheers..
Life is short... So get movin !!!
DopeLorD -
Has anyone figured out how to make the Yamaha 01V96i mixer work with Logic 9.1.8
Has anyone figured out how to make the Yamaha 01V96i mixer work with Logic 9.1.8 as a control surface ?
In YAMAHA01v96i:
Go to DIO/SETUP select Generic DAW. Go to MIDI settings page and set the desired port (personally I use Number 1), Select the same audio frequency you use in your DAW (I use 44.1KhZ)...at this point You should save a scene in you 01V96i to avoid to repeat all the procedure again.
Open studio manager, go to patch and set the input port from 17 to 32 respectively to USB1-USB16 (this will give you the return from you DAW to the 01v96i
Save again the scene overwriting the old one.
in LOGIC
Click on preferences, select Audio then select 01v96i, then click on control surface and select Mackie design Baby HUI and in the midi session set the same port that you've been setting on the Yamaha 01V96i (Port 1 if you follow this example).
That's more or less it.
It worked for me...so far -
How to make warehouse field inactive for all users in all documents autom.
Hi All,
Can anyone pls tell me "**how to make warehouse field inactive for all users in all documents without having to do it through form setting** "for each and every user. It should be visible but inactive
Thanks & Regards,
Mukesh AgrawalHi,
As a work around create a warehouse SelectWH and map the mandatory acoounts as a On hold account(in chart of accounts).So there will not be any posting on this account.
And set this warehouse as default warehouse for all users.
So without selecting the appropriate warehouse the user can not add the document.
I think this might resolve you issue. -
How do I save one sheet as a PDF in Numbers when I have multiple sheets?
How do I save one sheet as a PDF in Numbers when I have multiple sheets?
Welcome to the Apple Community Danny.
I don't believe you can.
If you have any suggestions that you think might enhance Numbers for iOS you can send Apple your feedback here. -
Hello
How to make labview program to get average value of 200 reading from multimeter (I using using loop) to read voltage from mulmeter but I like to get average value of all of 200 reding how can I do that?
Thanks
Wee
Solved!
Go to Solution.Another idea with less programming - take advantage of the "free" array that comes with a Chart - i.e. the History Data.
1) Wire your DMM data to a Chart. (You can set the chart to invisible if you don't plan on using it in the GUI).
2) Set the Chart History Length to 200 (right click on the chart, click on Chart History Length...)
3) On the block diagram, use the History Data Property Node, wire it to Mean.vi, and you're done.
Easiest running average ever.
Message Edited by Broken Arrow on 04-07-2010 11:36 AM
Richard
Attachments:
EasyAvg.jpg 8 KB -
I deleted my uninstaller by accident how do get another one so that I can uninstall After Effects from my hard drive
Why did you do that? Certainly not standard procedure. Fortunately, there is a fix: Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6
-
Hello, i would like to know how to make horizontal sites and it moves with the scroll
Hello, i would like to know how to make horizontal sites and it moves with the scroll
Hi
You can refer to these videos :
http://www.lynda.com/Muse-tutorials/basics-horizontal-scrolling-websites/108131/115685-4.h tml
https://www.youtube.com/watch?v=gZI_K1TXqOM
Thanks,
Sanjit -
I am using a Photoshop cs2, and I wonder if it is possible to keep the settings of the guidelines when closing an image, with the actual document ? It would be nice to have the guidelines locked down, I find it than when opening the same or another image, the guidelines are not locked, it is annoying to have to lock them down again. and it would actually be nice, to ba able to give specific directions when placing the guidelines. Thanks
Then why are the guides unlocked when I reopen a document that I saved with the guides locked ?
Thanks. -
Hi,
I am getting the error while uploading images to SAP Mobile Documents from custom iOS(iPad )application using ObjectiveCMIS library.
My Custom method is as follows:
- (void)createSalesOrderRouteMapImageInFolder:(NSString*)salesOrderRouteMapFolderId routeMapImageTitle:(NSString *)imageTitle routeMapContent:(NSData *)imageData
NSInputStream *inputStream = [NSInputStream inputStreamWithData:imageData];
NSMutableDictionary *properties = [NSMutableDictionary dictionary];
[properties setObject:[NSString stringByAppendingFileExtension:imageTitle] forKey:@"cmis:name"];
[properties setObject:@"cmis:document" forKey:@"cmis:objectTypeId"];
[self.session createDocumentFromInputStream:inputStream
mimeType:@"image/png"
properties:properties
inFolder:salesOrderRouteMapFolderId
bytesExpected:[imageData length]
completionBlock:^(NSString *objectId, NSError *error) {
NSLog(@"Object id is %@",objectId);
if(error == nil) {
[inputStream close];
NSLog(@"Uploading Sales order route map successfully.");
[[NSNotificationCenter defaultCenter] postNotificationName:SaveOrderSuccessNotification object:nil];
} else {
[inputStream close];
NSLog(@"Uploading sales order route map failed.");
[[NSNotificationCenter defaultCenter] postNotificationName:SaveOrderFailedNotification object:error];
} progressBlock:^(unsigned long long bytesUploaded, unsigned long long bytesTotal) {
NSLog(@"uploading... (%llu/%llu)", bytesUploaded, bytesTotal);
OBjectiveCMIS Method in which i am getting error during upload:
- (void)sendAtomEntryXmlToLink:(NSString *)link
httpRequestMethod:(CMISHttpRequestMethod)httpRequestMethod
properties:(CMISProperties *)properties
contentInputStream:(NSInputStream *)contentInputStream
contentMimeType:(NSString *)contentMimeType
bytesExpected:(unsigned long long)bytesExpected
cmisRequest:(CMISRequest*)request
completionBlock:(void (^)(CMISObjectData *objectData, NSError *error))completionBlock
progressBlock:(void (^)(unsigned long long bytesUploaded, unsigned long long bytesTotal))progressBlock
// Validate param
if (link == nil) {
CMISLogError(@"Must provide link to send atom entry");
if (completionBlock) {
completionBlock(nil, [CMISErrors createCMISErrorWithCode:kCMISErrorCodeInvalidArgument detailedDescription:nil]);
return;
// generate start and end XML
CMISAtomEntryWriter *writer = [[CMISAtomEntryWriter alloc] init];
writer.cmisProperties = properties;
writer.mimeType = contentMimeType;
NSString *xmlStart = [writer xmlStartElement];
NSString *xmlContentStart = [writer xmlContentStartElement];
NSString *start = [NSString stringWithFormat:@"%@%@", xmlStart, xmlContentStart];
NSData *startData = [NSMutableData dataWithData:[start dataUsingEncoding:NSUTF8StringEncoding]];
NSString *xmlContentEnd = [writer xmlContentEndElement];
NSString *xmlProperties = [writer xmlPropertiesElements];
NSString *end = [NSString stringWithFormat:@"%@%@", xmlContentEnd, xmlProperties];
NSData *endData = [end dataUsingEncoding:NSUTF8StringEncoding];
// The underlying CMISHttpUploadRequest object generates the atom entry. The base64 encoded content is generated on
// the fly to support very large files.
[self.bindingSession.networkProvider invoke:[NSURL URLWithString:link]
httpMethod:httpRequestMethod
session:self.bindingSession
inputStream:contentInputStream
headers:[NSDictionary dictionaryWithObject:kCMISMediaTypeEntry forKey:@"Content-type"]
bytesExpected:bytesExpected
cmisRequest:request
startData:startData
endData:endData
useBase64Encoding:YES
completionBlock:^(CMISHttpResponse *response, NSError *error) {
if (error) {
CMISLogError(@"HTTP error when sending atom entry: %@", error.userInfo.description);
if (completionBlock) {
completionBlock(nil, error);
} else if (response.statusCode == 200 || response.statusCode == 201 || response.statusCode == 204) {
if (completionBlock) {
NSError *parseError = nil;
CMISAtomEntryParser *atomEntryParser = [[CMISAtomEntryParser alloc] initWithData:response.data];
[atomEntryParser parseAndReturnError:&parseError];
if (parseError == nil) {
completionBlock(atomEntryParser.objectData, nil);
} else {
CMISLogError(@"Error while parsing response: %@", [parseError description]);
completionBlock(nil, [CMISErrors cmisError:parseError cmisErrorCode:kCMISErrorCodeRuntime]);
} else {
CMISLogError(@"Invalid http response status code when sending atom entry: %d", (int)response.statusCode);
CMISLogError(@"Error content: %@", [[NSString alloc] initWithData:response.data encoding:NSUTF8StringEncoding]);
if (completionBlock) {
completionBlock(nil, [CMISErrors createCMISErrorWithCode:kCMISErrorCodeRuntime
detailedDescription:[NSString stringWithFormat:@"Failed to send atom entry: http status code %li", (long)response.statusCode]]);
progressBlock:progressBlock];
Attaching the logs:
ERROR [CMISAtomPubBaseService sendAtomEntryXmlToLink:httpRequestMethod:properties:contentInputStream:contentMimeType:bytesExpected:cmisRequest:completionBlock:progressBlock:] HTTP error when sending atom entry: Error Domain=org.apache.chemistry.objectivecmis Code=260 "Runtime Error" UserInfo=0x156acfa0 {NSLocalizedDescription=Runtime Error, NSLocalizedFailureReason=ASJ.ejb.005044 (Failed in component: sap.com/com.sap.mcm.server.nw) Exception raised from invocation of public void com.sap.mcm.server.service.AbstractChangeLogService.updateChangeLog(java.lang.String,boolean) throws com.sap.mcm.server.api.exception.MCMException method on bean instance com.sap.mcm.server.nw.service.NwChangeLogService@4e7989f3 for bean sap.com/com.sap.mcm.server.nw*annotation|com.sap.mcm.server.nw.ejb.jar*annotation|NwChangeLogService in application sap.com/com.sap.mcm.server.nw.; nested exception is: javax.ejb.EJBTransactionRolledbackException: ASJ.ejb.005044 (Failed in component: sap.com/com.sap.mcm.server.nw) Exception raised from invocation of public com.sap.mcm.server.model.ChangeLog com.sap.mcm.server.dao.impl.ChangeLogDaoImpl.findByUserId(java.lang.String) method on bean instance com.sap.mcm.server.dao.impl.ChangeLogDaoImpl@2852b733 for bean sap.com/com.sap.mcm.server.nw*annotation|com.sap.mcm.server.nw.ejb.jar*annotation|ChangeLogDaoImpl in application sap.com/com.sap.mcm.server.nw.; nested exception is: javax.persistence.NonUniqueResultException: More than 1 objects of type ChangeLog found with userId=25f8928e-8ba0-4edd-b08e-43bf6fb78f1a; nested exception is: javax.ejb.EJBException: ASJ.ejb.005044 (Failed in component: sap.com/com.sap.mcm.server.nw) Exception raised from invocation of public com.sap.mcm.server.model.ChangeLog com.sap.mcm.server.dao.impl.ChangeLogDaoImpl.findByUserId(java.lang.String) method on bean instance com.sap.mcm.server.dao.impl.ChangeLogDaoImpl@2852b733 for bean sap.com/com.sap.mcm.server.nw*annotation|com.sap.mcm.server.nw.ejb.jar*annotation|ChangeLogDaoImpl in application sap.com/com.sap.mcm.server.nw.; nested exception is: javax.persistence.NonUniqueResultException: More than 1 objects of type ChangeLog found with userId=25f8928e-8ba0-4edd-b08e-43bf6fb78f1a}
2015-03-12 04:08:31.634 Saudi Ceramics[4867:351095] Uploading sales order route map failed.Hi Sukalyan,
Have you checked the below links?
These will give you step by step implementation procedure.
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a099a3bd-17ef-2b10-e6ac-9c1ea42af0e9?quicklink=index&overridelayout=true
http://wiki.sdn.sap.com/wiki/display/WDJava/KmuploadusingWebdynproapplication
Regards,
Sandip -
How to make true two-color image from scanned rgb image...
hello...
I have 50 scanned images from one book, cyan + black, offset. How to easy make new two color (C+K) from this rgb images? If possible to make action.
sample:How to easy make new two color (C+K) from this rgb images?
Not at all. They need extensive adjustments long before that - they are scanned wrongly to begin with (double-sided must be scanned against a black background), have fingerprints and whatnot. Once you have them cleaned up, converting to CMYK and cleaning up the colors is anotehr matter. Could be as easy as blanking out the yellow and magenta channels, could entail additiojnal extensive work. in any case, it won#t probably be automatic.
Mylenium -
How to make a table color or back ground image go on forever
How do I make a table go on forever (to the right)? I know
you can edit the size of the table, but if you make it larger than
your own computer screen it makes you have to scroll left and
right. I want to know how do I make a table go on forever with out
making someone with a small screened computer have to scroll left
and right.
Thanks.,You can't. What is it you are trying to accomplish?
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"-Michael--" <[email protected]> wrote in
message
news:eddbh5$a45$[email protected]..
> How do I make a table go on forever (to the right)? I
know you can edit
> the
> size of the table, but if you make it larger than your
own computer screen
> it
> makes you have to scroll left and right. I want to know
how do I make a
> table
> go on forever with out making someone with a small
screened computer have
> to
> scroll left and right.
>
> Thanks.,
>
Maybe you are looking for
-
OWA email shows "script alert undefined" message
I have an internet enabled Nokia E71. when I try accessing my (web based) microsoft outlook web app mail through the web on the phone, ie. by typing web address as 'https://owa.*****.org/owa' then on entering the username and password mail account op
-
UCM Access with Peoplesoft Portal and CIS?
Hi, Can someone point me to any links about integrating PeopleSoft Enterprise Portal with the Oracle UCM? Has anyone had results using PeopleCode Java Objects to communicate with the UCM via CIS? With other portlet-compliant environments gaining acce
-
Gray hourglass shows instead of my pictures
When I downloaded my files from Adobe Photoshop elements 12 to 13 some of them never showed and instead had an hourglass showing. When I tried to add pictures from my files only an hourglass shows and if I try to edit a picture when I finish the edit
-
Can I use the iPhone 4s as is in Europe?
Can you use a iPhone 4s as is in Europe?
-
Command prompt execution memory error
Hello, I have a problem, I have written a program which uses 2 very large vectors. I edit it in edit plus and then run it from there via the user tools I created and it works great. However when I go in the DOS prompt and execute it 'java DataMatch'