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. Bilinear.zip
          39 kB
        2. Bilinear.zip
          45 kB
        3. Bilinear.zip
          34 kB
        4. BilinearSharpen.zip
          39 kB
        5. BilinearSharpen.zip
          39 kB
        6. diff.bmp
          diff.bmp
          2 kB
        7. HalftoneStretchBlt.zip
          16 kB
        8. output2-larger-bilinear.bmp
          output2-larger-bilinear.bmp
          48 kB
        9. output2-larger-stretchblt-halftone.bmp
          output2-larger-stretchblt-halftone.bmp
          48 kB
        10. output2-smaller-bilinear.bmp
          output2-smaller-bilinear.bmp
          2 kB
        11. output2-smaller-stretchblt-halftone.bmp
          output2-smaller-stretchblt-halftone.bmp
          2 kB
        12. output-reactos-FAILED.bmp
          output-reactos-FAILED.bmp
          0.2 kB
        13. output-Win10-SUCCESSFUL.bmp
          output-Win10-SUCCESSFUL.bmp
          0.2 kB
        14. output-Win2k3-SUCCESSFUL.bmp
          output-Win2k3-SUCCESSFUL.bmp
          0.2 kB
        15. output-WinXP-SUCCESSFUL.bmp
          output-WinXP-SUCCESSFUL.bmp
          0.2 kB
        16. palette.c
          22 kB

        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: