Hi @Giovanni1 ,
There are some tricks to successfully solve your problem:
First let's create your flow. There will be only a trigger and one action, like this:

Don't forget to put a unique value to the file name, otherwise your flow will play on running time if an file with the same name already exists.
If you want to access your flow from PowerApps button action, your trigger should be PowerApps trigger (you'll find it in instant category).
Inside DropBox-Create a File action, your formula should be (thanks God there are some smart guys among us 😊)
base64ToBinary(triggerBody()['Createfile_FileContent'])
where triggerBody()['Createfile_FileContent'] is obtained using this:

Give a name to your Flow, Click Save and that's should be all with PowerAutomate.
Now, inside your app:
Select your button Pulsante, in Menu go to Action -> PowerAutomate/Flow ... and select your newly flow.
Set your OnSelect property of the button similat to this:
saveToDropBox.Run(
Right(
Substitute(myImage,Char(34),""),
Len(
Substitute(myImage,Char(34),"")
)-
Find(",",
Substitute(myImage,Char(34),""
)
)
)
)
And that's all ...
Hope it helps !