pixelformat Questions

2

I'm calling glTexSubImage2D. If my pixel format is GL_RGBA, then are the pixel types GL_UNSIGNED_BYTE and GL_UNSIGNED_INT_8_8_8_8 fully equivalent? Also, are these two pairs equivalent? Format =...
Serranid asked 16/10, 2011 at 17:58

3

Solved

I'm trying to figure out whether an image is colored or not. On this StackOverflow question, there's a reply that says that I should check the PixelFormat enum of the Image. Unfortunately, the repl...
Nephelometer asked 26/4, 2012 at 12:55

0

Probably I am missing something, but I can't find a way to create FMX bitmap with a specific pixel format. To be more specific, I need to create FMX.Graphics.TBitmap with pixel format BGR_565. The ...
Parulis asked 12/9, 2017 at 14:50

0

I have some MP4 video files missing the pixel format in their header information. I have already tried setting probesize and analyzeduration to their maximum values 2147483647 but that didn't help....
Lindley asked 30/7, 2017 at 21:7

1

Solved

I've been using this method to resize uploaded .JPG images to a max width, but it's resulting in images being larger in kb than the source. What am I doing wrong? Is there something else I need to ...
Linter asked 25/3, 2017 at 14:52

1

Solved

I configured my code in order to get a stream of YUV_420_888 frames from my device's camera using an imageReader object and the rest of the well known camera2 API. Now I need to transform these fra...
Brittanybritte asked 18/8, 2016 at 17:32

3

Solved

This is in an extension of TextView. getTextSize() and setTextSize() are not overridden, I do not extend those methods. Programming in 1.6, API level 4. The loop in this code causes size to ...
Ginsberg asked 17/2, 2011 at 17:28

3

I'm working on a program in C# that takes screenshots of a potion of the user's screen. For the most pert it works as it should, but I've recently run into one issue. There seems to be (at least) o...
Jackie asked 8/3, 2012 at 7:14

1

Solved

As the title said, anyone know what is RGBX_8888 pixel format? and what is the difference with RGBA_8888? Is RGBA_8888 offers an alpha channel but RGBX_8888 does not? The android documentation doe...
Outspeak asked 2/9, 2015 at 8:21

3

Solved

I'm confused about PixelFormat on Android. My device is Motorola Defy. I have two questions: On Android 2.3 getWindowManager().getDefaultDisplay().getPixelFormat() returns 4 what stands for RG...
Crank asked 14/8, 2012 at 9:46

1

Solved

I am using the following to convert a BitmapSource to a Bitmap: internal static Bitmap ConvertBitmapSourceToBitmap(BitmapSource bitmapSrc) { int width = bitmapSrc.PixelWidth; int height = bitmap...
Hemispheroid asked 16/6, 2011 at 14:41

1

Solved

I am looking to render a DrawingVisual (visual in the example) to a bitmap using RenderTargetBitmap with the view to set this bitmap as the background to a Canvas as below: var bmp = new RenderTar...
Lifesaving asked 3/12, 2010 at 1:16
1

© 2022 - 2024 — McMap. All rights reserved.