MathGroup Archive 2001

[Date Index] [Thread Index] [Author Index]

Search the Archive

To be or not to be an image file

  • To: mathgroup at smc.vnet.net
  • Subject: [mg31374] To be or not to be an image file
  • From: "Simon Krogh" <finn2 at get2net.dk>
  • Date: Wed, 31 Oct 2001 03:31:06 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

Hi!
I want to use Mathematica to do some image processing. I got stuck while
making a function that returns true if a file is a valid image file (bmp,
jpg, gif etc.) and false otherwise. My first thought was to test the return
of the Import["file.bmp"] command but it just won't work. Any ideas?

--
----------------------------------
Simon Long Krogh
http://brumdron.subnet.dk eller
http://hjem.get2net.dk/finn2/brumdron



  • Prev by Date: Math LM
  • Next by Date: select data in formatted datafiles
  • Previous by thread: Math LM
  • Next by thread: Re: To be or not to be an image file