ADD-ON GOOGLE WORKSPACE

Mampat imej dalam Google Docs & Slides

Kurangkan saiz imej sehingga 80% tanpa meninggalkan dokumen.

Percuma
Berfungsi dalam Docs & Slides
Tiada penyimpanan data
Google Docs
Google Slides

Mengapa MiCompress Add-on?

Berfungsi dalam Google Docs

Imbas dan mampat semua imej sebaris dalam dokumen.

Berfungsi dalam Google Slides

Mampat imej pada semua slaid.

3 mod pemampatan

Tanpa kehilangan, disyorkan atau pemampatan maksimum.

Selamat

Imej diproses dengan selamat dan dipadam serta-merta.

Ubah Saiz Pintar

Secara pilihan, tetapkan lebar maksimum untuk mengecilkan imej yang terlalu besar secara automatik semasa memampatkan. Sesuai untuk mengurangkan saiz foto yang ditampal daripada telefon atau kamera.

Pemprosesan Kelompok Sekali Klik

Mampatkan semua imej dalam dokumen atau pembentangan anda dengan satu klik sahaja. Tidak perlu mengendalikan imej satu persatu — jimat berjam-jam kerja manual.

Cara ia berfungsi

1

Pasang Add-on

Ikuti panduan langkah demi langkah di bawah untuk menambah MiCompress ke akaun Google anda, kemudian berikan kebenaran. Ia mengambil masa kira-kira 10 minit.

2

Buka panel sisi

Dalam Google Docs atau Slides, panel MiCompress akan muncul.

3

Mampat & simpan

Pilih tahap pemampatan dan klik 'Mampat semua'.

Format disokong

JPG
JPEG
PNG
PNG
WebP
WebP
GIF
GIF
TIFF
TIFF

Max file size: 25MB per image

Pilih Tahap Mampatan Anda

🟢

Tanpa Kehilangan

Kualiti terbaik. Tiada perbezaan kelihatan. Biasanya jimat 10-30%.

DISYORKAN
🟡

Disyorkan

Keseimbangan yang baik. Kehilangan kualiti minimum. Biasanya jimat 40-60%.

🔴

Ekstrem

Saiz fail terkecil. Sedikit pertukaran kualiti. Jimat 60-80%+.

Soalan lazim

Adakah percuma?
Ya, sepenuhnya percuma.
Adakah ia mengurangkan kualiti?
Anda mengawal. Mod tanpa kehilangan mengekalkan kualiti.
Adakah data saya selamat?
Ya. Imej disulitkan dan dipadam selepas pemprosesan.
Saiz imej maksimum?
Sehingga 25MB setiap imej.
Boleh ubah saiz?
Ya! Tetapkan lebar maksimum dalam piksel.
Adakah ia berfungsi dengan Google Sheets?
Buat masa ini, Add-on MiCompress menyokong Google Docs dan Google Slides. Sokongan Google Sheets ada dalam pelan hala tuju kami dan akan ditambah dalam kemas kini akan datang.
Bolehkah saya memampatkan imej dalam berbilang dokumen sekaligus?
Add-on ini berfungsi pada satu dokumen pada satu masa. Buka dokumen yang ingin anda optimumkan, jalankan pemampatan, kemudian beralih ke dokumen seterusnya. Setiap pemampatan hanya mengambil masa beberapa saat.
Adakah ia akan menjejaskan pemformatan atau susun atur dokumen saya?
Tidak. Imej digantikan di tempat asalnya dengan dimensi, kedudukan, putaran dan pemangkasan yang sama tepat. Susun atur dokumen anda kekal tidak tersentuh langsung.
Adakah add-on ini berfungsi secara luar talian?
Tidak, sambungan internet diperlukan kerana imej diproses pada pelayan awan kami yang selamat. Ini memastikan pemprosesan yang pantas dan hasil pemampatan yang terbaik.

How to install

MiCompress runs from an Apps Script project in your own Google account. Follow the steps below to set it up — it takes about 10 minutes, and you can remove it at any time.

What you need

  • A Google account (Gmail or Google Workspace)
  • A free MiCompress account, for your API key
  • About 10 minutes, on a computer (not the mobile apps)

