JPG, PNG, PDF, and Image Size Choices for Online Assignments
When a student prepares an assignment upload, the safest file format depends on what the work contains. A camera photo of handwritten homework, a screenshot, a chart, a diagram, a scanned page, and a multi-page lab sheet do not need the same export.
File-size limits are often set by the course, teacher, learning management system, or school administrator. That is why format choice should begin with the assignment instructions, then move to readability. The teacher needs to see the work clearly after compression.
When JPG is practical
JPG is usually practical for homework photos, project evidence, and camera images of paper. It can reduce file size well, especially after you crop away the desk or background. The risk is over-compression: handwriting, pencil marks, fraction bars, exponents, and small corrections can become fuzzy.
When PNG is safer
PNG is often safer for screenshots, charts, diagrams, text-heavy graphics, and UI images. It preserves sharp edges and labels better than a heavily compressed JPG. PNG files can be larger, so crop and resize carefully before upload.
When PDF is useful
PDF can be useful for multi-page assignments when the platform accepts it. It keeps page order together and may be easier for a teacher to review. Always check the assignment instructions first. Some tasks ask for images, some ask for documents, and some restrict submission types.
What about WebP?
Use WebP only when the assignment platform and teacher instructions clearly accept it. Even if your device can create WebP, the learning portal, grading workflow, or teacher's device may expect JPG, PNG, or PDF. When in doubt, use the accepted format shown in the upload screen.
Assignment format decision table
| Assignment image type | Recommended format | Main risk | What to preview | Compression advice |
|---|---|---|---|---|
| Handwritten homework photo | JPG | Pencil marks and math symbols blur. | Final answers, steps, corrections, and page edges. | Crop first, then lower quality gradually. |
| Scanned page | JPG or PDF | Large scan or wrong page order. | Each page, page number, and readable text. | Use PDF for multiple pages if accepted. |
| Screenshot | PNG | Private account details remain visible. | Names, emails, grades, chats, and UI text. | Crop private areas and keep sharp text. |
| Chart or graph | PNG | Axis labels and legends become unreadable. | Labels, values, legend, and caption. | Simplify the chart before compressing. |
| Diagram or drawing | PNG or JPG | Lines, arrows, or labels fade. | Arrows, annotations, labels, and required parts. | Use PNG when the diagram is text-heavy. |
| Multi-page lab notes | PDF if accepted | One page is missing or rotated incorrectly. | All pages in order and readable after zooming. | Compress pages enough to fit the LMS limit. |
Match the format to the upload screen, not only the device
A phone camera may save a photo in one format, a scanner may create a PDF, and a screenshot tool may create a PNG. The assignment upload screen is the final authority. Google Classroom, Canvas, Moodle, and school portals can behave differently because teachers and administrators choose submission types, limits, and accepted files. If a portal rejects a file that looks fine on your device, check whether the assignment expects an image, a document, a link, or a specific file extension.
For important work, create one readable delivery copy and test it before the deadline. Open the file outside the editor, zoom in, and read the hardest part of the assignment: small handwriting, graph labels, screenshot text, or a scanned equation. If that part is clear, the format choice is doing its job. If it is not clear, change the crop, retake the photo, use PNG for text-heavy content, or use a PDF for multi-page work if the assignment allows it.
Connect this decision to the full guide
FAQs
Use JPG for single camera photos when the platform accepts images. Use PDF for multi-page work when the assignment accepts PDF and page order matters.
Usually yes. PNG keeps interface text and sharp edges clearer, but you still need to remove private information before uploading.
Only if the assignment platform and instructions accept WebP. Otherwise use the requested JPG, PNG, or PDF format.