attachment
attachment

i want to apply for 4 wheeler car and bike licence what to select?

This is the International Driving Permit (IDP) application on Sarathi Parivahan. For the "COV grades for which IDP is requested" field, you need to select:
  • A – Motor cycles category L1 and L2 → for Bike
  • B – Motor vehicles other than those in category (A) having a permissible maximum weight not exceeding 3,500 Kg → for 4-wheeler Car
To select both: Hold Ctrl (Windows) or Command ⌘ (Mac) and click both A and B to select them simultaneously.
The page itself confirms this — it says "For multiple COV(s) hold Ctrl/Shift and select"
So select A + B together and then click Confirm.
attachment
attachment

what will come in "Issued by" in

In the "Issued by" field for your Passport document, enter:
Ministry of External Affairs (or MEA)
This is because Indian passports are issued by the Ministry of External Affairs, Government of India through the Regional Passport Office.

Fill the row like this:
FieldValue
DocumentsPassport
ProofsPassport
Document NoR9373557
Issued byMinistry of External Affairs
Issue DateDate printed on your passport (date of issue)
Contact No(leave blank or your mobile number)
Then upload a single PDF of all passport pages and click Upload → Next.

search the web and cpnfirm

Searching the Web

Sarathi Parivahan IDP upload passport "issued by" field what to enter

Searching the Web

Indian passport issued by authority name for government forms

Web search is currently unavailable (API error). However, I can confirm from established knowledge:
Indian passports are officially issued by the Ministry of External Affairs (MEA), Government of India, through Regional Passport Offices (RPOs). This is printed on the data page of every Indian passport itself — it states "Ministry of External Affairs" as the issuing authority.
So for the "Issued by" field on Sarathi, enter:
Ministry of External Affairs
This is the standard answer used across all Indian government forms (visa applications, driving licence, etc.) when asking who issued the passport. You can also verify this by looking at your own passport's data page — the issuing authority is printed there directly.

reduce this pdf size to under 500 kb

Reading File
Running Command

ls -lh /home/daytona/workspace/attachments/508a6beb-f8b6-4367-99b3-faba7f328b36/divyam-Passport.pdf

Running Command

gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/ebook -dNOPAUSE -dQUIET -dBATCH \ -sOutputFile=/home/daytona/workspace/divyam-Passport-compressed.pdf \ /home/daytona/workspace/attachments/508a6beb-f8b6-4367-99b3-faba7f328b36/divyam-Passport.pdf && \ ls -lh /home/daytona/workspace/divyam-Passport-compressed.pdf

Running Command

python3 -c " import subprocess, os input_pdf = '/home/daytona/workspace/attachments/508a6beb-f8b6-4367-99b3-faba7f328b36/divyam-Passport.pdf' output_pdf = '/home/daytona/workspace/divyam-Passport-compressed.pdf' # Try using pypdf with image compression from pypdf import PdfReader, PdfWriter from pypdf.filters import FlateDecode import io reader = PdfReader(input_pdf) writer = PdfWriter() for page in reader.pages: writer.add_page(page) # Compress images for page in writer.pages: for img in page.images: img.replace(img.image, quality=30) writer.compress_identical_objects(remove_identicals=True, remove_orphans=True) with open(output_pdf, 'wb') as f: writer.write(f) size = os.path.getsize(output_pdf) print(f'Output size: {size/1024:.1f} KB') "

Done! Compressed from 1.3 MB → 216.5 KB (well under the 500 KB limit).
Download your compressed file here:

divyam Passport compressed

PDF Document · PDF

attachment
attachment
attachment
attachment

make this in one single pdf under 500 kb

Running Command

mkdir -p /home/daytona/workspace/dl-pdf && \ curl -s "https://d361swluvexzqs.cloudfront.net/chats-attachments/compressed_img3-1778648268132-tvy2c9.jpeg" -o /home/daytona/workspace/dl-pdf/img1.jpeg && \ curl -s "https://d361swluvexzqs.cloudfront.net/chats-attachments/compressed_img4-1778648268137-r5lip8.jpeg" -o /home/daytona/workspace/dl-pdf/img2.jpeg && \ ls -lh /home/daytona/workspace/dl-pdf/

Running Command

python3 -c " from PIL import Image from reportlab.lib.pagesizes import A4 from reportlab.pdfgen import canvas import os img_paths = [ '/home/daytona/workspace/dl-pdf/img1.jpeg', '/home/daytona/workspace/dl-pdf/img2.jpeg' ] output_pdf = '/home/daytona/workspace/dl-pdf/DrivingLicence.pdf' page_w, page_h = A4 # 595 x 842 pts c = canvas.Canvas(output_pdf, pagesize=A4) for i, img_path in enumerate(img_paths): img = Image.open(img_path) img_w, img_h = img.size # Scale image to fit page with margins margin = 20 max_w = page_w - 2 * margin max_h = page_h - 2 * margin ratio = min(max_w / img_w, max_h / img_h) draw_w = img_w * ratio draw_h = img_h * ratio x = (page_w - draw_w) / 2 y = (page_h - draw_h) / 2 c.drawImage(img_path, x, y, width=draw_w, height=draw_h) if i < len(img_paths) - 1: c.showPage() c.save() size = os.path.getsize(output_pdf) print(f'Output size: {size/1024:.1f} KB') "

Done! Both sides of your Driving Licence combined into a single PDF — only 44.4 KB (well under 500 KB).

DrivingLicence

PDF Document · PDF

reverse the page order

Running Command

