• 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: Loading already scaled JPEGs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Loading already scaled JPEGs


  • Subject: Re: Loading already scaled JPEGs
  • From: Dan Messing <email@hidden>
  • Date: Wed, 18 May 2005 11:56:36 -0500

Look into the epeg library or the EpegWrapper framework by Marc Liyanage for cocoa. I should probably email Marc to let him know, but the wrapper framework actually contains a bug in that the returned image is not autoreleased. Not a big deal as long as you're aware of it.

Dan Messing
Stunt Software
http://www.stuntsoftware.com/


On May 18, 2005, at 11:05 AM, Michael Becker wrote:

Message: 3
Date: Wed, 18 May 2005 17:16:08 +0200
From: Michael Becker <email@hidden>
Subject: Loading already scaled JPEGs
To: Cocoa Dev Dev <email@hidden>
Message-ID: <email@hidden">email@hidden>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed

Hello!

Recently, a friend told me, that in certain libraries available to  
Delphi, there are functions to load JPEGs in an already scaled  
version. That means, I have a 1024 x 768 pixel JPEG on disk and can  
load it at, say, scale factor 0.5, resulting in a 512 x 384 pixel  
image. The idea here is to circumvent the procedure of loading the  
full-sized JPEG and then resizing it.

Is there any such thing in Cocoa? Or anything similar?

My problem is that right now I am loading lots of images, and if some  
of those are really big, it noticeably slows down my application's  
response time. The images will be displayed at about 400 x 400 pixels  
max. anyways, so loading them in an already scaled version would help  
me.

Any suggestions / hints?

Regards,
Michael

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Loading already scaled JPEGs
  • Next by Date: Re: NEWBIE: Why use protocols?
  • Previous by thread: Re: Loading already scaled JPEGs
  • Next by thread: Handling a Null PlaceHolder on a Bound PopUp (with CoreData)
  • Index(es):
    • Date
    • Thread