I use the same file type set in both codes:
I get two different behavior:
OpenDialog let me open only png files (as I was beieved)
DropObject let me open all images file (and clear the previous Canvas if it is not an image file).
in both cases, same results.