-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(changelog): quality improvement
- Loading branch information
Showing
6 changed files
with
234 additions
and
140 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
title: "Enhanced Screenshot Quality: Crisp, Clear, and Fast" | ||
description: Experience Argos' improved screenshot quality with lossless PNG, sharp rendering, and fast AVIF compression for superior visual testing. | ||
slug: enhanced-screenshot-quality | ||
date: 2024-06-13 | ||
--- | ||
|
||
![Before and after quality improvements](/assets/changelogs/enhanced-screenshot-quality/quality-comparison.png) | ||
|
||
We are excited to announce major improvements to the quality of screenshots in Argos, ensuring your visual testing results are clearer and more accessible than ever. | ||
|
||
### Key Enhancements | ||
|
||
- **Lossless PNG Compression:** Preserve the highest quality and detail in your screenshots with no artifacts. | ||
- **Sharp Display:** Using [`image-rendering: pixelated`](https://developer.mozilla.org/en-US/docs/Web/CSS/image-rendering) at 1.5x zoom level for clear visuals even when zoomed in. | ||
- **Fast Rendering with AVIF:** Optimized images for fast loading and efficient rendering without compromising quality. | ||
|
||
Experience the difference in screenshot quality today and elevate your visual testing with Argos. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
"use client"; | ||
|
||
import mediumZoom from "medium-zoom"; | ||
import * as React from "react"; | ||
|
||
export function Zoom(props: { children: React.ReactElement }) { | ||
const ref = React.useRef<HTMLImageElement>(null); | ||
|
||
React.useEffect(() => { | ||
if (ref.current) { | ||
mediumZoom(ref.current, { | ||
margin: 24, | ||
background: "rgba(0, 0, 0, 0.9)", | ||
}); | ||
} | ||
}, []); | ||
|
||
return React.cloneElement(props.children, { ref }); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.