Re: Draw on non standard bitmap using CreateDC

Tech-Archive recommends: Fix windows errors by optimizing your registry



OK,

bV5BitCount supports only 1,4,8,16,24,32 BPP, my bitmap is non
standard it can be 2,3,5,6,7, 12 or 16 grayscal bitmap, and I need to
draw on that bitmap using GDI functions.



Thanks
Bader Mah'd

.



Relevant Pages

  • Re: Image Thumbnails question
    ... System.Drawing.Image class has a GetThumbnailImage method which may do just ... ie. you want a scaled image of a standard size *and* a thumbnail. ... public Bitmap ScaleToSize(Bitmap original, Size size) ...
    (microsoft.public.dotnet.framework.drawing)
  • Re: Canon printer and TurboPrint
    ... it's even easier to set up that standard than it was to set up PCL standard. ... so one pipe - printer control, command and response method, most important command - get printer capabilities like resolutions supported, color supported or not as MUST BE in standard, all extras like configuring paper source, setting up printer specific options - optional. ... second pipe - just getting raw bitmap. ...
    (freebsd-questions)
  • Double buffering child controls
    ... Does anyone know how to do double buffering with child controls? ... I know the standard way to create a bitmap and blit that to screen and ... be displayed in this offscreen bitmap, ...
    (microsoft.public.windowsce.embedded.vc)
  • Re: Printing a WinForm as a Graphic
    ... the Graphics device you need to draw on. ... etc., and the PrinterSettings, which is used to determine which printer to ... which passes a PrintPageEventArgs instance containing the ... I would wait to draw the Bitmap in the PrintPage event handler as a good ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Scaling Problem
    ... I suggest that you draw your walls and other objects with absolute coordinates and use a transform to scale everything to the desired sizes. ... Answer those GDI+ questions with the GDI+ FAQ ... EncoderParameters encoderParams = new EncoderParameters; ... the bitmap has to have a size. ...
    (microsoft.public.dotnet.framework.drawing)