PDF کمپریسر

استعمال کا طریقہ 3 مراحل
  1. PDF منتخب کریں دبائیں۔
  2. PDF کا حجم کم کریں دبائیں۔
  3. پہلے اور بعد کا سائز دیکھیں، پھر چھوٹی کاپی ڈاؤن لوڈ کریں۔

کم حجم والی دستاویز

یہ دراصل کیا کرتا ہے۔ دستاویز کو کراس ریفرنس اور آبجیکٹ اسٹریمز کے ساتھ دوبارہ بنایا جاتا ہے، بے کار اجزا ہٹا دیے جاتے ہیں اور چاہیں تو میٹا ڈیٹا بھی۔ یہ تصاویر کو دوبارہ نہیں دباتا اور نہ ان کا ریزولوشن گھٹاتا ہے، کیونکہ براؤزر میں ایسا کرنے کے لیے پورا رسٹرائزر درکار ہوتا۔ ساخت، فارم یا نظرثانی کی تاریخ سے بھری دستاویزات پر نمایاں کمی کی توقع رکھیں، اور ایسی PDF پر تقریباً کوئی نہیں جو بیشتر اسکین شدہ تصویروں پر مشتمل ہو — اس صورت میں اصل حجم تصویروں کا ہے، اور یہ ٹول انہیں خاموشی سے خراب کرنے کے بجائے چھوڑ دیتا ہے۔ پہلے اور بعد کے عین اعداد دکھا دیے جاتے ہیں تاکہ آپ خود فیصلہ کر سکیں کہ فائدہ ہوا یا نہیں۔

یہ ٹول کیسے کام کرتا ہے

لفظ "کمپریشن" کے تحت دو بالکل مختلف کام بیچے جاتے ہیں، اور انہیں ایک سمجھنا ہی مایوسی کی وجہ بنتا ہے۔ ایک فائل کی اندرونی ساخت دوبارہ ترتیب دیتا ہے اور کچھ ضائع نہیں کرتا؛ دوسرا اندر کی تصاویر کا معیار گھٹاتا ہے اور تفصیل ہمیشہ کے لیے پھینک دیتا ہے۔ یہاں جان بوجھ کر پہلا کام کیا جاتا ہے، اس لیے جو نکلتا ہے وہ وہی دستاویز ہوتی ہے، دھندلی نہیں۔

دستاویز کھول کر آبجیکٹ اسٹریمز کے ساتھ دوبارہ لکھی جاتی ہے، جس سے اندرونی ساخت زیادہ مؤثر انداز میں سمٹ جاتی ہے اور پچھلی ترامیم کا چھوڑا ہوا فالتو مواد صاف ہو جاتا ہے۔ چاہیں تو ساتھ ہی میٹا ڈیٹا کے خانے بھی خالی کیے جا سکتے ہیں۔ تصاویر کو ہاتھ نہیں لگایا جاتا، اسی لیے تصویروں سے بھری فائل میں مشکل سے فرق پڑتا ہے جبکہ بار بار محفوظ کی گئی پھولی ہوئی فائل نمایاں طور پر سکڑ سکتی ہے۔

PDF کو دراصل بڑا کیا چیز بناتی ہے

  • تقریباً ہمیشہ تصاویر: فون کی ایک تصویر صفحے پر رکھے جانے سے پہلے ہی کئی میگابائٹ کی ہوتی ہے۔ ایسی دس تصویریں ایک بڑی فائل ہیں، اور کوئی ساختی مرمت اس حقیقت کو نہیں بدلتی۔
  • کبھی کبھی سرایت شدہ فونٹ: جو دستاویز کئی مکمل فونٹ سرایت کیے ہوئے ہو وہ انہیں پورا اٹھائے پھرتی ہے، حالانکہ ادھورا حصہ بھی کافی ہوتا۔
  • ترمیم کی باقیات، لوگوں کے اندازے سے کہیں زیادہ: بار بار محفوظ کی گئی فائل میں متروک اجزا جمع ہوتے رہتے ہیں۔ دوبارہ تعمیر بالکل یہی صاف کرتی ہے۔
  • جہاں ممکن ہو، مسئلہ اوپر ہی حل کریں: جس پروگرام نے دستاویز بنائی ہے، اسی سے مناسب ریزولوشن پر برآمد کرنا بعد میں نتیجے کو دبانے سے ہر بار بہتر رہتا ہے۔

What makes a PDF large

Almost always images. A page of text is a few kilobytes; a single photograph at phone-camera resolution is several megabytes, and a scan is a full-page image on every page. A two-hundred-page report can be smaller than a fifteen-page scan, and routinely is.

After images, in a distant second place, come embedded fonts — particularly in documents assembled from several sources, which end up carrying half a dozen near-identical subsets. Then structural waste: revision history from repeated saves, orphaned objects nothing references any more, and uncompressed cross-reference tables.

