I have an Application that runs since 12 years (last update on December 2025) without any problem. Now I have a new customer with macOS 26.2 and he gets this error from my application when the PictureSave is executed. The customer has tree different Mac computer. Two withFileVault activated and one without FileVault. He gets the same error on any machine.
Public Sub SaveUserPicture(MyPic as picture)
dim f as FolderItem
if PictureFolder <> nil then
f = PictureFolder.Child(ItemID + ".png")
if MyPic <> nil then
MyPic.Save(f, Picture.SaveAsPNG)
end if
else
MsgBox "PictureFolder not defined"
end if
End Sub
PictureFolder is a global folder which is set when the application start.
pout = MyPicture
p = New Picture(MyPicture.Width, MyPicture.Height, 32)
PictureFaktor = MyPicture.Width / MyPicture.Height
if PictureFaktor < 1 then
p.graphics.drawPicture MyPicture,0,0,me.WidthPictureFaktor,me.Height,0,0,MyPicture.Width,MyPicture.Height
end if
if PictureFaktor > 1 then
p.graphics.drawPicture MyPicture,0,0,me.Width,me.Height,0,0,MyPicture.Width,MyPicture.HeightPictureFaktor
end if
if PictureFaktor = 1 then
p.graphics.drawPicture MyPicture,0,0,me.Width,me.Height,0,0,MyPicture.Width,MyPicture.Height
end if
Is it plausible that the source format isn’t supported? macOS does a lot of great things for us, so it may be able to show you visually, but trying to convert the format could be problematic. Formats like webp can be annoying like that.