About 5,560,000 results
Open links in new tab
  1. What is the difference between "JPG" / "JPEG" / "PNG" / "BMP" / "GIF ...

    Yes. They are different file formats (and their file extensions). Wikipedia entries for each of the formats will give you quite a bit of information: JPEG (or JPG, for the file extension; Joint Photographic …

  2. C++ GDI+ how to get and load image from resource?

    Feb 17, 2021 · Gdiplus::Bitmap* pBmp = LoadImageFromResource(hInstance, MAKEINTRESOURCE(IDI_MY_IMAGE_FILE), L"PNG"); Where LoadImageFromResource is a …

  3. c++ - Load a PNG resource into a CBitmap - Stack Overflow

    Jun 9, 2010 · How do I load a png resource into a CBitMap? When I try this it doesn't seem to work:

  4. Convert bitmap to PNG in-memory in C++ (win32) - Stack Overflow

    20 Can I convert a bitmap to PNG in memory (i.e. without writing to a file) using only the Platform SDK? (i.e. no libpng, etc.). I also want to be able to define a transparent color (not alpha channel) for this …

  5. Saving System.Drawing.Graphics to a png or bmp - Stack Overflow

    May 28, 2010 · I have a Graphics object that I've drawn on the screen and I need to save it to a png or bmp file. Graphics doesn't seem to support that directly, but it must be possible somehow. What are …

  6. How would I load a PNG image using Win32/GDI (no GDI+ if possible)?

    Dec 31, 2010 · Is it possible to load a PNG from a file into an HBITMAP using Win32 GDI functions? If not, what would be the lightest solution without using external libraries (like libpng)?

  7. How do I convert an image from PNG to BMP in Delphi VCL?

    May 24, 2024 · It's probably because you did not define the bitmap's PixelFormat or Palette before drawing the PNG onto the bitmap. If you Assign() the TPNGImage to the TBitmap, it will set the …

  8. How to generate a PNG file with C#? - Stack Overflow

    Apr 4, 2016 · You can create a bitmap with the size you want, then create a Graphics object to be able to draw on the bitmap. The Clear method is the simplest way to fill the image with a color. Then save …

  9. .net - How can I manually read a PNG image file and manipulate pixels ...

    Mar 5, 2016 · With .NET Core, I suggest you that to check out some online repositories or libraries to figure out how to access pixels in PNG files. because so many library's were made to store image in …

  10. Creating GDI+ bitmaps in memory and then saving as png

    Sep 18, 2016 · 4 I am new to C++ and been having trouble with writing a function using the GDI+ library to create a new bitmap in memory ( so not opening/reading an existing bitmap); then drawing on the …