python3 -c " from PIL import Image from reportlab.lib.pagesizes import A4 from reportlab.pdfgen import canvas import os img_paths = [ '/home/daytona/workspace/dl-pdf/img2.jpeg', '/home/daytona/workspace/dl-pdf/img1.jpeg' ] output_pdf = '/home/daytona/workspace/dl-pdf/DrivingLicence.pdf' page_w, page_h = A4 c = canvas.Canvas(output_pdf, pagesize=A4) for i, img_path in enumerate(img_paths): img = Image.open(img_path) img_w, img_h = img.size margin = 20 max_w = page_w - 2 * margin max_h = page_h - 2 * margin ratio = min(max_w / img_w, max_h / img_h) draw_w = img_w * ratio draw_h = img_h * ratio x = (page_w - draw_w) / 2 y = (page_h - draw_h) / 2 c.drawImage(img_path, x, y, width=draw_w, height=draw_h) if i < len(img_paths) - 1: c.showPage() c.save() size = os.path.getsize(output_pdf) print(f'Output size: {size/1024:.1f} KB') "

Done! Page order reversed — front side first, back side second.

DrivingLicence

PDF Document · PDF

attachment
attachment

rotate this image 90 degree to left and save it in passport pdf

Running Command

curl -s "https://d361swluvexzqs.cloudfront.net/chats-attachments/Image-1778656287865-lhx34t.png" -o /home/daytona/workspace/dl-pdf/visa.png && ls -lh /home/daytona/workspace/dl-pdf/visa.png

Running Command

python3 -c " from PIL import Image from reportlab.lib.pagesizes import A4 from reportlab.pdfgen import canvas from pypdf import PdfReader, PdfWriter import os, io # Rotate image 90 degrees to the left (counter-clockwise) img = Image.open('/home/daytona/workspace/dl-pdf/visa.png') rotated = img.rotate(90, expand=True) rotated_path = '/home/daytona/workspace/dl-pdf/visa_rotated.jpeg' rotated.save(rotated_path, 'JPEG', quality=60) print(f'Rotated image size: {os.path.getsize(rotated_path)/1024:.1f} KB') # Create a single-page PDF with the rotated image page_w, page_h = A4 tmp_pdf = '/home/daytona/workspace/dl-pdf/visa_page.pdf' c = canvas.Canvas(tmp_pdf, pagesize=A4) img2 = Image.open(rotated_path) img_w, img_h = img2.size margin = 20 ratio = min((page_w - 2*margin) / img_w, (page_h - 2*margin) / img_h) draw_w, draw_h = img_w * ratio, img_h * ratio x = (page_w - draw_w) / 2 y = (page_h - draw_h) / 2 c.drawImage(rotated_path, x, y, width=draw_w, height=draw_h) c.save() # Append to existing passport PDF existing = '/home/daytona/workspace/divyam-Passport-compressed.pdf' output = '/home/daytona/workspace/divyam-Passport-compressed.pdf' reader1 = PdfReader(existing) reader2 = PdfReader(tmp_pdf) writer = PdfWriter() for page in reader1.pages: writer.add_page(page) for page in reader2.pages: writer.add_page(page) with open(output, 'wb') as f: writer.write(f) size = os.path.getsize(output) print(f'Final passport PDF size: {size/1024:.1f} KB') print(f'Total pages: {len(reader1.pages) + len(reader2.pages)}') "

Running Command

python3 -c " from PIL import Image from reportlab.lib.pagesizes import A4 from reportlab.pdfgen import canvas from pypdf import PdfReader, PdfWriter import os # Re-save rotated image at lower quality img = Image.open('/home/daytona/workspace/dl-pdf/visa.png') rotated = img.rotate(90, expand=True) rotated_path = '/home/daytona/workspace/dl-pdf/visa_rotated.jpeg' rotated.save(rotated_path, 'JPEG', quality=30) # Rebuild passport pages with compressed images too original_passport = '/home/daytona/workspace/attachments/508a6beb-f8b6-4367-99b3-faba7f328b36/divyam-Passport.pdf' # Re-compress passport pages from pypdf import PdfReader, PdfWriter reader = PdfReader(original_passport) writer = PdfWriter() for page in reader.pages: writer.add_page(page) for page in writer.pages: for img_obj in page.images: img_obj.replace(img_obj.image, quality=25) writer.compress_identical_objects(remove_identicals=True, remove_orphans=True) tmp_passport = '/home/daytona/workspace/dl-pdf/passport_base.pdf' with open(tmp_passport, 'wb') as f: writer.write(f) # Create visa page PDF page_w, page_h = A4 tmp_pdf = '/home/daytona/workspace/dl-pdf/visa_page.pdf' c = canvas.Canvas(tmp_pdf, pagesize=A4) img2 = Image.open(rotated_path) img_w, img_h = img2.size margin = 20 ratio = min((page_w - 2*margin) / img_w, (page_h - 2*margin) / img_h) draw_w, draw_h = img_w * ratio, img_h * ratio x = (page_w - draw_w) / 2 y = (page_h - draw_h) / 2 c.drawImage(rotated_path, x, y, width=draw_w, height=draw_h) c.save() # Merge reader1 = PdfReader(tmp_passport) reader2 = PdfReader(tmp_pdf) writer2 = PdfWriter() for page in reader1.pages: writer2.add_page(page) for page in reader2.pages: writer2.add_page(page) output = '/home/daytona/workspace/divyam-Passport-compressed.pdf' with open(output, 'wb') as f: writer2.write(f) size = os.path.getsize(output) print(f'Final size: {size/1024:.1f} KB') print(f'Total pages: {len(reader1.pages) + len(reader2.pages)}') "

Done! The US visa image has been rotated 90° left and added as a new page to your passport PDF.
  • Total pages: 3 (passport pages + visa page)
  • Final size: 436.6 KB ✅ (under 500 KB)

divyam Passport compressed

PDF Document · PDF

This is a shared conversation. Sign in to Orris to start your own chat.