Knowing which of these your file is made of decides whether compression will help at all.

Two different operations wear the same name

Rebuilding writes the file out again cleanly: shared resources stored once, dead objects dropped, the internal tables compressed. Nothing on the page changes. Text stays text, images keep every pixel they had. It is entirely safe and entirely lossless.

Downsampling re-encodes the images at lower resolution or higher JPEG compression. It is where the dramatic reductions come from — and it is destructive, irreversibly, in a way that shows up when someone zooms in or prints at full size.

The [msm_tool slug="pdf-compress"] does the first. Rebuilding a document is honest about what it can achieve: on a text-heavy or badly-assembled file the saving can be substantial, and on a scan of photographs it will be close to nothing, because the images are the file and they are being preserved exactly.

If a scan has to get much smaller, downsampling is the only thing that will do it, and it should be a deliberate decision with the original kept.

Stripping metadata while you are there

The title, author and keyword fields cost almost nothing in bytes, so removing them is not a size measure. It is a privacy one, and it is convenient to do at the same moment.

Those fields are usually filled in by software rather than by a person, which is how a document ends up naming a colleague who left years ago, or carrying the title of the template it was built from. Clearing them before a file goes outside the organisation is a reasonable default.

How much to expect

Set expectations before running anything, because the disappointment is otherwise guaranteed.

  • A document saved repeatedly in an editor can lose a lot, because each save may have appended rather than rewritten.
  • A document merged from several sources often loses a useful amount to deduplicated fonts and resources.
  • A clean export from a word processor is already tight. A few per cent is a good result and there is nothing wrong with the file.
  • A scan will barely move. The pixels are the payload.

A tool that promises to shrink any PDF by ninety per cent is either downsampling your images without making that clear, or reporting a percentage against something other than the original.

Fixing the cause instead

Compression is a treatment applied after the fact. The larger wins are upstream, and they are usually easy.

Resize images before placing them. A photograph destined for a half-page slot needs perhaps 1200 pixels across; the 6000-pixel original behind it is invisible in the output and enormous in the file. Scan at 200 or 300 dots per inch rather than 600, which is beyond what any office printer reproduces. And export from the source application with a sensible preset rather than the highest one, since "press quality" means embedding everything at maximum fidelity for a commercial printer you are not using.

Where the limit comes from

Before compressing to meet a cap, check what the cap actually is. Email systems reject on the encoded size, which is roughly a third larger than the file on disk, so a 24 MB attachment can fail a 25 MB limit. Portals sometimes state a limit per file and enforce one per submission.

And when a file genuinely will not fit, splitting it or sending a link is usually a better answer than degrading it until it does. A document compressed past the point where its diagrams are readable has been made smaller and useless.

Check before replacing the original

Open the output and look at the pages carrying photographs, fine diagrams or small type, then compare a couple against the source at full zoom. With a lossless rebuild they will be identical, which is the point — but confirming it takes seconds and is the habit that saves you the one time a file turns out to have been processed by something less careful than you assumed.

اکثر پوچھے گئے سوالات

خاص طور پر PDF کمپریسر کے بارے میں۔ اس زمرے سے متعلق عمومی سوالات کے جواب زمرے کے صفحے پر موجود ہیں۔

کیونکہ اس کا حجم صفحے کے مواد میں ہے، غالباً تصاویر میں، جنہیں جان بوجھ کر چھوا نہیں جاتا۔ جب ساخت میں ہٹانے کو کچھ نہ بچے تو نتیجہ خود یہ بات بتا دیتا ہے۔
جو دستاویز پہلے ہی مؤثر انداز میں لکھی گئی ہو، وہ دوبارہ لکھے جانے پر تھوڑی بڑھ سکتی ہے۔ ایسا ہو تو اصل فائل ہی رکھیں۔
نہیں۔ کچھ بھی دوبارہ انکوڈ یا کم ریزولوشن پر منتقل نہیں کیا جاتا۔ سودا یہی ہے: نظر آنے والا کوئی نقصان نہیں، اور تصویروں سے بھری فائلوں پر کوئی ڈرامائی کمی بھی نہیں۔
بائٹس میں اس سے بچت نہ ہونے کے برابر ہے، مگر اس سے مصنف اور تیار کنندہ کے خانے ہٹ جاتے ہیں، جو دستاویز کے آپ کے ادارے سے باہر جانے سے پہلے اکثر کر لینا بہتر ہوتا ہے۔
نہیں۔ اسے آپ کے براؤزر میں دوبارہ بنایا جاتا ہے، اُن بیشتر کمپریشن سروسز کے برعکس جو فائل آپ سے لے لیتی ہیں۔

نئے ٹولز، خصوصیات اور کارکردگی بڑھانے کے مشوروں کی اطلاع پانے کے لیے سبسکرائب کریں۔