Tom's Hardware > Forum > Mobility Brands > Ericsson > J2ME : Anybody had a .JPG work in a midlet from T6xx phone..

J2ME : Anybody had a .JPG work in a midlet from T6xx phone..

Forum Mobility Brands : Ericsson - J2ME : Anybody had a .JPG work in a midlet from T6xx phone..

Tom's Hardware: Over 1.4 million members in 6 different countries available to answer all your high-tech questions. Sign up now! Its free!
Word :    Username :           
 

Archived from groups: alt.cellular.ericsson (More info?)

 

I have a midlet that gets an IOException when using
Image.CreateImage() to load .JPG's on Sony Ericsson emulators with the
T6xx phone device profiles.

This same code works fine when the .JPG's are switched to .PNG's & has
worked elsewhere on Motorola & Sprint PCS Vision phones & emulators
with .JPG's.

I've tried .JPG's made by QuickTime Windows, MS Paint, Linux
ImageMagick all to no avail.

If anybody has had .JPG's to work on T6xx phones or emulators please
share your process for creating them.

Sponsored Links
Register or log in to remove.

Archived from groups: alt.cellular.ericsson (More info?)

 

On Sun, 10 Oct 2004 22:36:04 -0700, Sam Iam wrote:

> I have a midlet that gets an IOException when using Image.CreateImage() to
> load .JPG's on Sony Ericsson emulators with the T6xx phone device
> profiles.
>
> This same code works fine when the .JPG's are switched to .PNG's & has
> worked elsewhere on Motorola & Sprint PCS Vision phones & emulators with
> .JPG's.
>
> I've tried .JPG's made by QuickTime Windows, MS Paint, Linux ImageMagick
> all to no avail.
>
> If anybody has had .JPG's to work on T6xx phones or emulators please share
> your process for creating them.

Can't you just use PNGs instead of JPGs ?

Have a look inside a commercial midlet JAR file, you'll find the
graphics are stored as PNGs, and not JPGs.


--
Michael Turner
Email (ROT13)
zvxr.gheare1963@grfpb.arg

Reply to Anonymous

Archived from groups: alt.cellular.ericsson (More info?)

 

michael turner <zvxr.gheare1963@grfpb.arg> wrote in message news:<pan.2004.10.11.21.21.27.702000@grfpb.arg>...
> On Sun, 10 Oct 2004 22:36:04 -0700, Sam Iam wrote:
>
> > I have a midlet that gets an IOException when using Image.CreateImage() to
> > load .JPG's on Sony Ericsson emulators with the T6xx phone device
> > profiles.
> >
> > This same code works fine when the .JPG's are switched to .PNG's & has
> > worked elsewhere on Motorola & Sprint PCS Vision phones & emulators with
> > .JPG's.
> >
> > I've tried .JPG's made by QuickTime Windows, MS Paint, Linux ImageMagick
> > all to no avail.
> >
> > If anybody has had .JPG's to work on T6xx phones or emulators please share
> > your process for creating them.
>
> Can't you just use PNGs instead of JPGs ?

No PNGs are much larger (10X) than JPGs for photos.

> Have a look inside a commercial midlet JAR file, you'll find the
> graphics are stored as PNGs, and not JPGs.

I write commercial midlets.

The graphics that are stored as PNGs are exactly that graphics, not
photographs.

The Sony Ericsson MIDP 2.0 phones support JPG fine.

I can only conclude that Sony Ericsson MIDP 1.0 phones are a poor
implementation.

Every other MIDP 1.0 phone I've ever dealt with from Motorola, Nokia,
Samsung & Sanyo has JPEG support.

Reply to Anonymous

Archived from groups: alt.cellular.ericsson (More info?)

 

"Sam Iam" <thatsamiam@yahoo.com> wrote in message
news:fe7db0d0.0410120810.7183a015@posting.google.com...
> No PNGs are much larger (10X) than JPGs for photos.

At such a small resolution I can't see why that matters.

Reply to Anonymous

Archived from groups: alt.cellular.ericsson (More info?)

 

On Tue, 12 Oct 2004 09:10:14 -0700, Sam Iam wrote:


