Displaying pixel in a bitmap as a rectangular pixel

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Piotrekk

    #1

    Displaying pixel in a bitmap as a rectangular pixel

    Hi

    I i am zooming part of an image ( 15x15 px for example ). What i see
    are pixels ( but kinda renderred or something like that ) i nnot
    rectangular form. I need to see them as rectangular pixels - to
    clearly see differences between colours.
    Can anyone of you help me with that?
    PK

  • Piotrekk

    #2
    Re: Displaying pixel in a bitmap as a rectangular pixel

    Isn't that enought to change the pixelformat?

    Comment

    • Piotrekk

      #3
      Re: Displaying pixel in a bitmap as a rectangular pixel

      I have tried to think about your method. DrawImage however doesn't
      change anything -i am passing image as an argument together with
      client rectangle ...
      Image is resized but pixels remain unchanged....

      Comment

      • Peter Duniho

        #4
        Re: Displaying pixel in a bitmap as a rectangular pixel

        Piotrekk wrote:
        I i am zooming part of an image ( 15x15 px for example ). What i see
        are pixels ( but kinda renderred or something like that ) i nnot
        rectangular form. I need to see them as rectangular pixels - to
        clearly see differences between colours.
        Can you be more specific about the issue?

        AFAIK, assuming the CompositingMode of the Graphics instance is
        unchanged (or possibly set to HighSpeed), and you draw a square image
        into a square area (e.g. draw a 15x15 image to a 30x30 area), the output
        should be enlarged square pixels.

        What specifically are you doing, and why isn't it working for you?
        Posting a concise-but-complete example of code that reliably reproduces
        the problem will allow for the best answers to your question.

        Pete

        Comment

        Working...