Short answer: for a Node.js API that must import supplier images at scale, make the original bytes immutable, deduplicate them by a cryptographic content digest, and create three purpose-specific derivatives behind a manifest-driven batch boundary. For a property catalogue, those derivatives should correspond to the actual viewing contexts: a small search result, a larger listing view, and a high-detail inspection view. Do not repeatedly recompress one derivative into another, and do not let a supplier URL become the image identity.
Bytes first.
This decision puts the quality-versus-bandwidth argument where it belongs: in a versioned policy that can be tested against representative apartment interiors, exterior brickwork, floor plans, and inspection evidence. Node.js can own the intake API and job orchestration; the critical path below is Python because the processing contract matters more than the web framework.…