Code: Select all
@display {Palette = #PALETTE_OCS}
Loadbrush(0, "bilder/test.jpg")
QuantizeBrush(0, {Colors = 32, Dither = 1, Palette = 0})
SaveBrush(0, "out.iff", {Format = #IMGFMT_ILBM})
Code: Select all
@display {Palette = #PALETTE_OCS}
Loadbrush(0, "bilder/test.jpg")
QuantizeBrush(0, {Colors = 32, Dither = 1, Palette = 0})
SaveBrush(0, "out.iff", {Format = #IMGFMT_ILBM})
Every jpg i test, also this one:airsoftsoftwair wrote: ↑Wed Dec 06, 2023 4:48 pm This doesn't qualify as an MCVE because I don't have access to the file "test.jpg". Does this happen with any JPG or only with specific ones?
Code: Select all
OpenFile(1, <mounted web disk path>, #MODE_WRITE)
WriteLine(1, "foo")
CloseFile(1)
That works for WebDAV and SFTP (SSH) Mounted Shares.airsoftsoftwair wrote: ↑Fri Dec 08, 2023 8:32 pm Can the error be reproduced by writing a file to the mounted web disk? e.g.
Does this work or does it throw the same error?Code: Select all
OpenFile(1, <mounted web disk path>, #MODE_WRITE) WriteLine(1, "foo") CloseFile(1)
Makes sense. In contrast to the ILBM saver, CloseFile() doesn't throw an error in case closing the file fails. I think this is a bug/feature in the mounted share file handler. What tool do you use to mount SFTP connections as a folder? SSHFS?
rclone mount webdav resourceairsoftsoftwair wrote: ↑Fri Dec 15, 2023 10:26 pmMakes sense. In contrast to the ILBM saver, CloseFile() doesn't throw an error in case closing the file fails. I think this is a bug/feature in the mounted share file handler. What tool do you use to mount SFTP connections as a folder? SSHFS?
That Fixed it, thanks four your Help again, Andreas!airsoftsoftwair wrote: ↑Sat Dec 23, 2023 9:49 pmAh ok, not a Hollywood bug. The ILBM writer requires seeking so you should add --vfs-cache-mode=writes when you mount the WebDAV share. Then it should work.