You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you set the canvas to an uneven width (e.g. 79 instead of 80), and then attempt to save it as a BinaryText / BIN file, it properly fails: because video cards of the time only supported even image widths, the widely-accepted standard for BinaryText in the SAUCE specification encodes the width in the FileType field as half the intended width so as to maximize how wide an image can be using only a single byte (e.g. a width of 80 characters is stored as 40, and the maximum width is 255*2 = 510 characters).
The problem, however, is that it fails silently. While no file is ever saved, no error message is provided explaining this limitation to the user. This means it is possible for the user to create an image of an uneven width, try to save it as a BIN file, and then close the program without ever realizing their picture was never saved, losing all their work.
Moebius contains a warning dialog for saving to ANSI format¹ that informs the user in the event that they attempt to save an ANSI-format image with any of four control characters, and if the user chooses "OK", these characters will be replaced with equivalents that can be displayed. Because it is not possible to save uneven-width images in BIN format, the least one can do is display an error message when attempting to do so, explaining that it is not possible.
If you set the canvas to an uneven width (e.g. 79 instead of 80), and then attempt to save it as a BinaryText / BIN file, it properly fails: because video cards of the time only supported even image widths, the widely-accepted standard for BinaryText in the SAUCE specification encodes the width in the FileType field as half the intended width so as to maximize how wide an image can be using only a single byte (e.g. a width of 80 characters is stored as 40, and the maximum width is 255*2 = 510 characters).
The problem, however, is that it fails silently. While no file is ever saved, no error message is provided explaining this limitation to the user. This means it is possible for the user to create an image of an uneven width, try to save it as a BIN file, and then close the program without ever realizing their picture was never saved, losing all their work.
Moebius contains a warning dialog for saving to ANSI format¹ that informs the user in the event that they attempt to save an ANSI-format image with any of four control characters, and if the user chooses "OK", these characters will be replaced with equivalents that can be displayed. Because it is not possible to save uneven-width images in BIN format, the least one can do is display an error message when attempting to do so, explaining that it is not possible.
¹ For some reason, this is currently disabled by default, whereas in regular Moebius, it is not.
The text was updated successfully, but these errors were encountered: