• 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
Maximum image size ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Maximum image size ?


  • Subject: Maximum image size ?
  • From: Gabriel Zachmann <email@hidden>
  • Date: Thu, 22 Sep 2016 15:14:06 +0200

What is the maximum size of a bitmap image I can render using the Core Graphics framework and CALayer ?

So far, I had assumed it is the maximum texture size the graphics card can handle, so I determined the limits via
   glGetIntegerv( GL_MAX_TEXTURE_SIZE, &maxTextureSize_ );

But apparently , the limits are much higher.

How can I determine the limit, so that my app can filter out images over the limit, so that it does not crash in such cases?

I have checked the documentation, in particular CGImageSourceCreateImageAtIndex() et al., to no avail.



Best regards,
Gabriel.





_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Maximum image size ?
      • From: Volker in Lists <email@hidden>
    • Re: Maximum image size ?
      • From: David Duncan <email@hidden>
    • Re: Maximum image size ?
      • From: kata <email@hidden>
  • Prev by Date: Re: MLMediaLibrary sometimes does not call my KVO
  • Next by Date: Re: Maximum image size ?
  • Previous by thread: Re: Entitlements for non-appstore developer-id signed apps
  • Next by thread: Re: Maximum image size ?
  • Index(es):
    • Date
    • Thread