One method is to use the original image/layer as its own layer mask. You'd create a duplicate of the layer, desaturate and invert it, pasting the greyscale result into the original layers layermask.
Update: Here are some step by step instructions:
Start with your flattened image:
Add a Saturation/Hue adjustment layer and turn down the Saturation until the ...
You can use blending to add transparency:
Right click the layer you want to add transparency to, pick the "Blending Options..." (If unable to pick 'Blending options' ensure that the layer is unlocked)
Locate the scale under the "This layer:" that is under the "Blend if" box
Press and hold the alt key while dragging on the white knob, the further you drag it ...
Select the Pen tool.
Ensure the Pen tool's dropdown menu in the Options bar is set to "Path".
Click the Shape button in the Options bar, found to the right of the Pen tool dropdown menu.
Press that and presto :p
Ensure your document is 8-bit RGB. (Image > Mode)
If that doesn't help, hold down the Option/alt key and choose File > Save as... this will save a copy and remove any non-png allowed formatting.
Chances are there's simply something about the image which is not allowed in the PNG format. However, using File > Save for Web should allow PNG saving in ...
First you'll want to desaturate the image (CMD+SHIFT+U), this removes any color and makes it easier to achieve pure white.
With your file open, choose Image->Adjustments->Levels. You'll get this:
Now bring the two outer triangles in like this (you'll need to play around with this until you get something you like):
You should end up with this!
Just choose Object > Artboards > Fit to Artwork. That will make the artboard fit precisely to the edge of all the artwork, including the background square.
There is no command to scale artwork to match the artboard.
I came up with a nice method for cleaning up pictures like this, and it works even when the background or lighting is uneven (that is, far worse cases than the example in this question) and it retains the colour.
My instructions are based on the Gimp, but it would be very similar in other programs like Photoshop.
EDIT: Gimp has a filter called "Difference ...
Certain objects will not allow the stroke alignment options. Type is one of these objects. While creating outlines of type objects may work in some instances. I, myself, prefer to keep type live whenever possible.
In order to move a stroke applied to a type objects, simply do things how they were done prior to the stroke alignment options being added - with ...
To type Arabic or Hebrew in Photoshop, you need to enable the Middle Eastern text engine. You can do this by going to Preferences > Type. Check out this video: How to access Arabic and Hebrew features in Photoshop CS6
THIS HAS BEEN UPDATED IN VERSION 23.0.1 You have to turn OFF "snap to grid" behavior. The preferences for alignment of objects are in three DIFFERENT places:
In VIEW menu uncheck "Snap to Point" (NOTE: this has moved in latest version to Preferences menu (see #3 below)
In the TRANSFORM PALETTE un-check "Align to Pixel Grid"
Other related options in ...
Adobe changed the Delete/Backspace key functionality in Photoshop CS6 when you press the Delete/Backspace key on a locked Background layer.
Since pressing the Delete/Backspace key on a locked background layer merely filled the selection with the background color, Adobe changed the functionality to provide more options when hitting the key. By bringing up ...
You can't use effects or brushes with entire rectangles. Simply create one side, then draw the other three sides of a rectangle.
Create the triangles easily by drawing a path and choosing Effect > Distort & Transform > Zig Zag
Choose Object > Expand Appearance
Grab the Pen Tool and draw the other three sides of a rectangle.
Solved: Very very trivial, I just needed to click on the gradient window and toggle to fill mode, it had switched to stroke.
Also, googled why that happens and apparently if you have transparent gradient on your stroke, the gradient tool won't let you modify the gradient.
One of those things that Adobe takes on and stops developing I think.
Thank you if ...
Transform Each 2.0 script
For preservation, here's the code:
[KAM] Transform Each 2.jsx:
Illustrator has horizontal and vertical scale options just like Photoshop. But because Adobe are... special... they thought it would be fun to hide a lot of their settings and leave no clue that they are there.
Open up the flyout menu with the button at the top right of the character settings window. Choose "Show options", which is Adobe speak for "Stop ...
To make things easy for yourself when editing later, it pays off to do a bit more work upfront by using the Appearance panel for this.
Draw a shape
Give it any fill and no stroke
Open the Appearance panel
Select your shape with the Move tool (V)
Choose Add New Stroke, either through Appearance panel options
or with the icon bottom leftmost on the panel
Ramp the contrast up with curves.
Select your image and press Ctrl-M. This will bring up the curves dialog.
Move the top point left and the bottom point right until your image becomes black and white. (that rhymes!)