Every family has one: a stack of index cards in a grandmother's handwriting, a splattered page torn from a magazine, a notebook where the sauce recipe lives in blue ballpoint. You want to keep them, and you want them to be usable — legible, presentable, maybe printed into a small booklet as a gift. The trouble is that a phone photo of a card on a kitchen counter looks exactly like what it is, and scanning it flattens all the charm out.
This is a worked example of a job that style-transfer and enhancement tools handle well: converting a photographed recipe card into a clean, readable image that keeps the handwriting intact while replacing the distracting background. It is also a good test case, because recipes combine the two hardest things for these tools — text you need to read, and paper texture you want to keep.
Decide what you are actually making
Before touching any settings, pick one of three outcomes, because they need different treatment.
A readable archive. Flat, high contrast, background removed, all text crisp. Good for a digital family cookbook or for reading on a phone in the kitchen.
A keepsake print. Warm, textured, with a suggestion of the original card sitting on a surface. Good for framing or a printed booklet gift.
A design element. The handwriting becomes decorative — cropped, rotated, layered behind a recipe photo. Good for labels and packaging if you sell what you cook.
Most people start with "make it look nicer" and end up with something that is neither readable nor charming. Pick one lane and stay in it.
Get a source that the tool can work with
The input matters more than anything you do later. Five minutes of care here saves an hour of repair after.
- Shoot straight down, not at an angle. Prop your phone on a stack of books directly above the card. Angled shots introduce keystone distortion, and straightening that later smears the strokes.
- Use indirect daylight, no flash. Put the card near a window but out of direct sun. Flash creates a hot spot in the middle and a dark vignette at the corners, which the model then "corrects" into a weird gradient.
- Fill the frame but leave a margin. Include about a centimeter of the surface around the card on all sides. That border is your evidence of paper thickness.
- Shoot both sides if there is writing on the back. You will not get a second chance once the card gets filed away.
If the card is stained, do not clean it first. Stains are part of the object, and tools that try to remove them usually also remove the ink. Decide later whether you want them in the output. For more on picking a starting image that converts well, the notes on choosing a seed image apply directly here.
Clean up before you style, every time
The order of operations is the thing people get wrong. If you run a style pass on a photo with a crooked crop and a coffee ring, the style pass will faithfully reproduce both, and they will be harder to remove afterward.
- Crop and straighten in any basic editor. Not in the AI tool. Get the card to a true rectangle first.
- Lift the shadows slightly. Faded ballpoint and pencil need a small contrast bump before you ask a model to preserve ink; otherwise the strokes get interpreted as texture.
- Remove the biggest distraction. If a wooden spoon is sitting on the corner of the card, clone it out first. It is much cheaper than fighting it in the prompt.
Then, and only then, run the conversion. A clean input lets you keep the prompt short, and short prompts drift less.
Writing a prompt that protects the handwriting
The core instruction is a pair of statements: change this, keep that. Models follow that structure far better than a long flowery description.
Change: "replace the background with a plain warm off-white surface, no props, even soft light from the upper left."
Keep: "preserve every handwritten word exactly as written, keep the ink color and stroke thickness, retain the paper fiber and the slight curl at the card edge."
Two more lines do a lot of work. Add "reduce the yellow cast from the indoor lighting, keep the paper a natural cream rather than pure white" — otherwise you get a sterile white that reads as a scan. And add "no added text, no decorations, no border" so the model does not decide your recipe needs a decorative frame.
For a keepsake version, swap the background line for something like "place the card on a scrubbed wooden table with a linen cloth just visible at the edge, soft window light, shallow depth of field so the table falls out of focus." Same protection clause for the handwriting.
Check the text like a proofreader
Read the converted image line by line against the original. Recipe cards fail in predictable places: quantities ("1½" becomes "1/2"), fractions, oven temperatures, and any word in a rushed cursive. A single mangled number makes the whole image untrustworthy, especially for a gift.
When something breaks, there are three fixes worth knowing, in order of cost:
Retry with a lower strength. Most tools have a setting that controls how far the output is allowed to move from the source. Dropping it one notch usually fixes text drift without losing your new background.
Mask the text area. If the tool supports region editing, protect the handwriting and only re-run the background.
Composite. Generate the background and layout with the text area blanked, then lay the original handwriting back over it with a multiply blend. This is the reliable option for anything you plan to print.
Keep a batch consistent
If you are doing twelve cards for a family cookbook, consistency matters more than any single image. Save the exact prompt that worked, and change only one variable per card: the position of the card in frame, or the crop. Do not rewrite the lighting description from memory, because "soft window light" and "gentle daylight" will produce noticeably different warmth, and a book with twelve different paper tones looks like twelve different scans.
Batch the work in one sitting with the same window light if you are re-shooting anything. Daylight shifts over the course of a day, and a card shot at noon will not match one shot at four in the afternoon no matter what the tool does.
A note on enhancement versus restyling
Half the recipe cards people want to "fix" do not need a style pass at all — they need repair. Faded pencil, a crease, a shadow across one corner. Running a full restyle on those adds a mood the original never had and can soften the strokes into illegibility.
Try the plain enhancement path first: contrast, shadow lift, slight sharpening, background cleanup. If the result is legible and faithful, stop. Save the style transfer for the cards where the physical object is genuinely in the way — the one photographed on a cluttered counter, or the one where the card is so curled that the bottom third is in shadow.
That distinction — repair when the content is fine, restyle when the setting is the problem — is the difference between an archive that still looks like your family's handwriting and a set of images that look like a design project about handwriting.
Start with one card
Pick the recipe you make most often. Shoot it flat in daylight with a little margin, straighten it, lift the shadows, then run one conversion with the change-and-keep prompt pair. Read every line before you accept the result. Once that single card works, you have a recipe you can repeat for the rest of the stack in about ten minutes each.
Do the whole box over a couple of evenings, keep the originals in a safe place regardless of how good the digital versions look, and print the ones that matter. The image conversion is the easy part — the image to image tool handles the background and the light in one pass. The part worth slowing down for is the proofread, because a recipe with a wrong number is worse than no digital copy at all.
