Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / December 2005

Tip: Looking for answers? Try searching our database.

How to show a big size jpg into screen ( auto resize)

Thread view: 
Boki - 27 Dec 2005 13:24 GMT
Hi All,

I have some jpg files that is 1.3Mega pixel, it is impossible to show a full
image in to screen ( phone )

could you please advice which function ( library - free ) I can use ?

Thank you very much!

Best regards,
Boki.
Roedy Green - 27 Dec 2005 15:14 GMT
>could you please advice which function ( library - free ) I can use ?

you can use drawImage to draw part of the image.  to speed
transmission, you will want to split the image into pieces with some
sort of image editor for downloading.  Unfortunately when you do that
you get strange artifacts with JPEG since each piece will be
compressed separately.

Signature

Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.

Andrew Thompson - 27 Dec 2005 22:29 GMT
> I have some jpg files that is 1.3Mega pixel, it is impossible to show a full
> image in to screen ( phone )

I did not think most phones had enough memory to display a 1.3 Meg JPEG.
(Note the JPEG's becomes bigger between disk and RAM)

Signature

Andrew Thompson
physci, javasaver, 1point1c, lensescapes - athompson.info/andrew

bokiteam@ms21.hinet.net - 28 Dec 2005 00:45 GMT
I have used some Sony Ericsson's mobile..

They can do that but user must press zoom in/out to see all of them...

K750i/W800i they have 2M pixel camera.

If I missed something, please adivce : )

Best regards,
Boki.
Alun Harford - 28 Dec 2005 11:30 GMT
>I have used some Sony Ericsson's mobile..
>
[quoted text clipped - 3 lines]
>
> If I missed something, please adivce : )

I thought the JPEG standard was cleverly designed to make this possible -
you can do some clever maths to avoid using a lot of memory during the
resize. I don't know the specifics though.

Alun Harford
bokiteam@ms21.hinet.net - 28 Dec 2005 13:53 GMT
Thanks for information : D

Best regards,
Boki.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.