Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-17485

StretchBlt halftone mode doesn't work correctly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • None
    • None

    Description

      On 20210215-0.4.15-dev-2056-g8b6e5e8.GNU_8.4.0:

      The StretchBlt function with setting STRETCH_HALFTONE mode by using SetStretchBltMode function doesn't work correctly.

      1. Extract HalftoneStretchBlt.zip.
      2. Execute HalftoneStretchBlt.exe in HalftoneStretchBlt folder.
      3. File output.bmp will be generated.
      4. The pixels must be RGB(64, 64, 64) in Windows, but RGB(0, 0, 0) in ReactOS.

      Generally, STRETCH_HALFTONE mode is used for smoothly stretching bitmap image.

      Attachments

        1. diff.bmp
          2 kB
          Katayama Hirofumi MZ
        2. output2-larger-bilinear.bmp
          48 kB
          Katayama Hirofumi MZ
        3. output2-larger-stretchblt-halftone.bmp
          48 kB
          Katayama Hirofumi MZ
        4. output2-smaller-bilinear.bmp
          2 kB
          Katayama Hirofumi MZ
        5. output2-smaller-stretchblt-halftone.bmp
          2 kB
          Katayama Hirofumi MZ
        6. output-reactos-FAILED.bmp
          0.2 kB
          Katayama Hirofumi MZ
        7. output-Win10-SUCCESSFUL.bmp
          0.2 kB
          Katayama Hirofumi MZ
        8. output-Win2k3-SUCCESSFUL.bmp
          0.2 kB
          Katayama Hirofumi MZ
        9. output-WinXP-SUCCESSFUL.bmp
          0.2 kB
          Katayama Hirofumi MZ
        10. palette.c
          22 kB
          DougLyons

        Issue Links

          Activity

            People

              Unassigned Unassigned
              katayama_hirofumi_mz Katayama Hirofumi MZ
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: