(thought i fixed resampledlg by going 64 bit, but seems there is a bug with the w64 -- encoder or decoder?)