Sign In

Zooming In

6

Nov 10, 2026

(Updated: 2 days ago)

generation guide
Zooming In

A Simple Technique

Sup y'all.

I once again write a small article about a simple technique for image generation. One of the things I have experimented with, with a fair measure of success, is a very simple concept: just crop and resize a portion of a larger image, and use it as an input for an image-to-image generation. That's it. It's simple but effective. Just remember that you must set denoise to be lower than 1.0, or you'll just get a completely new image. In my own workflow you would have to set start_step to something greater than 0; generally something close to 4 will do fine. You can reuse your prompt for the larger image, and just adjust the details. Remember that new details will be added in the process, and they may change the original character of the image; if you want to keep the image closer to its source, lower denoise or increase start_step.

I have used this small technique a few times:

  • Cherry tease - the image-to-image sampling process actually added some hair on the right side of the zoomed-in image, which wasn't there in the original, and doesn't match the blonde's hair. I let it slide, as it wasn't that big of an issue.

  • Créme caramel - for this one you can see that the zoomed in one changes the pattern on the reflected lampshade, on the left of the picture.

  • The image for my 1st crucible. The image itself is the zoomed in version, to get a tighter framing.

  • The post I created as the cover for this article.

  • One other post I created as a kind of meme.

  • One more post in which I used this little technique. This one is probably the most extreme example of me using it, as I used two different crops.

This is particularly useful if the model you're working with doesn't respond that well to framing requests - such as asking for the subject to be on the left or right of the frame, to be close or distant from the viewer, etc - , or if you'd like to emphasize something.

Once again, I hope this can be useful for someone.

Cheers.

Specifics

Edited to add some details on the process, as I generally go through it. I use GIMP, it's free and open source, and it does the trick. You can use any image editing program you'd like, most of them will be fine. Steps:

  • Use the "Crop Tool" (shortcut Shift + C), with a fixed aspect ratio. It doesn't have to be the same ratio as the original image. Click and drag across the picture to select the part of the image you'd like to get in greater detail; you can also drag the whole cropping window to adjust the framing. This may not work that well if the past you want is too small, and it won't make much sense if you select all or most of the image. Hit enter and you will have selected just that specific portion of the image.

  • Scale the image (In GIMP that's Image -> Scale Image...) so that its edges are within the 1024-2048 range, at least for Krea 2 Turbo. I used to treat this as a hard requirement, but looking it up again that doesn't seem to be the case; you'll have to try and check if the resulting image is good. If you choose to follow this constraint this means you can't get any aspect ratio longer than 2:1 or taller than 1:2. One additional requirement is for the edges to be multiples of 16 - I also kind of overdid this point by having them as multiples of 32, but this also seems to be a bit of an overkill and 16 will do just fine. If the cropped region has an edge with a length greater than 2048 pixels you may have to scale it down to have some leeway, but I have never done that, so you'd be venturing into uncharted waters :D

Remember that any artifacts from compression may end up on the image, so save it with a lossless format or use a decent quality.

That's pretty much it.

What about Comfy itself?

One thing that slipped my mind as I was writing the article is that you could use ComfyUI to crop and scale the image, so you don't even need to have an external editor. If you use the "Crop Image" node you even get some visual aid. From what I'm checking it seems like there are many options to scale an image too. I tried to automate a part of this process, but the cropping node doesn't take external parameters, and I thought the whole thing was becoming an entangled mess of nodes, but doing it manually is also possible.

Edited to add: I just updated my extended workflow with two extra nodes to crop and scale input images. Check it out.

crop_scale_workflow.webp

6

Comments