• 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
QTImage 16 bit w/o alpha
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

QTImage 16 bit w/o alpha


  • Subject: QTImage 16 bit w/o alpha
  • From: "martin.halter" <email@hidden>
  • Date: Mon, 01 Jul 2002 15:10:17 +0200

hi

we are using QTImage from apple to generate
textures. now it is

[qtImage CreateImageWithBitdepth:32:512:512];
...
glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA,
qtImage->buffer_size.width,
qtImage->buffer_size.height,0,
GL_BGRA, GL_UNSIGNED_INT_8_8_8_8_REV,
qtImage->aligned_buffer_ptr);


now we'd like to switch down to 16 bit and without alpha.

which parameters do we have to use?
do we have to change the implementation of QTImage?
is there another class available which reads misc pictures
inclusive pdf?

any help would be appreciated.

martin.halter


_ ___ ___ martin.halter i99 labor 1.262
| || / __| _ \ HSR hochschule rapperswil oberseestr. 10
| __ \__ \ / ch-8640 rapperswil fon +41 55 222 4991
|_||_|___/_|_\ mailto:email@hidden; http://hsr.ch
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Ejecting the door of CD/DVD
  • Next by Date: Re: set***Value: Method not working
  • Previous by thread: Ejecting the door of CD/DVD
  • Next by thread: Re: set***Value: Method not working
  • Index(es):
    • Date
    • Thread