Title: Drawn image is shown with interlaced horizontal black lines? · Issue #685 · microsoft/devicescript · GitHub
Open Graph Title: Drawn image is shown with interlaced horizontal black lines? · Issue #685 · microsoft/devicescript
X Title: Drawn image is shown with interlaced horizontal black lines? · Issue #685 · microsoft/devicescript
Description: Type: Bug Describe the issue When I render an image it's appearing with horizontal black lines: To Reproduce import { getDisplay } from "cardputer" import { shipping_game_bg } from "cardputer/images/shipping_game_bg" const display = getD...
Open Graph Description: Type: Bug Describe the issue When I render an image it's appearing with horizontal black lines: To Reproduce import { getDisplay } from "cardputer" import { shipping_game_bg } from "cardputer/image...
X Description: Type: Bug Describe the issue When I render an image it's appearing with horizontal black lines: To Reproduce import { getDisplay } from "cardputer" import { shipping_game_bg } from &q...
Opengraph URL: https://github.com/microsoft/devicescript/issues/685
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Drawn image is shown with interlaced horizontal black lines?","articleBody":"\nType: \u003cb\u003eBug\u003c/b\u003e\n\n## Describe the issue\n\nWhen I render an image it's appearing with horizontal black lines:\n\n## To Reproduce\n\n```ts\nimport { getDisplay } from \"cardputer\"\nimport { shipping_game_bg } from \"cardputer/images/shipping_game_bg\"\n\nconst display = getDisplay()\n\nawait display.init()\n\ndisplay.image.drawImage(shipping_game_bg, 0, 0)\n\nawait display.show()\n```\n\n## Expected behavior\n\nA complete image\n\n## Environment\n\nvscode: 1.86.1\nextension: 2.16.2\n\n## Devices\n\ninteraction_mode: 0\nauto_connect: false\nreset_in: false\nlast_reset_in_time: 0\ntransport:\n web: connected\ndevice: \n id: EF72 (0x0849422dc605a3bc)\n product: ? (0x?)\n firmware_version: \n uptime: \n stats: announce 55392, drop 0, restart 0\n services:\n infrastructure (0x1e1589eb)\n proxy (0x16f19949)\n\ndevice: \n id: ET91 (0x26c32c2553a6b5a3)\n product: ? (0x?)\n firmware_version: \n uptime: \n stats: announce 580, drop 0, restart 0\n services:\n infrastructure (0x1e1589eb)\n dashboard (0x1be59107)\n\ndevice: \n id: DF47 (0xfec04e301305a8ff)\n product: ? (0x32f390a2)\n firmware_version: v2.16.1\n uptime: 128899.76437504962\n stats: announce 244, drop 1, restart 0\n services:\n roleManager (0x1e4b7e66)\n event change: 4\n deviceScriptManager (0x1134ea2b)\n ro status_code: 0x0,0x0 (00000000) \n last data: 27964981, last get: 27964981, last set: , last gets attempts: 0,\n rw autostart: true (01) \n last data: 27964584, last get: , last set: , last gets attempts: 0,\n ro program_sha256: a65e2ee7a8ccf0ee13557e01bc4af2507df971dc0675e590b147928fb908b477 | .^.......U~..J.P}.q..u...G.....w (a65e2ee7a8ccf0ee13557e01bc4af2507df971dc0675e590b147928fb908b477) \n last data: 27964580, last get: 27964581, last set: , last gets attempts: 0,\n event status_code_changed: 7\n event program_change: 1\n devsDbg (0x155b5b40)\n settings (0x1107dc4a)\n wifi (0x18aae1fa)\n cloudConfiguration (0x1462eefc)\n cloudAdapter (0x14606e9c)\n\n\nExtension version: 2.16.2\nVS Code version: Code 1.86.1 (Universal) (31c37ee8f63491495ac49e43b8544550fbae4533, 2024-02-07T09:09:01.236Z)\nOS version: Darwin arm64 22.6.0\nModes:\n\n\u003cdetails\u003e\n\u003csummary\u003eSystem Info\u003c/summary\u003e\n\n|Item|Value|\n|---|---|\n|CPUs|Apple M1 (8 x 24)|\n|GPU Status|2d_canvas: enabled\u003cbr\u003ecanvas_oop_rasterization: enabled_on\u003cbr\u003edirect_rendering_display_compositor: disabled_off_ok\u003cbr\u003egpu_compositing: enabled\u003cbr\u003emultiple_raster_threads: enabled_on\u003cbr\u003eopengl: enabled_on\u003cbr\u003erasterization: enabled\u003cbr\u003eraw_draw: disabled_off_ok\u003cbr\u003eskia_graphite: disabled_off\u003cbr\u003evideo_decode: enabled\u003cbr\u003evideo_encode: enabled\u003cbr\u003ewebgl: enabled\u003cbr\u003ewebgl2: enabled\u003cbr\u003ewebgpu: enabled|\n|Load (avg)|2, 3, 3|\n|Memory (System)|8.00GB (0.06GB free)|\n|Process Argv|--crash-reporter-id 3fef04cc-3e39-471c-8c9c-899a8ad30d03|\n|Screen Reader|no|\n|VM|0%|\n\u003c/details\u003e\u003cdetails\u003e\n\u003csummary\u003eA/B Experiments\u003c/summary\u003e\n\n```\nvsliv368:30146709\nvspor879:30202332\nvspor708:30202333\nvspor363:30204092\nvscorecescf:30445987\nvscod805cf:30301675\nbinariesv615:30325510\nvsaa593cf:30376535\npy29gd2263:30899288\nc4g48928:30535728\nazure-dev_surveyone:30548225\n962ge761:30959799\npythongtdpath:30769146\nwelcomedialog:30910333\npythonidxpt:30866567\npythonnoceb:30805159\nasynctok:30898717\npythontestfixt:30902429\npythonregdiag2:30936856\npyreplss1:30897532\npythonmypyd1:30879173\npythoncet0:30885854\npythontbext0:30879054\ndsvsc016:30899300\ndsvsc017:30899301\ndsvsc018:30899302\n3ef8e399:30949928\ne3gdj431:30958358\n\n```\n\n\u003c/details\u003e\n\n\u003c!-- generated by issue reporter --\u003e\n\n\n\n\n\n","author":{"url":"https://github.com/reggi","@type":"Person","name":"reggi"},"datePublished":"2024-02-12T02:54:44.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/685/devicescript/issues/685"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:5c5a6d50-fab6-e96d-6eb7-5f3988795fca |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AD66:1230D0:1BA856:25A9FF:698E1B11 |
| html-safe-nonce | f8bf8255de599c4cb2d2576595a6875e45bcbb2402197de465f53be5e31f5855 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRDY2OjEyMzBEMDoxQkE4NTY6MjVBOUZGOjY5OEUxQjExIiwidmlzaXRvcl9pZCI6IjQzNDUzMjUzODU1ODk1OTQ4OTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a5782ea09173f8805c4a92e2f7b6f100845f082dcae9c9b0ecf36c1c13a89ea8 |
| hovercard-subject-tag | issue:2129338991 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/devicescript/685/issue_layout |
| twitter:image | https://opengraph.githubassets.com/36344f50a3e93d5ea05482fe455b976b8bfcd09d312f1d611f588fd7d0ec0d4a/microsoft/devicescript/issues/685 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/36344f50a3e93d5ea05482fe455b976b8bfcd09d312f1d611f588fd7d0ec0d4a/microsoft/devicescript/issues/685 |
| og:image:alt | Type: Bug Describe the issue When I render an image it's appearing with horizontal black lines: To Reproduce import { getDisplay } from "cardputer" import { shipping_game_bg } from "cardputer/image... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | reggi |
| hostname | github.com |
| expected-hostname | github.com |
| None | 52130a026bd9a3f98228b6aa6af91acdab5d18de411e2c1e67e6253493561296 |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/devicescript git https://github.com/microsoft/devicescript.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 469857534 |
| octolytics-dimension-repository_nwo | microsoft/devicescript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 469857534 |
| octolytics-dimension-repository_network_root_nwo | microsoft/devicescript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 301a1d7743177dcb7528b1322117cdafeda8ff08 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width