SShortSingh.
Back to feed

Browser tool lets you add HDR gain-maps to logos for brighter display on modern screens

0
·1 views

A developer noticed certain logos on LinkedIn appeared significantly brighter than surrounding content on HDR-capable displays such as newer MacBook Pro models. Investigation revealed the effect is achieved by embedding a gain-map into a standard JPEG file, a metadata layer that only activates on HDR screens. LinkedIn was identified as the only major social network that preserves these gain-maps rather than stripping them during upload. The developer built a free, browser-based utility — requiring no registration — to let anyone apply this technique to their own logo. The tool was created in collaboration with Claude Code and can also be used when self-hosting images on personal or company websites.

Read the full story at Hacker News

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Developer Shares Step-by-Step Guide to Pushing First Project to GitHub via SSH

A developer documented their first experience uploading a local project to GitHub using Git and SSH authentication. The process began with configuring Git credentials and generating an ED25519 SSH key, which was then linked to their GitHub account. They created a local folder called 'Kenyan Health Records Analysis' on their desktop, added a README file and a data directory containing a CSV file, and initialized a Git repository. After staging and committing the files, they connected the local repo to a new GitHub repository using an SSH remote link. The completed project was successfully pushed to GitHub and is publicly accessible in their profile.

0
ProgrammingDEV Community ·

Pre-Tax vs Post-Tax Tipping: What Engineers Need to Know When Building Checkout Math

Developers building tipping features in checkout or hospitality systems often assume a simple percentage calculation, but the correct base amount varies significantly by region and venue type. In the US and most of Canada, tips are conventionally calculated on the pre-tax subtotal, while in parts of Europe a service charge may already be included in the bill. A recommended approach is to pass both the pre-tax base and tax amount as separate inputs to the calculation function, along with an explicit policy selector, rather than relying on a single opaque subtotal. This makes the tipping logic auditable and easier to adapt across different regional rules or product configurations. Edge cases such as comped items, loyalty credits, and rounding conventions can cause discrepancies between displayed and receipt amounts if the underlying policy is not clearly defined in code.

0
ProgrammingDEV Community ·

How developers can adopt an AI-first mindset without overhyping the technology

A software developer shares their perspective on what it genuinely means to be an AI-first developer, arguing that using AI simply for appearances adds no real organizational value. They define an AI-first approach as leveraging AI as a primary tool to meaningfully strengthen what makes an organization relevant and functional. The author emphasizes that understanding an organization's true value requires direct conversations with people, not just AI-generated prompts, since that knowledge is complex and context-dependent. They outline a practical mindset shift for individual developers, noting that the core skill is problem-solving rather than writing code. Key foundations include understanding how generative AI models work, their limitations, and how to properly provide context and choose the right tooling for different environments.

0
ProgrammingHacker News ·

Critic Revisits Wolfram's 'A New Kind of Science' With Sharp Skepticism

A critical review of Stephen Wolfram's book 'A New Kind of Science' has resurfaced on Hacker News, drawing renewed attention. The review, hosted on bactra.org, takes a sharply skeptical stance toward Wolfram's claims and scientific ambitions. It has garnered points and discussion on the platform, suggesting continued interest in evaluating Wolfram's ideas. The original book, published by Wolfram, proposed sweeping new frameworks for understanding science through computational principles. The review's pointed title reflects longstanding academic criticism of Wolfram's self-promotional approach to scientific discourse.

Browser tool lets you add HDR gain-maps to logos for brighter display on modern screens · ShortSingh