Compress PDF


Tips:
  • Tùy chỉnh mức nén
  • 1️⃣ Nén mạnh nhất(giảm 70–90%)
  • CompressPdf("in.pdf", "out.pdf", 72, 40);
  • 72 DPI
  • JPEG quality 40%
  • 2️⃣ Nén cân bằng(giảm 50–70%)
  • CompressPdf("in.pdf", "out.pdf", 96, 60);
  • 3️⃣ Chất lượng tốt(giảm 30–50%)
  • CompressPdf("in.pdf", "out.pdf", 150, 80);
  • For stronger compression, use lower DPI and lower JPEG quality.
  • If compression fails, check that the uploaded file is a valid PDF.