"for file in *" doesn't correctly parse files containing spaces in
their filenames. For example file "an image of duck.jpg" will be interpreted
as 4 files "an" "image" "of" "duck.jpg"
Yes, it does.
Your problem is (probably, since you didn't include an example) that
you omitted quotes around its expansion, e.g.:
printf '%s\n' $file
That should be:
printf '%s\n' "$file"