About 642,000 results
Open links in new tab
  1. Open GL - Why are Pixel values in ABGR and how to use them in …

    The easy solution is to simply handle these values in ABGR format. But I also find it easier to work with RGBA values. If I want to use hardcoded color values I would prefer to write them like …

  2. Как конвертировать цвет пикселя ABGR в ARGB?

    Если ваш компилятор достаточно умен для того, чтобы сообразить, что abgr >> 16 | abgr << 16 - это ни что иное как циклический сдвиг abgr на 16, то этот вариант странслируется в …

  3. how to know if an image data is ABGR or RGBA from pygame?

    Mar 23, 2021 · When I load png files with pygame.image.load and then get data with pygame.surfarray.pixels2d, I get sometimes color data in ABGR format, and sometimes in …

  4. c++ - convert RGBA values to ABGR hexadecimal - Stack Overflow

    May 10, 2013 · Some functions I've been using require me to input colors in 0xAABBGGRR format [UINT32] It would be a much more user-friendly interface if this could be accomplished …

  5. Fast algorithm to invert an ARGB color value to ABGR?

    Sep 6, 2012 · 6 In my opinion, the following function is fast enough to return the ABGR color while passing an ARGB color and vice-versa!

  6. Supported Texture Formats in Direct3D9 - Stack Overflow

    Jan 8, 2017 · D3D9 did not support rendering to ABGR formats, but theoretically it was available as a format that could be sampled. However, it was not in common use, and looking through …

  7. How does Bitmap store RGBA raw bitfield? - Stack Overflow

    Oct 25, 2011 · I've read quite few articles on bitmap storage, but one article states that the raw bitfield data of a bitmap file will store in a reverse order (ABGR). However, I found another …

  8. c++ - Using single channel texture (OpenGL 2)? - Stack Overflow

    Oct 9, 2016 · Short storry: when I render anything using texture loaded like this glTexImage2D ( GL_TEXTURE_2D, 0, GL_R8, width, height, 0, GL_RED, GL_UNSIGNED_BYTE, pixels ); I …

  9. dictionary - Groovy map syntax error - Stack Overflow

    Sep 6, 2012 · If I have this code : import javax.swing.* import java.awt.image.* def xMap = [ BufferedImage.TYPE_3BYTE_BGR : "3 byte BGR", BufferedImage.TYPE_4BYTE_ABGR : "4 …

  10. Direct3D 11 texture in ABGR format when RGBA requested

    Jun 4, 2014 · I am trying to learn how to do texture mapping in Direct3D 11. I have successfully mapped a texture onto a quad. The problem is that Direct3D is interpreting my pixel data as …