100KB Extension v1.1.1: Compress & resize files in 0ms directly in Google Chrome

Add to Chrome
KB
100kb
Organize PDF
Merge PDF
Split PDF
Unlock PDF
Optimize PDF
Compress PDFFAST
Convert PDF
JPG to PDF
PDF to Word
Crop & Scale
Passport Photo MakerICAO
Compress Image
Compress Signature
HEIC to JPG
Increase Image Size
Resize & Crop Image
PNG to JPG
JPG to PNG
Backdrop & Stamps
Remove BackgroundAI
Stamp & Date Cleaner
Combine Images
Photo & Signature Joiner
Visa & Passport SpecsSPECS
🇺🇸US Visa & Passport🇮🇳India Exams (UPSC, NEET)🌐Schengen, UK & Canada
Browse All Guidelines
🌐 Browse All Countries🇮🇳India (Exams)🇺🇸United States🇬🇧United Kingdom🇨🇦Canada🇦🇺Australia🇮🇪Ireland🇳🇿New Zealand
Guides
Developer Platform & SDK
Developer OverviewWASM Architecture & Self-Serve Licensing
Developer SDK Technical SpecsWASM Methods & Parameters
Commercial Licensing & PricingSelf-Serve B2B Licensing
WordPress & WooCommerceAuto Media Library WASM Hook
Shopify App & StorefrontZero-Upload Image Optimization
Integrations & PluginsPre-built Framework Components
KB
100kb

Fast, secure resizers. Statically compiled and running purely in JavaScript to keep Aadhaar, marksheets, and applicant credentials confidential.

Support & Contact:

Email: info@100kb.in

Developer SDK & API Overview
  • • Developer SDK Technical Specs
  • • Commercial Licensing & Pricing
  • • WordPress Plugin & Widget
  • • Shopify Liquid Custom Uploads
  • • Multi-Framework SDK Hub

Image Tools

  • Compress Image
  • Passport Photo Maker
  • Compress Signature
  • Photo & Signature Joiner
  • Remove Background
  • HEIC to JPG
  • JPG to PNG
  • PNG to JPG
  • Stamp & Date Cleaner
  • Increase Image Size
  • Resize & Crop Image

PDF Tools

  • Compress PDF
  • JPG to PDF
  • Merge PDF
  • PDF to Word
  • Split PDF
  • PDF to JPG
  • Unlock PDF

Guides

  • → All Technical Guides Hub
  • Signature & 20KB Guide
  • Real Estate Photo Guide
  • Document Guidelines Hub

Visa & Passport Specs

→ Exam Guidelines Hub

✓ UPSC Exam Rules (50KB caps)

✓ SSC Exam Rules (20KB caps)

✓ Banking IBPS / SBI Caps

✓ NSDL PAN Portal Sizes

US (USCIS, DS-260) UK (UKVI, Passport) Canada (IRCC, PR)

Disclaimer: 100kb.in is a private, independent utility website and is not affiliated with, authorized, or endorsed by any government entity or official exam conducting authority, including UPSC, SSC, IBPS, SBI, or NSDL. All product names, logos, and brands are property of their respective owners, and are used for identification and reference purposes only.

EnglishEspañolPortuguêsFrançaisDeutsch日本語Русский中文한국어ItalianoSvenskaNorskRomânăBahasa Indonesia

© 2026 100kb.in. All rights reserved.

About UsPrivacy PolicyTerms of ServiceContact SupportGuidesSuggest a ToolAll Tools
  1. Home
  2. Developer SDK & API
  3. API & WASM Specs
Back to Developer Portal
Developer Documentationv1.1.5 • WebAssembly SDK & Web Component

API & WASM SDK Technical Reference

Everything you need to embed 100KB client-side WebAssembly compression, studio background removal, and low-code Web Component widgets into your applications.

Client-Side WebAssembly SDK Reference

Executes 100% inside user browser RAM and GPU before upload. Slashes storage bills by 85%.

Installation

npm install 100kb-sdk

Usage & Methods

import { 
  init100KB, 
  compressImage, 
  compressPDF, 
  compressSignature, 
  removeBackground, 
  createPassportPhoto, 
  removeWatermark, 
  joinPhotoSignature, 
  convertHeicToJpg, 
  increaseImageSize,
  mergePDFs,
  splitPDF
} from '100kb-sdk';

// Initialize SDK instance (100% Client-Side WebAssembly execution)
const sdk = init100KB({
  apiKey: '100kb_live_YOUR_API_KEY', // Optional (Required only for unbranded Commercial mode)
  debug: process.env.NODE_ENV === 'development'
});

