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 10 years ago.
Improve this question
I have a photo, and on it, I have drawn a circle with a shape.
I want to make it so that only the parts of the photo that are within this circle are visible, and what is outside the circle should not be visible. Therefore, I should be able to position the image with part of it in the circle and end up with an image that is the shape of the circle.
Layer -> New Clipping Mask
Place image above the shape and apply the above.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
Closed 8 years ago.
Improve this question
There is a problem in my app.I am using worklight v 6.0 and dojo framework.For testing i am using galaxy tab 2 . There is a white space coming between two header when transition occurs. What should i do to resolve this problem.
By reducing the width of the first page you can reduce this error.
Hi
The background color is set to header color. So that when the transition happens the white screen is not seen.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 9 years ago.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Questions concerning problems with code you've written must describe the specific problem — and include valid code to reproduce it — in the question itself. See SSCCE.org for guidance.
Improve this question
I'm trying to create a mask from an image with a transparent background. I want to create a new UIImage where any pixel that has > 0 alpha to turn gray.
You can load an image with rendering mode UIImageRenderingModeAlwaysTemplate which draws the image as a template image, ignoring its color information.
[[UIImage imageNamed:imageName] imageWithRenderingMode:UIImageRenderingModeAlwaysTemplate];
Then set the tintColor of the container to gray
yourImageView.tintColor = [UIColor grayColor];
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
how can I create a subplot, where the background is created fully, without a gray boundry, with a png image from file.png
I have tried:
import matplotlib.pyplot as plt
im = plt.imread('map.gif')
implot = plt.imshow(im,aspect='auto',origin='lower')
fig0=implot.figure.tight_layout(pad=0.5)
implot.axes.set_axis_off()
fig1=implot.figure
ax1=fig1.add_subplot(2,2,1)
ax1.plot(range(10))
ax2=fig1.add_subplot(2,2,2)
ax2.plot(range(9,-1,-1))
plt.show()
I cannot get the image to span the whole graphics window
thanks
Ilan
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 10 years ago.
Improve this question
I'm looking to create a plain white background in Cinema 4D, currently when I render its onto a black background, I essentially want the same but with white. I would like there to be NO shadows, reflects etc... just a plain white background.
You can add a "background" object to your scene and assign a material. You can get it trough the menu (Objects->Scene->Background).
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 12 years ago.
Improve this question
I want to replace the black color in this image with transparency. This would also mean that the gradient in the center of the image would not fade to black but fade to transparency. How is this possible?
The general approach with a solid-color b/g:
Click on the background with Magic Wand: the area becomes surrounded by wavy dashes
Hit the Delete key: background has a hatched pattern
Save and Done
For this to work your image must be RGB. If it isn't already make an RGB copy. If there are different shades of black in the background, you have to do this for each group of pixels that have a different RGB definition. In other words, it's easy with a solid-color background and increasingly time intensive depending on the number of RGB combos in the graphic's background.