some fixes

This commit is contained in:
John Bintz 2023-10-29 08:58:39 -04:00
parent d4f5ff8a99
commit db7958fcf2
3 changed files with 89 additions and 88 deletions

View File

@ -1,6 +1,6 @@
MIT License
Copyright (c) 2023 TheIndustriousRabbit
Copyright (c) 2023 John Bintz
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

View File

@ -1,3 +1,7 @@
# png-to-ilbm
Convert PNG images to IFF ILBM images using Ruby.
Convert PNG images to IFF ILBM images using Ruby, preserving palette indexes.
Copyright 2023 John Bintz. Learn more at https://theindustriousrabbit.com/
Licensed under the MIT License.

View File

@ -10,9 +10,6 @@
#
# * http://etwright.org/lwsdk/docs/filefmts/ilbm.html
# * [ ] AMOS and ADPro fail on an image that's less than 8 pixels wide?
# * DPaint can load it, other apps get weird
require 'rmagick'
class PixelColor