Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Which image file format you use in SCEA 5 part 2 assigment?

 
Hong Anderson
Ranch Hand
Posts: 1936
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I just sent SCEA 5 Beta part 2 assignment.

First I used JPG for image files, but I found JPG files size are very large, my jar file size is about 2.5MB!

So I have changed to use PNG, my jar file size is reduced to about 600KB.

Before that I believe JPG should be small. I guess JPG is appropriate for photo images, not diagram images .
 
Juan Pablo Crossley
Ranch Hand
Posts: 128
 
Morten Franorge
Ranch Hand
Posts: 137
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
PNG
 
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
I used GIF.

There's no reason why a set of black and white images should be as large as 2.5 megs. Even 16 colors wouldn't be that large. Pretty much every photo software on the market allows you to lower the number of colors in an image. It's a good skill to learn.

-Cameron McKenzie
 
Hong Anderson
Ranch Hand
Posts: 1936
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Cameron McKenzie:
I used GIF.

There's no reason why a set of black and white images should be as large as 2.5 megs. Even 16 colors wouldn't be that large. Pretty much every photo software on the market allows you to lower the number of colors in an image. It's a good skill to learn.

-Cameron McKenzie

Thank for a good suggestion .

My original image color is 16-bit .
 
James Jurach
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I used PNG. My jar was a little under 500K when submitted.
 
Narendra Dhande
Ranch Hand
Posts: 951
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I used JPG format. The tools provides colored images and looking good. I tried to convert the images in other format but losing its visibility. Particularly some association/dependency arrows are not shown properly. As there is no restrictions on the size of the submission I submitted the full graphics jpg format.

I found no reason to re-engineered the diagram in black and white format only to restrict the size in bytes of assignment. My total submission size is around 2.9 MB.

The assignment was successfully received at Prometric and I received the confirmation.


Thanks
[ December 12, 2007: Message edited by: Narendra Dhande ]
 
Michael Work
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Same with James, I am using PNG.
 
Hong Anderson
Ranch Hand
Posts: 1936
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Narendra Dhande:

I found no reason to re-engineered the diagram in black and white format only to restrict the size in bytes of assignment. My total submission size is around 2.9 MB.

This confirms that JPG is very bad for diagram images .
 
Narendra Dhande
Ranch Hand
Posts: 951
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
May be true. But I do not want to put extra efforts on that as it is not important. I just use what the tool provide. The tool supports jpg, png, and svg format, but I have not tried any other format.

Thanks
[ December 13, 2007: Message edited by: Narendra Dhande ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic