×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Oct 2011
    Posts
    58

    Image Compression in J2me and Decompression in PHP

    Hi,

    I am trying to develop an application which compresses large image file and send it to server, where php script on server decompress that image file. There are few libraries i have came across while searching such as:
    http://www.java4ever.com/index.php?s...=main&lang=_en,
    http://www.tinyline.com/2d/index.html
    http://code.google.com/p/compress-j2me/downloads/list

    but have no idea how to implement them. also i have not found any decompression script on server side.

    Thanks !!

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,674

    Re: Image Compression in J2me and Decompression in PHP

    Most image file formats are compressed already, just send them in the form as they are.

  3. #3
    Nokia Developer Champion
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    3,085

    Re: Image Compression in J2me and Decompression in PHP

    If you are capturing the image in J2me from camera - use jpeg or png encoding - its already compressed format and send the file to server..

    refer to - http://www.developer.nokia.com/Commu...age_in_Java_ME
    thanks,
    ~Amitabh
    (Champion of the Month -Aug'13)
    Follow me on my blog for Innovative Mobile Apps

  4. #4
    Registered User
    Join Date
    Mar 2003
    Posts
    4,105

    Re: Image Compression in J2me and Decompression in PHP

    Quote Originally Posted by jayantb View Post
    i have not found any decompression script on server side
    Most file formats once compressed cannot be recovered to their original format looseness. Which file format do you use? Many are compressed already, looseness compression algorithms are worse than that.

Similar Threads

  1. Compression - decompression of files
    By swapnil_mahajan in forum Symbian
    Replies: 11
    Last Post: 2010-03-04, 07:53
  2. Can anyone tell me a common method for compression and decompression
    By najeebdanish in forum Mobile Java General
    Replies: 6
    Last Post: 2009-06-08, 06:31
  3. JPEG compression/decompression with CCamera::CaptureImage
    By ryndrvs in forum Streaming and Video
    Replies: 0
    Last Post: 2009-05-11, 20:44
  4. Compression - decompression with J2ME
    By antonio.barone in forum Mobile Java General
    Replies: 0
    Last Post: 2009-01-28, 14:42
  5. ???sample program compression/decompression
    By dev_buzz in forum Streaming and Video
    Replies: 1
    Last Post: 2008-09-22, 18:32

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×