{"id":81897,"library":"win32screenshot","title":"Win32Screenshot","description":"Capture screenshots on Windows with Ruby to BMP, GIF, JPG, or PNG formats.","status":"active","version":"5.0.0","language":"ruby","source_language":null,"source_url":"https://github.com/jarmo/win32screenshot","tags":["windows","screenshot","image","capture"],"install":[{"cmd":"gem install win32screenshot","lang":"bash","label":"gem install"},{"cmd":"# Gemfile\ngem 'win32screenshot', '~> 5.0.0'","lang":"ruby","label":"Gemfile"}],"dependencies":[],"imports":[{"symbol":"Win32::Screenshot","correct":"require 'win32screenshot'"}],"quickstart":{"code":"require 'win32screenshot'\nbitmap = Win32::Screenshot::Take.of(:foreground)\nbitmap.save('screenshot.png')","lang":"ruby","description":"Capture the foreground window screenshot"},"warnings":[{"fix":"Ensure your application runs on Windows or use conditional require","message":"Only works on Windows operating systems","severity":"breaking","affected_versions":">= 0"}],"env_vars":null,"search_vec":"'bmp':9 'captur':2,18 'format':14 'gif':10 'imag':17 'jpg':11 'png':13 'rubi':7 'screenshot':3,16 'win32screenshot':1 'window':5,15","created_at":"2026-06-19T05:04:47.028943+00:00","updated_at":"2026-06-19T05:04:47.028943+00:00","problems":[],"ecosystem":"rubygems","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"http://github.com/jarmo/win32screenshot","github":"https://github.com/jarmo/win32screenshot","docs":"http://www.rubydoc.info/gems/win32screenshot/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-19","next_check":"2026-12-16","install_tag":null}}