I was just wondering if there is way to output more than 16 colours in graphics.h? I am using Ubuntu 12.04, and currently I can only output 16 colours. I have been trying to find a way to do it, but have not been able to do so. I feel it has something to do with the parameters passed to the initgraph function. I would like to be able to draw 8 bit and even 24 or even 32 bit per pixel bitmaps in graphics.h in C++ in Ubuntu 12.04.
more than 16 colours on graphics.h in C++ in Ubuntu 12.04
293 views Asked by user904542 At
0
There are 0 answers
Related Questions in C++
- How to immediately apply DISPLAYCONFIG_SCALING display scaling mode with SetDisplayConfig and DISPLAYCONFIG_PATH_TARGET_INFO
- Why can't I use templates members in its specialization?
- How to fix "Access violation executing location" when using GLFW and GLAD
- Dynamic array of structures in C++/ cannot fill a dynamic array of doubles in structure from dynamic array of structures
- How do I apply the interface concept with the base-class in design?
- File refuses to compile std::erase() even if using -std=g++23
- How can I do a successful map when the number of elements to be mapped is not consistent in Thrust C++
- Can std::bit_cast be applied to an empty object?
- Unexpected inter-thread happens-before relationships from relaxed memory ordering
- How i can move element of dynamic vector in argument of function push_back for dynamic vector
- Brick Breaker Ball Bounce
- Thread-safe lock-free min where both operands can change c++
- Watchdog Timer Reset on ESP32 using Webservers
- How to solve compiler error: no matching function for call to 'dmhFS::dmhFS()' in my case?
- Conda CMAKE CXX Compiler error while compiling Pytorch
Related Questions in BITMAP
- Finding a specific colour within a bitmap range - VB.net 2022
- Thermal Printing using TCP
- Applying KMeans clustering from OpenCV cannot return a Bitmap with alpha channel
- Is there a way to automatically export OpenOffice/LibreOffice drawings to bitmaps, with options?
- Jetpack Compose: "java.lang.IllegalStateException: Software rendering doesn't support hardware bitmaps"
- A bitmap gets loaded, another bitmap doesn't. LoadImage() from Windows.h
- [Solved]How can I convert Cameraview.GetSnapShot() to Bitmap in a Maui mobile App?
- How to convert a text drawn using BitmapFont in LibGDX in an array of Sprites/TextureMapObjects?
- How to increase the size of a picture without using bitmap?
- C# 16-bit grayscale Bitmap array to video
- C# WinForms drawing a Bitmap on a PictureBox draws too many times
- Where is the problem in my code for generating a bitmap from a byte array?
- Android ImageView not displaying correctly
- How to get zoomed Bitmap from original bitmap using RectF Bouunds
- Convert black and white Bitmap to Single-Channel JPEG in Android
Related Questions in UBUNTU-12.04
- php with ioncube given error /usr/local/ioncube/ioncube_loader_lin_5.3.so: undefined symbol: _empty_map
- How to use update-alternatives to update my sage command
- Chromedriver installed but not working Linux
- unable to uninstall netbeans ide in ubuntu
- Nodejs package cannot be installed in ubuntu
- C strncmp return 1
- Docker - Extracting/Pull very slow
- Ubuntu openssl not asking for Common Name
- CDO to process my NETCDF files (average of a grid) using UBUNTU
- Converting python file into executable in ubuntu 12.04 OS
- ERROR (no such process) returned when I'm hit sudo supervisorctl status
- Report and Alert Configuration- Email send but cant Receive
- Vistual host UBUNTU shows This site can’t be reached
- Unable to install Linux kernel on Ubuntu 20.04
- Get PyCharm to acknowledge PyQt4 package (Ubuntu)
Related Questions in BGI
- Initwindow and Initgraph stops program
- Undefined reference to "readimagefile" to add image to window while using WinBGI graphics library on dev C++
- How do you setup graphics.h in Ubuntu?
- How can I find the area of a quadrilateral drawn with BGI in c programming
- Issues while installing libgraph (for graphics.h library) at Fedora 38
- Why cannot I use graphics.h header file for my C program in VS code
- How do I set screen size using winbgi? (without graphics.h, winbgim, but pure winbgi)
- Expected ";" before Object_name C++
- Process terminated with status
- Where to find BGI file?
- graphics.h in vs code
- Library <graphics.h> is missing for MinGW-W64
- Vertical line using Bresenham Line Algorithm printing a point, not a line
- How do I get char directly from keyboard not through buffer?
- Problems with the 'readimagefile' function with DEV C ++
Related Questions in BPP
- Spring BeanPostProcessor and inconsistently failing app startup
- Replace implementation of bean in spring library project
- How to generate a for loop to cat a command?
- Running multiple config files with Bppancestor
- gcc compiling errors using macOS BigSur M1 chip
- What is the highest bit depth greyscale image I can export from FreeImage?
- Imagemagick maximum colors and scaling
- Java - Finding native Bits Per Point
- Create a 1bpp (bit per pixel) image in OpenCV with C++
- Including Rcpp in a Qt project results in error affecting different included library
- Android: Save Bitmap object as a bmp (1bpp) file format
- sdl surface where bpp = 1
- more than 16 colours on graphics.h in C++ in Ubuntu 12.04
- How to programmatically determine bpp and pixel color format of android screen?
- Losing image quality in c# using Image class (reduces amount of colors)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)