lwillmeth / ASCII_Art

Convert a single image to ASCII artwork
GNU General Public License v3.0
2 stars 1 forks source link

Error messages if Load Image used on non-image file. #5

Closed lwillmeth closed 10 years ago

lwillmeth commented 10 years ago

We need to do some logic to determine if a file is an appropriate filetype and probably display a message if a user tries to load a non-image or inappropriate file format.

lwillmeth commented 10 years ago

One solution may be to use a default image that says something like, "Image type not supported."

shredcoder commented 10 years ago

I think we can put a flag on the filechooser its self to solve this. Ill look into it

lwillmeth commented 10 years ago

hm I hadn't thought of that. I was looking at try/catches to test if the file loaded properly and returning a default image if it hadn't.

shredcoder commented 10 years ago

fixed...will only show png, gif, jpg files now in filechooser