Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3279238
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T19:34:13+00:00 2026-05-17T19:34:13+00:00

How to load photo in apple official sample GLImageProcessing ? I have succeed to

  • 0

How to load photo in apple official sample GLImageProcessing ?

I have succeed to load photo via UIImagePickerControllerDelegate, but in this sample, all image processing is based on OpenGL, which has its routine.

My purpose is to find out one solution to change the photo source, then I can use this sample to process different photos.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T19:34:13+00:00Added an answer on May 17, 2026 at 7:34 pm

    Still a bit of a beginner myself, but for what it’s worth:
    Looking through the sample, I can see that in Imaging.c there’s a line in initGL that uses the image:

        // Load image into texture
    loadTexture("Image.png", &Input, &renderer);
    

    So you’ll want to replace this with whatever image has been selected.
    NB the documentation on this sample does state:

    // This is not a fully generalized image loader. It is an example of how to use
    // CGImage to directly access decompressed image data. Only the most commonly
    // used image formats are supported. It will be necessary to expand this code
    // to account for other uses, for example cubemaps or compressed textures.

    So you’ll find it’s not general enough to work with any image. Stick with uncompressed PNG files.

    Hope this helps!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to code myself the Apple Photo.app for iOS. All is good but
I load content via Ajax and then I'll have element like $('.my_content_class') and I
How can I load an image from photo library and show it in imageView
I am trying to simply load just the contact photo of all my contacts
Im doing this to load image and show image inside a dialog box. <div
I have an ASHX handler returning an image on page load. I need to
I have read around on this, including Nehe and here for solutions, but I
I have an app need to load photos from simulator photo library. After I
I have written rake task like as below, namespace :db do desc load photo
I am using UIImagePickerController to load saved photo from iphone library. but when I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.