Yes , Photoshop seems a good idea . First paste the whole picture , use the magic wand and then "select inverse" , cut and paste it on another file (which as jbuzbee said , is initialy made on the dimensions of the picture stored in the clipboard) . Thanks .
I am off to try what you said about erasing the last objects (entinities) .