SShortSingh.
Back to feed

Bộ công cụ web xử lý ảnh và PDF hoàn toàn trên trình duyệt, không tải file lên máy chủ

0
·1 views

Nhiều trang công cụ trực tuyến miễn phí tải file nhạy cảm như ảnh hộ chiếu hay hợp đồng PDF lên máy chủ từ xa, gây rủi ro bảo mật đáng kể. Một số công cụ che thông tin PDF chỉ phủ hình chữ nhật đen lên văn bản mà không xóa dữ liệu bên dưới, khiến người khác vẫn có thể sao chép thông tin ẩn. Nhóm phát triển OnDevice Desk đề xuất bộ 4 công cụ miễn phí chạy hoàn toàn cục bộ bằng Web Workers và OffscreenCanvas, dữ liệu không rời khỏi máy người dùng. Bài viết cũng mô tả kỹ thuật tạo ảnh 300 DPI đáp ứng yêu cầu của các cổng nộp hồ sơ hộ chiếu, thị thực và CCCD, cùng thuật toán tạo viền sticker hiệu quả.

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 ·

Browser-Based Spreadsheet Editor Handles XLSX and CSV Files Without Server Uploads

UCDREAMS has released a free spreadsheet editor that parses, edits, recalculates, and exports XLSX and CSV files entirely within the browser. The developers say the approach avoids the server costs, memory exhaustion, and privacy risks that come with uploading files to cloud-based conversion services. The editor relies on WebAssembly and Web Workers, which unzip and parse workbook XML off the main thread so large files load quickly without freezing the interface. To keep scrolling smooth, it uses virtualized rendering that mounts only the cells visible in the viewport rather than tens of thousands of DOM nodes. The article presents the design as a way to give finance teams and other users with confidential data real-time editing without sending files to third-party servers.

0
ProgrammingDEV Community ·

Platform Automates VAT Calculation from Amazon Transaction Reports

A cross-border tax compliance provider built an online platform to replace the manual, spreadsheet-heavy process of computing VAT from Amazon VAT Transactions Reports. Each transaction is sorted into one of seven sales categories based on who collects the tax, whether the buyer holds a valid VAT number, and whether the sale is domestic, intra-EU or an export. Country-specific treatment is stored in a single lookup table rather than in scattered conditional rules, so adding a jurisdiction means filling in that table. The system currently calculates tax live for the UK and eight EU countries, with cross-border rules for all 27 member states. UK import VAT is handled separately through C79 certificates, C88 declarations and Postponed VAT Accounting amounts, which sellers upload alongside the Amazon report.

0
ProgrammingDEV Community ·

Browser-based mail converter embeds remote images in PDFs, flagging blocked ones honestly

A developer added a save-as-PDF feature to a browser mail viewer that processes everything locally using a Web Worker and pdf-lib. Images embedded in the message were straightforward to include, but remotely linked images raised privacy and technical challenges. To avoid tracking, requests omit cookies and referrer data, skip tiny tracking pixels, and refuse private-network addresses. Because many image hosts do not allow cross-origin reads, some pictures cannot be fetched, so the PDF shows labeled placeholder boxes explaining the reason instead of blank gaps. A sample of popular hosts found that roughly two-thirds sent the needed CORS header, indicating that many newsletter images cannot be embedded client-side.

0
ProgrammingDEV Community ·

Why Honest Competitor Comparison Pages Build More Trust Than Rival-Bashing

Many 'X alternative' pages target competitors' search traffic with invented weaknesses, outdated screenshots, and tables that always favor the author. Such pages erode merchant trust in the format as a whole, including among vendors who write fair comparisons. The author argues for acknowledging rivals' genuine strengths, such as a longer track record, and comparing on structural, verifiable differences like pricing model and how retries are handled. Claims should be dated and publicly corrected as the market changes. The author cites their own Churn Buster alternative page, which contrasts a flat fee with percentage-of-recovery pricing and is candid that their product is only six weeks old against a competitor's twelve years.