NetLogo / NetLogo/Vid-Extension

Video images capture at only half available resolution

Open
#14 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Scala
Stars
1
Forks
4
PR merge metrics
No merged PRs in 30d

Description

As a test, I setup a 1280x720 world with 1 pixel patch size and the following reports the correct full resolution width of 1280

let img (vid:capture-image world-width world-height)
show bitmap:width img

but copying to pcolors or drawing shows what looks like a half-resolution image

bitmap:copy-to-pcolors (vid:capture-image world-width world-height) false

Below is screen capture from Netlogo and the same camera coming in at 1280x720 via WebRTC in the browser.
depthmonitoring

screen shot 2016-12-14 at 6 48 57 pm

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the report with a 1280x720 world and 1-pixel patch size using vid:capture-image, then compare bitmap:width with bitmap:copy-to-pcolors and drawing output. The issue names no source file or test, so trace these capture and bitmap entry points first. Done means captured images preserve the available resolution in the reported output and copied or drawn images.

Written by the indexing model from the issue text.

Assessment

Tech stack
scala
Domain
audio-video-rtc
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.