I need to replace a color on my image with a specific color from another part of the image. How?!
I have spent over 2 hours trying to figure out how to replace a color on one part of my image with a specific color shown on another part of the image. So far I have been able to go to "Replace Color" on my Adobe Photoshop version, but it seems that I can only change the hue and brightness of the color that it currently is. I need to use a specific color so this does not help me. Does anyone know how to complete the task I am referring to?
Also, please keep in mind that I am using Adobe Photoshop 6.0, not a fancy cs version or anything. So it's pretty old school...
Any help/feedback is greatly appreciated! Thank you.
Hi brookehelene,
You might consider making a selection the object and using a color fill layer set to the color blend mode instead of replace color.
I used the same picture as kendallplant did and changed the color on the same flower by sampling the pink color from the flower to the right)
(click on the screenshots below for larger views)
1. Select>Color Range
(i used color range because the dialog is somewhat similar to the replace color dialog, except one is making a selection instead of replacing a color)
(there are many other ways to make the selection such as the magic wand, so if your more familar with the other selection tools you can use those instead to make your selection)
2. Use the eyedroppers and fuzziness slider in the color range dialog to make the selection of the object.
(in the screenshot below the white areas are selected and black areas are not)
(your selection probably won't be perfect, but you can paint on the layer mask to refine the selection)
3. After you press the okay in the color range dialog you'll see the selection (marching ants)
At the bottom of the layers palette press the Create New Fill or Adjustment Layer icon
to reveal a list and choose Solid Color.
Then use the eyedropper to sample a color from your image and press ok.
Change the Blend mode for the color fill layer to Color (top of the layers palette)
4. As you can see a lot has been selected besides the flower.
To refine the areas of color, paint on the layer mask with the paintbrush tool.
Use white to add the color or black to subtract the color
You can press the D key on the keyboard to get the default colors (black and white) in the toolbox
and press the X key to switch between the two when painting on the layer mask.
Even though the above takes longer you can easily change the color or modify the areas that you want to change the color on.
To change the color you can double click on the color fill icon in the layers panel.
You can also use other layer blend modes besides color such as hue, so you might try some of the others and see what they do.
Similar Messages
-
My Photoshop CS 5 has some strange actions when I copy a portion of a photo using the clone stamp to transfer to another part of the image. It carries the entire layer (not just the stamps selection) across the screen and I cannot place it where I need to. It appears as if I selected the entire layer on purpose (which I did not)
The below items appeared when I opened Photoshop CS 5:
“Photoshop has encountered a problem with the display driver and has temporarily disabled G & U enhancements. Check the video card malfunctions website for latest software. GPU enhancements can be enabled in the performance panel of preferences.”
(I believe this started after the automatically updated Windows was applied. It was coincident with the before mentioned problem . . . but I don’t really know if it had anything to do with it. )For the Clone Stamp problem, check the Clone Source panel and Clipped is probably unchecked.
If so, check Clipped and see if that makes a difference.
(Window>Clone Source)
As to the video card problem:
Which version of windows are you using?
What is the make and model of your graphics card?
Do you know which update windows installed? -
I have tried processing these through Bridge and image processor, but can only limit either of the height or width to the 800px size. I need the final images to be 800x800px, and don't mind if they have a white border to achieve this.
thanks for that I've cracked it
-
Do I need to export multiple sizes for all standard print sizes? i.e.Say I crop the image in LR to 6'5" x 9' to fit within an 11" x 14" (overall) mat of a framed print.. Now let's say I want to reprint that same image in a 12" x 16" size ... to fit within a mat of with overall size of 20" x 24"? Or will the 1st export be "locked" at 6.5" X 9" (proportionately)?
So, for the first one Export it cropped to 6.5 x 9 - and in the Export Dialog box there is a capability to rename the file for exported output - which would allow you to add something like the crop or intention to the base name of the file. e.g. for _IMG0846.nef - setup the output filename to _IMG0846-65x9 for 11x14.jpg and output it at, say 300 or 360 dpi. So, it has a unique name and purpose in your output folder.
For best results, now, re-crop the picture in LR - just open the crop [R] dialog again, reframe the image to the new ratio, 12x16 and Export again - with an adjustment to the filename. e.g. _IMG0846-12x16 for 20x24.jpg
So, now you have two clearly identified image files in your output area and you can provide those to whomever is printing for you, etc. Discard them when you're done since you always have the original to return to to re-frame again as necessary.
This way you get output sharpening and resolution (in pixels) optimized for your output print size. Maybe not super important for smallish prints-but more important for larger ones. Output at 100 quality. -
I have PC with Windows XP. I wish to buy a book but it says I need iOS with a specific version of iBooks to open the file. How can I open the product without using an Apple product?
What is the GarageBand version that your friend is using?
If it is GarageBand '11, version 6.0.5, you can buy GarageBand '11 as a boxed retail version with the iLIfe '11 bundle, e.g. from Amazon.
Then you can upgrade GarageBand '11 to 6.0.5, using this upgrader from the Support page:
GarageBand 6.0.5
GarageBand 6.0.5 will work well with your system. But if your friend is using the newest GarageBand 10, this will not help. Then ask your friend to send you audio files for each track, so you can recreate the project from the audio. Or your friend could also use GarageBand '11 for the projects you want to share, that will run well in all newer MacOS X versions, even with GarageBand 10.0 installed on the same system.
-- Leonie -
Do you need to be constantly connected to wifi or 3G to receive texts from another apple phone user who is using iMessage?
No.
Much as a missed call while not connected goes to voicemail, a missed text or iMessage while not connected will wait until you are connected, then be delivered.
There is one exception, however. Many cellular carriers do not support iMessage. So if you are connected by cellular signal and not WiFi, you will receive the message as an SMS text message using your cellular carrier. -
How to get a .tif image with n different colors?
Hi..i want to know how can i get a .tif image colored by some colors. I want to do something like this:
if(tifImage.pixel < 0.1) {
tifImage.pixel = yellow;
else if( 0.1 <= tifImage.pixel && tifImage.pixel <0.5){
tifImage.pixel = red;
up to n colors.
I prove the next code, but it is not getting the colors i want.
public void generateImage(BufferedImage bi,double alto,double medio,String output){
int width = bi.getWidth(); // Dimensions of the image
int height = bi.getHeight();
// Some constant colors (as arrays of integers).
int[] red = {255, 0, 0};
int[] green = { 0,255, 0};
//int[] blue = { 0, 0,255};
int[] yellow = {255,255, 0};
//int[] background = { 85, 85, 85};
int[] background = { 255, 255, 255};
// The original image data will be stored on this array.
int[][][] imageData = new int[width][height][3];
// We'll fill the array with a test pattern bars thingie.
double[] pixelArray=null;
for(int w=0;w<width;w++)
for(int h=0;h<height;h++)
if(bi.getRaster().getPixel(w,h,pixelArray)[0]>=9000){
//lo dejo blanco
imageData[w][h] = background;
else if(bi.getRaster().getPixel(w,h,pixelArray)[0]>=alto){
//lo dejo rojo
imageData[w][h] = red;
else if(bi.getRaster().getPixel(w,h,pixelArray)[0]>=medio){
//lo dejo amarillo
imageData[w][h] = yellow;
else{
//lo dejo verde
imageData[w][h] = green;
// Now we have a color image in a three-dimensional array, where the
// third dimension corresponds to the RGB components.
// Convert the color image to a single array. First we allocate the
// array.
// Note that this array will have the pixel values composed on it, i.e.
// each R,G and B components will yield a single int value.
byte[] imageDataSingleArray = new byte[width*height*3];
int count = 0;
// It is important to have the height/width order here !
for(int h=0;h<height;h++)
for(int w=0;w<width;w++)
// Rearrange the data in a single array. Note we revert RGB, I still don't
// know why.
imageDataSingleArray[count+0] = (byte)imageData[w][h][2];
imageDataSingleArray[count+1] = (byte)imageData[w][h][1];
imageDataSingleArray[count+2] = (byte)imageData[w][h][0];
count += 3;
// Create a Data Buffer from the values on the single image array.
DataBufferByte dbuffer = new DataBufferByte(imageDataSingleArray,width*height*3);
// Create an pixel interleaved data sample model.
SampleModel sampleModel =
RasterFactory.
createPixelInterleavedSampleModel(DataBuffer.TYPE_BYTE,
width,height,3);
// Create a compatible ColorModel.
ColorModel colorModel = PlanarImage.createColorModel(sampleModel);
// Create a WritableRaster.
WritableRaster raster = RasterFactory.createWritableRaster(sampleModel,dbuffer,new Point(0,0));
// Create a TiledImage using the SampleModel.
TiledImage tiledImage = new TiledImage(0,0,width,height,0,0,sampleModel,colorModel);
// Set the data of the tiled image to be the raster.
tiledImage.setData(raster);
// Save the image on a file.
JAI.create("filestore",tiledImage,output,"TIFF");
ThanksI tried that. When I open one image and set the exposure, then go to open the second image, nothing happens. I then saved one image as a psd file, then it would let me open the raw file a second time. When I had both open on the same screen and dragged the layer from one into another image, the layer size ended up being different than the other file. It was shifted down and to the left. I need these images to be pixel locked, and the user experience I went through did not allow me to do this.
I also do not see a way to copy/paste layers between files. -
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 allLayersI 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? -
My IMAC OSX 10.6.8 2.8 GHz intelcore 2Duo 4GB 800 Mhz DDR2 SDRam recently had to have its hard drive replaced by apple thy actually had to give me a larger one because mine was no longer available,They also reinstalled all my programs and data from my 2 terrabite time machine back up. I got my system home and found that I had to upgrade most of my programs which I managed with a little help from my friends, but I still have one problem that I can't solve I have a Nikon Coolpix S6 that I have Been Syncing with my Iphoto since I've got it 3 years ago and now when I place it in the cradle the program reconizes it and says that it is going to start to import the new photos the little white wheel in the center of the screen starts spinning but nothing else happens. I checked all my connections and they are goog plus I even downloaded a nikon progam just to double check the camera & cradle and it works there but it wont pair off with my IPhoto.
First go to iPhoto Preferences, look in both General and Advanced tabs to make sure that things are set to import from camera into iPhoto.
Then if that doesn't help, connect the camera and open Image Capture in your Applications > Utilities folder and see if you can use Image Capture to reset the import path from the camera to iPhoto.
Image Capture: Free import tool on Mac OS X - Macgasm
Message was edited by: den.thed
Sorry John, I didn't see your post when I clicked the reply button. Dennis -
NEED TO DETERMINE USERS THAT HAVE LOGGED IN WITH A SPECIFIC ROLE
I have a requirement to determine which users have logged in with a specific
role or accessing a specific application. I know I can use the
ORASSO.WWSSO_AUDIT_LOG_TABLE_T table to see the users that have logged in, but
need to know which table to join with in order to determine which group that a
user belongs to. It would also be nice to figure out which users are accessing
a given application.
We are running AS 9.0.4.2 with ORASSO database 9.0.1.5.
Can you identify which tables I will need to use to satisfy my requirement?
Thanks, MikeThanks! I modified this slightly to get what I needed but I didn't think that I could get this from dba_tab_privs. You were a huge help!
select table_name, grantee
from dba_tab_privs
where
table_name in ('UTL_FILE', 'UTL_TCP', 'UTL_HTTP', 'UTL_SMTP', 'DBMS_LOB', 'DBMS_SYS_SQL', 'DBMS_JOB', 'DBMS_BACKUP_RESTORE')
and privilege='EXECUTE'
order by table_name; -
Can I change the color of an image to a specific color code?
Since I was unable to do this in Photoshop, I was wondering if there was a way in Flash to simply change the color of an image to a speciifc color code. The image is more or less a simple line with rounded corners. It is only composed of 1 color. Does anyone know if it can be done with Flash?
Shouldn't be a problem to do it in Photoshop or Flash. Since you couldn't do it in PS, I'm guessing that there is more to it than you are making obvious here.
But in Flash you would import it, make it into a movieclip or graphic. Then apply a tint from the color effect portion of the properties panel. -
I would like to disable ssl 3 but need to test what sites only support ssl 3. I keep getting stuck with an error that is over my head. I've tried manipulating the string a dozen different ways and keep getting the same error. I am not familiar with -notin
or how to specify which part of the property its checking: thanks a ton
http://blog.whatsupduck.net/2014/10/checking-ssl-and-tls-versions-with-powershell.html
line with issues:
$ProtocolNames = [System.Security.Authentication.SslProtocols] | gm -static -MemberType Property | where-object{$_.Name -notin @("Default","None") | %{$_.Name}
You must provide a value expression on the right-hand side of the '-' operator.
At S:\scripts\test23.ps1:50 char:126
+ $ProtocolNames = [System.Security.Authentication.SslProtocols] | gm -static -MemberType Property | where-object{$_.Name - <<<< noti
n @("Default","None") | %{$_.Name}
+ CategoryInfo : ParserError: (:) [], ParseException
+ FullyQualifiedErrorId : ExpectedValueExpression
<#
.DESCRIPTION
Outputs the SSL protocols that the client is able to successfully use to connect to a server.
.NOTES
Copyright 2014 Chris Duck
http://blog.whatsupduck.net
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
.PARAMETER ComputerName
The name of the remote computer to connect to.
.PARAMETER Port
The remote port to connect to. The default is 443.
.EXAMPLE
Test-SslProtocols -ComputerName "www.google.com"
ComputerName : www.google.com
Port : 443
KeyLength : 2048
SignatureAlgorithm : rsa-sha1
Ssl2 : False
Ssl3 : True
Tls : True
Tls11 : True
Tls12 : True
#>
function Test-SslProtocols {
param(
[Parameter(Mandatory=$true,ValueFromPipelineByPropertyName=$true,ValueFromPipeline=$true)]
$ComputerName,
[Parameter(ValueFromPipelineByPropertyName=$true)]
[int]$Port = 443
begin {
$ProtocolNames = [System.Security.Authentication.SslProtocols] | gm -static -MemberType Property | where-object{$_.Name -notin @("Default","None") | %{$_.Name}
process {
$ProtocolStatus = [Ordered]@{}
$ProtocolStatus.Add("ComputerName", $ComputerName)
$ProtocolStatus.Add("Port", $Port)
$ProtocolStatus.Add("KeyLength", $null)
$ProtocolStatus.Add("SignatureAlgorithm", $null)
$ProtocolNames | %{
$ProtocolName = $_
$Socket = New-Object System.Net.Sockets.Socket([System.Net.Sockets.SocketType]::Stream, [System.Net.Sockets.ProtocolType]::Tcp)
$Socket.Connect($ComputerName, $Port)
try {
$NetStream = New-Object System.Net.Sockets.NetworkStream($Socket, $true)
$SslStream = New-Object System.Net.Security.SslStream($NetStream, $true)
$SslStream.AuthenticateAsClient($ComputerName, $null, $ProtocolName, $false )
$RemoteCertificate = [System.Security.Cryptography.X509Certificates.X509Certificate2]$SslStream.RemoteCertificate
$ProtocolStatus["KeyLength"] = $RemoteCertificate.PublicKey.Key.KeySize
$ProtocolStatus["SignatureAlgorithm"] = $RemoteCertificate.PublicKey.Key.SignatureAlgorithm.Split("#")[1]
$ProtocolStatus.Add($ProtocolName, $true)
} catch {
$ProtocolStatus.Add($ProtocolName, $false)
} finally {
$SslStream.Close()
[PSCustomObject]$ProtocolStatus
Test-SslProtocols -ComputerName "www.google.com"V2 version:
function Test-SslProtocols {
param(
[Parameter(
Mandatory=$true,
ValueFromPipelineByPropertyName=$true,
ValueFromPipeline=$true
)]$ComputerName,
[Parameter(
ValueFromPipelineByPropertyName=$true
)][int]$Port = 443
begin {
$protocols=[enum]::GetNames([System.Security.Authentication.SslProtocols])|?{$_ -notmatch 'none|default'}
process {
foreach($protocol in $protocols){
$ProtocolStatus = @{
ComputerName=$ComputerName
Port=$Port
KeyLength=$null
SignatureAlgorithm=$null
Protocol=$protocol
Active=$false
$Socket = New-Object System.Net.Sockets.Socket('Internetwork','Stream', 'Tcp')
$Socket.Connect($ComputerName, $Port)
try {
$NetStream = New-Object System.Net.Sockets.NetworkStream($Socket, $true)
$SslStream = New-Object System.Net.Security.SslStream($NetStream, $true)
$SslStream.AuthenticateAsClient($ComputerName, $null, $protocol, $false )
$RemoteCertificate = [System.Security.Cryptography.X509Certificates.X509Certificate2]$SslStream.RemoteCertificate
$protocolstatus.Active=$true
$ProtocolStatus.KeyLength = $RemoteCertificate.PublicKey.Key.KeySize
$ProtocolStatus.SignatureAlgorithm = $RemoteCertificate.PublicKey.Key.SignatureAlgorithm.Split("#")[1]
catch {
Write-Host 'Failed'
finally {
New-Object PsObject -Property $ProtocolStatus
$SslStream.Close()
Test-SslProtocols -ComputerName www.google.com
¯\_(ツ)_/¯ -
I need help modifying my iWeb site from another Mac than the one it was designed on:
I did exactly as directed in the Help file "to Modify your site from another computer", but when I click on the Domain file it launches iWeb to start a new website without anything from the site I created. The Macs are a mirror image of each other with the same iWeb version 3.0.4. I am transitioning from my MacBook to my new iMac, so the laptop files were all transferred to the iMac by the Apple Store when I bought it. The only difference is that the laptop is OS 10.6.8, and the new iMac is OS 10.7.5. After the transfer of all the files at the store, I proceeded to make the website on the laptop, but now need to work on the website from my iMac...but I need help getting the file to work on the iMac.
PLEASE HELP!
Thanks!The trick that solved it for me was the last note about how to make the hidden folder appear (due to Lion OS 10.75):
Note for OS X Lion users :
To show the hidden Library folder in the Home Directory (Cmd-Shift-H) hold the Option (=Alt) key when choosing theGo menu in the Finder.
Thanks! -
I need to replace my wife's aged S30 with something equivalent in both size & capabilities.
Hello...we have owned our S30 for over 10 years & it has proved to be a great camera for almost everything but somebody got sand in the mechinism & I suspect it's also been dropped by a couple of grandkids. I am looking for something with similar capabilities & size for Christmas....any thoughts or recomendations.
Thanks in advance,
Billgr0248At 3 MP and 3x zoom, S30 is a rather large and bulky camera for today's standard of point and shots.
Right now B&H has Canon PowerShot A3400 IS for $69
- L I N K -
that compare to S3, the difference are like day and night, including HD video capability on this little monster.
But then if your wife has shown signs of need to grow out of PnS, may be its a good time to consider a more capable camera even an entry level DSLR such as T4i or EOS M but those come at a price tag and unless really needed, I am sure she will appreciate a fully automatic small camera instead of here old one.
Merry Christmas to you all. -
How to tell Pages to remove all texts with the font size: 13 and color " disabledControlTextColor" from the developer palette?
Sorry John,
Now My question has changed,
Now I want to fill the whole cell with a color , not only the text background
Now I have the Solution. As from the previos post itself I got the Answer. I excuse all of u to put the related question in a new thread.
Please leave it. I won't repeat it.
<af:column sortProperty="Salary" headerText="#{bindings.EmployeesVO1.hints.Salary.label}"
inlineStyle="#{row.Salary>'20000'?'background-color:Red;':'background-color:Orange;'}"
id="c6">
<af:outputText value="#{row.Salary}" id="ot4">
<af:convertNumber groupingUsed="false"
pattern="#{bindings.EmployeesVO1.hints.Salary.format}"/>
</af:outputText>
fixes my issue.
Ranjith C
Edited by: Ranjith C on Jun 30, 2011 4:46 AM
Maybe you are looking for
-
Metadata Navigation and Library Column Filter Bug
To whom it may concern, When document library metadata navigation is enabled and a user clicks an item in the metadata navigation part, the library updates to reflect the selected filter. Subsequent filtering actions performed on columns in the libra
-
Changes to a Role are not Reflected
I have created a role with one BSP iView and assigned the role to a user. When the user logs in he can see that iView. Then I have added three more BSP iViews to the role. But these new BSP iViews are not visible to the user. The user had logged
-
I've just upgraded my MacBook Pro to a new Retina model, and while looking at the activity monitor I've noticed I still have an app running in the background that I thought had been deleted? Its the 'Blackberry Device Manager'? (See photo) I've tried
-
Unlimited plan grandfathered?
Hi, i have a family unlimited data plan from when a promotion was offered a while back. Several family members are beginning to become elligible for their upgrades. My question is, will upgrading the phones count as a new contract, thus loseing us th
-
Connectivity between blades in Cisco UCS environment
We're trying to setup a UCS environment for testing purposes, and seem to be unable to establish any connectivity between servers within the UCS. At the moment, the environment has no upstream LAN connectivity and therefore no uplinks defined on the