• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Displaying jpeg images
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Displaying jpeg images


  • Subject: Re: Displaying jpeg images
  • From: Cliff Crawford <email@hidden>
  • Date: Mon, 11 Jun 2001 23:25:08 -0400

* Charles Bennett <email@hidden> menulis:
>
> Isn't it more likely that the perl script generates the image?

Yes, that is why the URL ends in a .pl extension. I should have
explained that before, sorry.


> Perhaps the "accepts" mime types going in aren't correct or
> the server is emitting something that's not understood.
>
> The only way to know for sure is to connect to the server
> via telnet and "play browser"

I haven't tried this, however someone else mentioned that
-initWithContentsOfURL: doesn't seem to work with http: URLs at all. I
guess I'll have to do

img = [NSImage initWithData: [url resourceDataUsingCache: YES]];

instead.


--
Cliff Crawford http://www.sowrong.org/
"Cliff, you're a god. I want to bear your child." -- Ed


References: 
 >Re: Displaying jpeg images (From: Richard Schreyer <email@hidden>)
 >Re: Displaying jpeg images (From: Charles Bennett <email@hidden>)

  • Prev by Date: Re: NSView drawRect vs. autoscrolling
  • Next by Date: Re: NSView drawRect vs. autoscrolling
  • Previous by thread: Re: Displaying jpeg images
  • Next by thread: Re: Displaying jpeg images (from HD)
  • Index(es):
    • Date
    • Thread