// 1. Compress Image to Target KB (50KB, 100KB, 200KB)
const imageResult = await compressImage(file, { targetKB: 100, mimeType: 'image/jpeg' });

// 2. Vector-Preserving PDF Compression
const pdfResult = await compressPDF(pdfFile, { targetKB: 200 });

// 3. Signature & Fingerprint Optimizer (<20KB Limit)
const sigResult = await compressSignature(sigFile, 20);

// 4. Biometric Passport & Visa Photo Generator (ICAO 70% Head Ratio)
const passportResult = await createPassportPhoto(photoFile, { country: 'us-visa', targetKB: 50 });

// 5. Studio Neural AI Background Removal
const bgRemoved = await removeBackground(photoFile);

// 6. Digital Stamp & Date Artifact Cleaner
const cleanedStamp = await removeWatermark(documentFile);

// 7. Passport Photo & Signature Joiner (Vertical / Horizontal)
const joinedMedia = await joinPhotoSignature(photoFile, sigFile, { layout: 'vertical', targetKB: 100 });

// 8. Apple HEIC to Standard JPG Converter
const jpgResult = await convertHeicToJpg(heicFile, 200);

// 9. Increase Image Size in KB (Inflate File Size Ceiling)
const inflatedResult = await increaseImageSize(imageFile, 100);

// 10. Merge & Split PDF Documents
const mergedPdf = await mergePDFs([pdf1, pdf2]);
const splitPdf = await splitPDF(pdfFile, [0, 1, 2]);

Complete SDK Method & Parameter Reference

Method signatures, options, defaults, and descriptions for all 18+ document and image tools.

1. Image CompressorcompressImage(file, options)

OptionTypeDefaultDescription
targetKBnumber100Target size limit in KB (e.g., 20, 50, 100, 200, 500).
mimeTypestring'image/jpeg'Output format (`'image/jpeg'`, `'image/png'`, `'image/webp'`).
maxWidth / maxHeightnumber2048Maximum boundary dimension cap in pixels.
presetstringundefinedPortal preset (`'us-visa'`, `'us-passport'`, `'uk-visa'`, `'upsc'`, `'amazon'`).

2. PDF CompressorcompressPDF(file, options)

OptionTypeDefaultDescription
targetKBnumber200Target size ceiling in KB for PDF documents. Preserves vector fonts & text.

3. Passport Photo StudiocreatePassportPhoto(file, options)

OptionTypeDefaultDescription
countrystring'us-passport'ICAO country specification (`'us-visa'`, `'uk-visa'`, `'ca-passport'`, `'india-passport'`).
targetKBnumber50Passport photo KB size limit. Automatically crops head to 70% frame height.

4. Additional Specialized Tool Methods

Function NameSignatureDescription
removeBackgroundremoveBackground(file)Studio Medium neural AI background removal for transparent PNG cutouts.
compressSignaturecompressSignature(file, targetKB=20)Sharpens signature contrast and compresses under 20KB limit for form uploads.
removeWatermarkremoveWatermark(file)Cleans digital stamp artifacts, dates, and scanner watermark overlays.
joinPhotoSignaturejoinPhotoSignature(photo, sig, opts)Combines passport photo and signature vertically or horizontally into 1 JPEG file under 100KB.
convertHeicToJpgconvertHeicToJpg(file, targetKB)Converts Apple HEIC/HEIF photos to standard JPEGs in browser RAM.
increaseImageSizeincreaseImageSize(file, minKB)Inflates JPEG/PNG file size in KB to satisfy minimum portal submission limits.
convertPngToJpgconvertPngToJpg(file, targetKB)Converts PNG images to standard JPEG format with target KB compression.
convertJpgToPngconvertJpgToPng(file, targetKB)Converts JPEG images to loss-free PNG format with target KB compression.
resizeImageresizeImage(file, options)Crops and resizes photo dimensions into Circle, Square, or Rounded shapes.
mergePDFsmergePDFs(files)Combines multiple PDF documents into a single file 100% in browser RAM.
splitPDFsplitPDF(file, pageIndices)Extracts specific page ranges from PDF documents with zero data leakage.
jpgToPdfjpgToPdf(files, targetKB)Converts image scans (JPEG, PNG) into a single print-ready PDF under KB limits.
pdfToWordpdfToWord(file)Extracts PDF page contents into editable Microsoft Word (.docx) documents.
pdfToJpgpdfToJpg(file)Exports PDF document pages as high-resolution JPEG images.
unlockPDFunlockPDF(file)Removes password restrictions and printing/copying locks from PDF files.
compressBatchcompressBatch(files, opts, onProgress)Executes parallel WebWorker threads for bulk batch processing with progress callbacks.
Need custom WebAssembly builds or feature development?
Contact via Email →