> I can only conclude that Sony Ericsson MIDP 1.0 phones are a poor
> implementation.

Guess this is why most apps seem to use PNG, so they will work on SE
MIDP1.0 phones.

> Every other MIDP 1.0 phone I've ever dealt with from Motorola, Nokia,
> Samsung & Sanyo has JPEG support.

--
Michael Turner
Email (ROT13)
zvxr.gheare1963@grfpb.arg

Reply to Anonymous

Archived from groups: alt.cellular.ericsson (More info?)

 

"tHatDudeUK" <randomcharsforspammers@btinternet.com> wrote in message news:<2t2qhcF1pidpmU1@uni-berlin.de>...
> "Sam Iam" <thatsamiam@yahoo.com> wrote in message
> news:fe7db0d0.0410120810.7183a015@posting.google.com...
> > No PNGs are much larger (10X) than JPGs for photos.
>
> At such a small resolution I can't see why that matters.

Four 3kb jpg's that become four 30kb png's will make for a 120kb of
images alone that will be slow to download & hog storage.

There's a reason why the newer Sony Ericsson's support JPEG now.

Reply to Anonymous

Archived from groups: alt.cellular.ericsson (More info?)

 

michael turner <zvxr.gheare1963@grfpb.arg> wrote in message news:<pan.2004.10.12.21.40.38.71000@grfpb.arg>...
> On Tue, 12 Oct 2004 09:10:14 -0700, Sam Iam wrote:
>
>
> > I can only conclude that Sony Ericsson MIDP 1.0 phones are a poor
> > implementation.
>
> Guess this is why most apps seem to use PNG, so they will work on SE
> MIDP1.0 phones.
>
> > Every other MIDP 1.0 phone I've ever dealt with from Motorola, Nokia,
> > Samsung & Sanyo has JPEG support.

Most apps ?

Any midlet for photos is just going to ignore the SE MIDP 1.0 phones
rather than have multi hundred KB downloads.

There's a reason that the newer MIDP 2.0 SE phones finally added JPEG
support.

Reply to Anonymous

Archived from groups: alt.cellular.ericsson (More info?)

 

On Wed, 13 Oct 2004 03:28:23 -0700, Sam Iam wrote:

> michael turner <zvxr.gheare1963@grfpb.arg> wrote in message news:<pan.2004.10.12.21.40.38.71000@grfpb.arg>...
>> On Tue, 12 Oct 2004 09:10:14 -0700, Sam Iam wrote:
>>
>>
>> > I can only conclude that Sony Ericsson MIDP 1.0 phones are a poor
>> > implementation.
>>
>> Guess this is why most apps seem to use PNG, so they will work on SE
>> MIDP1.0 phones.
>>
>> > Every other MIDP 1.0 phone I've ever dealt with from Motorola, Nokia,
>> > Samsung & Sanyo has JPEG support.
>
> Most apps ?

Yup, Apart from the most common type of midlet which seems to be games.
Midlets seem to cover stuff like calculators, web browsers, dictionaries,
email clients, planners, money management, instant messengers.

And nothing which could be described as photographic, or involve JPGs.

> Any midlet for photos is just going to ignore the SE MIDP 1.0 phones
> rather than have multi hundred KB downloads.

I haven't actually seen any midlets which involve photos. Could you
give some examples.

> There's a reason that the newer MIDP 2.0 SE phones finally added JPEG
> support.

Oh yeh I do know that the MIDP2.0 spec is capable of a whole lot more
stuff than MIDP1.0

--
Michael Turner
Email (ROT13)
zvxr.gheare1963@grfpb.arg

Reply to Anonymous
Tom's Hardware > Forum > Mobility Brands > Ericsson > J2ME : Anybody had a .JPG work in a midlet from T6xx phone..
Go to:

There are 1158 identified and unidentified users. To see the list of identified users, Click here.

Please mind

You are about to answer a thread that has been inactive for more than 6 months.
If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.

Add a reply Cancel
Sponsored links
  • Ask the community now
  • Publish
Ad
They won a badge
Join us in greeting them