<aside>
ğŸ›
Resize One Image to Match Another's Exact Dimensions
Take two images and resize the first one to exactly match the second one's width × height. No need to read dimensions, type them in, or guess. Just plug both images in and you get a perfectly aligned pair. Ideal for compositing, blending, masking, comparison, and any workflow where two images must share the same size.
</aside>
What it does
Image Resize To Match takes two images as input and resizes the first image so its dimensions exactly match the second image (the reference). Choose the interpolation method - Bilinear, Bicubic, or Lanczos - based on your speed/quality needs. The reference image passes through untouched. Perfect for preparing image pairs that need to share dimensions before going into compositing, blending, or comparison nodes.
Problem it solves
- Align image pairs automatically – No need to read or type dimensions; the tool reads them from the reference image
- Prep for compositing – Image Add, Image Multiply, and other blending tools require matched dimensions
- Prep for masking – Mask + image must share dimensions before being combined
- Prep for comparison – Image Compare needs both images at the same size to produce meaningful diffs
- Reference-driven workflows – Use a known-good reference (e.g., a template, a previous output) as the size authority
- Handle mixed-resolution inputs – Pair a high-res photo with a smaller mask, or vice versa, without manual measuring
- Reduce node count – Replaces "read width → read height → Image Resize" with one node
- No GPU needed – Pure CPU resampling; runs instantly
Input/Output
<aside>
- Input: Two images
- Image 1 (to be resized) – The image that will be resized to match the reference
- Format: PNG, JPEG, BMP, or standard image formats
- Resolution: Any size
- Image 2 (reference / target dimensions) – Provides the target width × height
- Format: Any image format
- Resolution: Any size — its dimensions become the target
- Output: Resized image matching the reference's dimensions
- Format: Same as Image 1
- Dimensions: Exactly equal to Image 2's width × height
- Aspect ratio: Not necessarily preserved — output matches the reference exactly, so if the aspect ratios differ, Image 1 will be stretched or squashed to fit
</aside>
Features

-
Method:
- Bicubic, Bilinear, Lanczos
| Method |
Neighborhood |
Quality |
Speed |
Best For |
| Bicubic |
4×4 pixels |
Better |
Medium |
Balanced quality/speed |
| Bilinear |
2×2 pixels |
Good |
Very fast |
Quick processing, speed priority |
| Lanczos |
8×8 pixels (or more) |
Excellent |
Slower |
Best quality, final output |
How to Use
<aside>
- Load both images → Connect the image you want to resize to Input 1 and the reference image to Input 2
- Pick a resize method → Choose Bicubic (default), Bilinear, or Lanczos depending on quality vs speed needs
- Run Flow → Image 1 is resized to Image 2's exact dimensions; Image 2 passes through unchanged
</aside>