Re: Problem with image import
- To: mathgroup at smc.vnet.net
 - Subject: [mg35448] Re: [mg35430] Problem with image import
 - From: "Y.A.Tesiram" <yas at pcomm.hfi.unimelb.edu.au>
 - Date: Sat, 13 Jul 2002 03:48:18 -0400 (EDT)
 - Sender: owner-wri-mathgroup at wolfram.com
 
Hi,
Maybe you forgot Show.
myImage=Import["image.jpg"];
Show[myImage]
or you could try
myImage = Show[Import["image.jpg", "JPEG"]]
Cheers
Yas
On Fri, 12 Jul 2002, Lars Amsel wrote:
> Hi there,
>
> I hava some trouble with Mathematica 4 image import. Usually one should
> import an image with:
>
> myImage = Import["image.jpg"]
>
> The image is a valid jpg and can be found via $Path.
>
> But Mathematica can't load it. Wenn I  type
>
> $InputFormats
>
> I get
>
> $InputFormats
>
> as the answer. This should be something like
>
> {"AIFF", "AU", "BMP", "Dump", "EPS", "EPSI", "EPSTIFF", "Expression",
> "GIF", "HDF", "JPEG", "Lines", "List", "MAT", "MGF", "MPS", "PBM", "PGM",
> "PNM", "PPM", "PSImage", "RawBitmap", "SND", "Table", "Text", "TIFF",
> "UnicodeText", "WAV", "Words", "XBitmap"}
>
> I guess. The help says these formats should be build in. So why they aren't
> visible?
>
> Thanks in advise
>
> Lars
>
> --
> Lars Amsel
> Technische Universitaet Berlin
> Arbeitsgruppe Multimediale Mathematikausbildung fuer Ingenieure (Mumie)
> http://www.mumie.net
>
>