MathGroup Archive 2002

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

Search the Archive

Re: Problem with image import


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
>
>



  • Prev by Date: Re: Problem with image import
  • Next by Date: Re: Exporting \[Micro] character tp EPS
  • Previous by thread: Re: Problem with image import
  • Next by thread: Re: Problem with image import