Hi! Is there a correct/"best practice" cross-platform way to determine whether a given pathname obtained from on-drop-file of an editor-canvas% leads to a valid image file that can be displayed by an image-snip% in a text%? Is there an official function that checks an image file? (It may load the image but should avoid crashing the application when the image file is corrupt or very huge.)
I ask because I'd like to avoid making assumptions based on file suffixes if possible. Best, Erich -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.