SShortSingh.
Back to feed

How to compress photos locally in your browser without uploading them

0
·3 views

Most free online image compressors require users to upload files to a remote server, which raises privacy concerns for sensitive documents. Modern browsers can instead decode and re-encode images directly on the user's device using canvas and WebAssembly tools. The approach keeps files on the device, avoids upload and download delays, and removes server-imposed limits such as daily caps or watermarks. Users can verify that no upload occurs by checking the Network tab in browser developer tools during compression. The article's author, who built the LocalFileKit tool, notes that the site offers 63 free tools in eight languages for images, audio, video and PDFs.

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 ·

SEO Rank Tracking Needs Observability, Not Just Scraping

Rank tracking becomes difficult when someone asks why a page's position changed, since a spreadsheet of positions cannot reveal whether the page moved, the query ran in another country, the provider returned fewer results, or the job failed. The author argues that rank checks should be treated like application telemetry, where each result is an observation shaped by its query conditions, response, and the health of the check itself. Each record should store query dimensions such as country, language, page, and requested count alongside the outcome, using a simple schema that SQLite can handle at small scale. Outcomes should be separated into found, not_found, and error, with position left null for the latter two so that outages are not mistaken for ranking drops. The piece presents this approach as a way to prevent small SEO scripts from quietly corrupting their reports.

0
ProgrammingDEV Community ·

Cheap VPS Plans Often Renew Far Higher: A Three-Year Cost Comparison of 19 Hosts

A hosting price index checked 19 VPS plans from 15 providers, recording first-term, month-to-month, and renewal rates as of September 15, 2026. Many introductory prices rise sharply once the initial term ends, with some plans jumping by hundreds of percent. Other providers keep the same list price through the entire period, so their three-year totals stay predictable. The analysis groups hosts into three pricing camps: flat list pricing, moderate introductory discounts, and long-prepay shared hosting with the steepest increases. The author notes that the cheapest three-year option can still be a heavily discounted plan, provided the buyer commits to the full prepaid term.

0
ProgrammingDEV Community ·

Why screen recorders should treat source selection as a separate step

The author, who works on Vertov, a browser screen recorder, argues that the moment a screen stream is granted and the moment video writing begins should be handled as distinct states. Their recorder shows a preview after a source is picked, and recording starts only on a separate action, giving users a chance to catch the wrong tab or fix the microphone. The article advises calling getDisplayMedia() from a button press, returning users to source selection if they cancel the picker, and offering a clear retry without guessing the cause of access failures. It also recommends testing cases such as stopping sharing before recording, losing the source mid-recording, and whether audio tracks are actually present, verifying results by playing back saved files.

0
ProgrammingDEV Community ·

Hidden Tone-Mapping Overrides Can Undermine Medical Display Calibration

A medical display can pass calibration checks yet still render images incorrectly if another layer in the signal chain alters the grayscale curve. The article explains that DICOM GSDF conformance depends on every transform between image data and emitted luminance, including the application, OS color management, GPU LUT, and monitor processing. A common hidden conflict arises when an OS-level ICC profile remaps tone on top of a monitor calibrated to GSDF, creating a composed curve that was never validated. Events such as GPU driver updates, logins, or display hot-plugs can change which layer takes precedence, without any error or log entry. The author recommends designating a single tone-mapping owner, verifying output end-to-end with external sensors, and treating driver and OS updates as calibration events.