SShortSingh.
Back to feed

Why your browser canvas 'A4 export' may disappoint at the print shop

0
·1 views

A developer building a browser-based collage tool discovered that labelling a canvas preset 'A4' only guarantees the correct aspect ratio, not a print-ready resolution. An HTML canvas works purely in pixels and has no built-in concept of physical size, so the actual print quality depends on how many pixels are exported relative to the paper dimensions. A 1414x2000px export yields just 171 DPI — acceptable for home printers but well below the 300 DPI expected by photo labs, which requires a 2480x3508px canvas carrying over 35 MB of raw bitmap data. High-resolution exports combined with multiple full-size source photos can silently crash browsers, particularly on lower-memory Android devices, making image downscaling on import a critical optimisation. The developer concluded that clearly communicating export resolution and its print suitability in the UI was more impactful than any code fix, since users accept known limitations but not surprises discovered after paying for prints.

Read the full story at DEV Community

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 ·

AI Search Is Pushing SEO Toward Entity Governance Over Keyword Rankings

The rise of AI-driven search is prompting brands to rethink SEO beyond ranking individual pages for keywords, shifting focus toward making their identity, expertise, and relationships clearly legible across the web. Rather than simply producing more content, organizations now need to ensure key information can be retrieved, interpreted, and correctly linked to the right brand entity. Analysts describe this as entity authority — a framework connecting AI-generated answers to entities, their relationships, schema markup, and knowledge graphs. While no universal technical checklist guarantees inclusion in AI search results, structured data and consistent brand signals help reduce ambiguity in how content is understood. Developers are increasingly expected to treat technical implementation as part of a broader information-quality system, where accessibility, accurate markup, and coherent brand signals work together.

0
ProgrammingDEV Community ·

How One User Locked Down Their Home Wi-Fi Router With Security-First Settings

A home network user shared a detailed breakdown of their Wi-Fi router security configuration on DEV Community. To restrict management console access, they assigned static IP addresses to whitelisted devices, ensuring their IPs never change and remain authorized. Firewall protections including IPv4, IPv6, and DoS defenses were enabled, while remote access features like WPS, SSH, Telnet, and UPnP were all disabled. DNS was switched from the ISP's default to Cloudflare's servers with DoT strict mode, DNSSEC validation, and DNS rebind protection enabled. Administrative settings include daily firmware checks, weekly automatic reboots, and a 30-minute console logout timer.

0
ProgrammingDEV Community ·

Google Expands Gemini AI Access for University Students Worldwide

Google is rolling out broader access to its Gemini AI tools for university students globally, building on an existing no-cost initiative already announced for Europe, the Middle East, and Africa. The expansion runs alongside paid subscription tiers such as AI Pro and Ultra, which are available across more than 140 countries and offer higher usage limits and up to 2 TB of cloud storage. Benefits, eligibility, and promotional terms vary by region and account type, meaning students and institutions cannot assume uniform access worldwide. Google is also continuing to integrate Gemini into educational platforms like Google Classroom, serving both K-12 and higher education users. The widening rollout has prompted calls for universities to establish clearer governance around student account types, data uploads, and appropriate use of generative AI tools.

0
ProgrammingDEV Community ·

Drupal Evolves Beyond CMS to Serve as a Governed Layer in AI Agent Systems

Drupal, long known as a content management system, is expanding its role in 2026 through projects like AI Search, Tool API, and MCP Server to integrate with AI agent architectures. Its existing support for structured entities, permissions, workflows, and APIs maps naturally onto the concepts of context, skills, and tools that agentic systems require. The AI Search project enables Drupal content to feed into retrieval-augmented generation pipelines via embeddings and vector search, while Tool API exposes site operations as structured, permission-aware capabilities for external agents. Rather than replacing agent frameworks, Drupal positions itself as a governed environment that agents can operate against, with Drupal enforcing what actions are permitted. This approach allows organizations to use their existing Drupal content as an AI knowledge layer without building a separate system alongside it.