Brad Spachman wrote:

>> It will only save in GIF format at the
>> moment, but it will load images in JPEG, BMP or GIF.
> 
> Nope. Sorry. Under OSX, BMPs are not recognized as valid file types to 
> add to the Icon Library. GIFs and JPEGs are recognized and seem to work 
> fine, even doing a pretty good conversion to the 4-gray pallet.
> 
> One other thing, the graphics files only seem to be recognized as valid 
> if they have the appropriate extension (eg. ".gif" or ".jpg"). If the 
> file lacks the extension, Tonto doesn't recognize it as a valid file. If 
> a file has a Macintosh "Type" defined, Tonto still doesn't recognize the 
> file without the extension (although I only tried this with JPEGs).
> 
> As usual, testing done with OSX 10.1.5, Tonto 1.099, Marantz 5200....

The Icon loading dialog filters by file extension. Java has no way to filter 
on resource information. When I added BMP loading support, I forgot to add 
".bmp" to the list of valid file extensions. I was able to load the BMP on 
Windows and Linux by typing the path of the bmp file. This is not an option 
on OSX. I can fix this in the next release, but I will still have to rely on 
file extensions.

If there are any Java guru's out there that can provide a better way, I'm 
totally open to it.

stewart



-------------------------------------------------------
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
_______________________________________________
Tonto-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/tonto-users

Reply via email to