Manual install, step by step

  1. 1

    Get your API key

    Create a free MiCompress account (or sign in), open My account and press Copy key under API Access. The key starts with mc_. A free account includes 50 images a month — enough to try it; see plans for more.

  2. 2

    Create an Apps Script project

    Go to script.google.com → New project. Click Untitled project at the top and rename it MiCompress.

  3. 3

    Show the manifest file

    Click the gear icon (Project Settings) in the left bar and tick Show "appsscript.json" manifest file in editor. Go back to the Editor (the <> icon).

  4. 4

    Paste in the five files

    Use the Copy buttons below. For Code.gs and appsscript.json, select everything already in the file and paste over it. For the other three, click + next to Files → Script and type the name without ".gs" (Apps Script adds it): CardBuilder, DocsHandler, SlidesHandler. Press Ctrl+S (⌘S on Mac) to save.

    Code.gs
    replace the default file
    View
    CardBuilder.gs
    new script: CardBuilder
    View
    DocsHandler.gs
    new script: DocsHandler
    View
    SlidesHandler.gs
    new script: SlidesHandler
    View
    appsscript.json
    replace the manifest
    View
  5. 5

    Add your API key

    Back in Project Settings, scroll to Script Properties → Add script property. Property: ADDON_API_KEY, value: your mc_… key. Click Save script properties.

  6. 6

    Link a Google Cloud project

    Google requires add-ons to run under a standard Cloud project. In Google Cloud Console create a project (free, no billing needed). Open Google Auth Platform (OAuth consent screen) → Get started: any app name, your email, audience External (or Internal on a company Workspace). Under Audience → Test users, add your own Google address. Copy the Project number from the project's dashboard, then in Apps Script → Project Settings → Google Cloud Platform (GCP) Project → Change project, paste it and confirm. You do not need to enable any APIs.

  7. 7

    Install the test deployment

    Click Deploy → Test deployments. Next to Application(s) make sure Google Docs and Google Slides are listed, click Install, then Done.

  8. 8

    Open a document and authorize

    Open (or reload) any Google Doc or Slides deck. The MiCompress icon appears in the right-hand side panel — click it, then Authorize access. Because this copy belongs to you and is not verified by Google, you will see "Google hasn't verified this app": click Advanced → Go to MiCompress (unsafe) → Allow. It is your own script; the only data it sends out is each image, to the MiCompress API.

Troubleshooting

"Invalid API key"
The value in Script Properties must be exactly the key from My account (no spaces). If you pressed Regenerate, paste the new key — the old one stops working within a minute.
"ADDON_API_KEY not set"
The script property is missing or misspelled. Redo step 5 — the name must be ADDON_API_KEY in capitals.
"Free API allowance used" / "Monthly limit reached"
Your plan's monthly images are used up. They reset on the 1st of each month, or upgrade to Plus or Pro and keep going straight away with the same key.
The MiCompress icon does not appear
Reload the document. If you are signed in to several Google accounts, open the document in the account that owns the script (or a private window). Check that Test deployments → Application(s) lists Docs/Slides and that you clicked Install.
"This app is blocked" or "Access denied"
Your Google address is not on the Cloud project's test-user list (step 6), or your Workspace admin blocks unverified apps — ask them to allow it.
Can my team use it?
Share the Apps Script project with them as Editors; each person then installs the test deployment themselves (step 7). Everyone will use the key stored in Script Properties, so their images count against your plan.

Or just use it now, without installing anything

The website compresses the same images with the same engine. Export from Docs or Slides, compress, and drop the result back in.

Compress images now

API key plans

Your API key is included with every MiCompress account and works in this add-on, the micompress command-line tools (npm, PyPI, Homebrew, …) and the HTTP API. The plan decides how much it can compress each month.

Free account

$0
50 compressions / month
  • Personal API key
  • Workspace add-on, CLI & API
  • Files up to 100MB
  • Try before you buy
Create free account
Best for the add-on

API

$4.99 /month
500 compressions / month
  • Same personal key, 10× the free limit
  • Workspace add-on, CLI & API
  • Separate from your website usage
  • Cancel anytime
Most popular

Plus

$9.99 /month
1,000 compressions / month
  • Same key, higher limit
  • Priority processing queue
  • No ads on the website
  • Files up to 500MB on the website
Get Plus

Pro

$19.99 /month
5,000 compressions / month
  • Everything in Plus
  • Fastest queue priority
  • Up to 100 files per batch
  • Files up to 2GB on the website
Get Pro

One file = one compression. In the add-on, images that cannot be made smaller are left untouched and not counted. The API plan only raises your key's allowance; Plus and Pro share their monthly quota between the website and the API.

Cancel anytime from My account. Need more than 5,000 a month or a team key? Contact us

Bersedia untuk Mampat?

Pasang MiCompress sekarang dan mula kurangkan saiz dokumen anda dalam beberapa saat.

See how to install