Movatterモバイル変換


[0]ホーム

URL:


Skip to contentSkip to sidebar
/Blog
Try GitHub CopilotSee what's new

Behold: Image view modes

Now when you view commits that include images you’ll be presented with four ways to view them: 2-up, Swipe, Onion Skin. 2-Up is the default mode, which lets you get…

|
|2 minutes
  • Share:

Now when you view commits that include images you’ll be presented with four ways to view them: 2-up, Swipe, Onion Skin.

2-Up is the default mode, which lets you get a quick glimpse of both images. In addition, if the image has changed size between versions, the actual dimension change will be displayed. This should hopefully reduce headaches like shifts in UI alignment caused by asset size changes.

Swipe lets you view portions of your image side by side. Not sure if the colors shifted between versions? Drag the swipe slider over the area in question and compare the pixels for yourself.

Onion Skin really comes in handy when elements move around by small, hard to notice amounts. Did that icon shift two pixels to the left? Drag the opacity slider back a bit and see if things move around.

Difference is best used when it’s not particularly obvious if something has changed. It will highlight only pixels that are different between the two images, making it the go-to view mode for finding those single pixel changes in a file.

All four modes are supported in the latest versions of the most common browsers. Versions of Internet Explorer before version 9 don’t support canvas unfortunately, so Difference mode won’t show up if you use those browsers.

I should also mention that the Difference mode is possible thanks to @Phrogz’s awesomecontext-blender project that replicates Photoshop blend modes.

Want to try it for yourself? Check outthe demo.

Written by

Related posts

Heading image with the words 'Agent HQ' across the center, surrounded by 'Mission control,' 'GitHub Copilot CLI,' '3rd-party agents,' 'Plan mode,' 'AI controls,' and 'Copilot integrations.'
Company news

Introducing Agent HQ: Any agent, any way you work

At Universe 2025, GitHub’s next evolution introduces a single, unified workflow for developers to be able to orchestrate any agent, any time, anywhere.

A vibrant abstract background with overlapping green, blue, and purple gradient ribbons behind the text ‘Octoverse 2025’ and the GitHub logo.
News & insights

Octoverse: A new developer joins GitHub every second as AI leads TypeScript to #1

In this year’s Octoverse, we uncover how AI, agents, and typed languages are driving the biggest shifts in software development in more than a decade.

Graphic with GitHub icons and the words "Partner of the Year '25"
Company news

Announcing the 2025 GitHub Partner Award winners 🎉

GitHub celebrates its 2025 Partner Award winners, honoring global, regional, and technology partners for driving innovation, collaboration, and impact across the developer ecosystem.

Explore more from GitHub

Docs

Docs

Everything you need to master GitHub, all in one place.

Go to Docs
GitHub Universe 2024

GitHub Universe 2024

Get tickets to the 10th anniversary of our global developer event on AI, DevEx, and security.

Get tickets
GitHub Copilot

GitHub Copilot

Don’t fly solo. Try 30 days for free.

Learn more
Enterprise content

Enterprise content

Executive insights, curated just for you

Get started

We do newsletters, too

Discover tips, technical guides, and best practices in our biweekly newsletter just for devs.


[8]ページ先頭

©2009-2025 Movatter.jp