• Post Reply Bookmark Topic Watch Topic
  • New Topic

GIF to RGB array  RSS feed

 
Nick George
Ranch Hand
Posts: 815
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Righto, quite simple:
I want a 1-d array of any type such that the first 3 elements make up the RGB of the lower left coord of a GIF, and the last 3 elements make up the RGB of the upper right coord. I managed, though a long and laborious process, to generate a byte array RGBA, but have been unable to decode it in a meaningful way. I would have figured that the first 3 out of every four elements made up an RGB (what is an Alpha?), but that has produced garbage when implemented as such.
Thank you,
Joe
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!