idPhoto3.scmFirst use rectangle selection tool define a region

Script-Fu->Photo->大頭照排版(idPhoto) ... open dialog
[Width] and [Height] are only available when [Printing paper size] selections are [Custom]
And
[idPhoto width] and [idPhoto height] are only available when [idPhoto size] selections are [Custom]

It's not complete v3 format
When i use script-fu-register-filter
I don't know why SF-ADJUSTMENT step_inc is always plus/minus 1, No matter what I write
Like this
SF-ADJUSTMENT _"大頭照寬度(公分)(idPhoto width)(cm)" (list 3.5 1.0 10.0 0.1 0.5 1 SF-SPINNER)
and this
SF-ADJUSTMENT _"解析度(dpi)" '(300 10 1000 10 100 0 SF-SPINNER)
*** Update to v3 format ***
SF-ADJUSTMENT step_inc still always plus/minus 1
But use mm as the unit instead of the original cm

Result

In addition, since your selection may not fit the scale of the passport photo, after clicking “OK”, the script will change the scale of your selection .If you feel that the size of the photo is not ideal, you can move the selection to the area you want. After that, rerun the script to create a new image