set leCheminOriginal_UniText to (path to desktop as text) & "testeur:014_020d_X7246.pict"
tell application "System Events" to tell disk item leCheminOriginal_UniText
set vieux_nom to name
--> "014_020d_X7246.pict"
set le_dossier to path of container
--> "Macintosh HD:Users:yvankoenig:Desktop:testeur:"
set l_extension to name extension
--> "pict"
end tell -- System Events
if l_extension is not "" then set vieux_nom to text 1 thru -(2 + (count of l_extension)) of vieux_nom
set target_path to le_dossier & vieux_nom & "#.png"
--> "Macintosh HD:Users:yvankoenig:Desktop:testeur:014_020d_X7246#.png"
set pict_Unix to quoted form of POSIX path of leCheminOriginal_UniText
set png_Unix to quoted form of POSIX path of target_path
--do shell script "sips --setProperty format png " & pict_Unix & " --out " & png_Unix
do shell script "sips -s format png " & pict_Unix & " --out " & png_Unix