Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Maximum Assignment Size

 
Chih-Wei Lee
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi:
What's the maximum size for part 2 assignment package?
I searched this forum and many people said it's 1 MB.
Is this still correct right now?
It's hard to compress each diagram to around 100 KB.
What happen if my assignment exceed 1 MB and upload process fails?
Do I need to pay for resubmission?

Thanks
 
sivan jai
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what format are you using for the images? for me it turned out jpg was twice as big as a png. Also try to remove colors from your diagrams. You can also try to remove textual information from the diagram and put it else where. In my case even like 4-5 words increased the size of the file very much.
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Most image programs can grayscale an image, or even use a GIF that has only 16 colors in it. Those images will shrink, bigtime. An image file with nothing but lines, small text, and 16 colors shouldn't be anywhere close to 100K in size.

Play around with some graphics software for a bit, like Gimp, and you'll get it down in size.

1 meg is often bandied about. I think 2 megs is okay as well, but I'm not positive. I kept mine small.
 
Chih-Wei Lee
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your reply.
The tool I use can export the diagram as a PNG file.
But it's still a large file around 500 KB and has 4000 x 4000 dimension.
I think the dimension is too big and am trying to reduce the dimension.
However, after shrinking the file, the diagram becomes very unclear.
Maybe I need to find a good graphic tool to do the shrinking.


 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1920x1200 is considered 'High Definition' and would look great on a 50 inch plasma TV. There's isn't a big screen large enough today to display 4000x4000 effectively.

GIMP is good and its free.

-Cameron McKenzie
 
Chih-Wei Lee
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Cameron Thanks
I just found if I export diagram as EMF format, when I create jar file, those EMF images can be compressed to be very small size.
For example, 1.3 MB images file can be down sized to 165 KB. It's almost 10 times size reduction.
 
John Ip
Ranch Hand
Posts: 45
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I read from some other threads, people are saying you can now email the jar to oracle, does it mean that 1 MB restriction no longer exists?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic