Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries. Thanks for all your past and future contributions.

Talk:Image processing using Java ME

From Wiki
Jump to: navigation, search


Javier Muñoz - Great!

This advances will be grat in the Asha development. I only have missed a good solution to not consume so much memory building images in the app...because it needs a lot of resources.

Javier Muñoz (talk) 21:26, 3 July 2013 (EEST)

Javier Muñoz - Update

Great update!

Javier Muñoz (talk) 01:03, 4 July 2013 (EEST)

Hamishwillee - Subedit for wiki style


I've subedited for wiki style (but not completely for English). We use Icode (monotype) for inline code markup, and various other tricks to improve visual layout.

I haven't fixed all the English but did tidy up things like missing spaces after full stops and many instances where capitals were used when not needed. For example, where it says "Image" below this should be "image" UNLESS you are referring to the class Image, in which case use monotype.

This looks like a useful article. I've requested it be reviewed by a technical expert. Thank you!



hamishwillee (talk) 08:09, 12 July 2013 (EEST)

Hamishwillee - PS

Have you actually tested this code on the Asha 501?

hamishwillee (talk) 08:10, 12 July 2013 (EEST)

Hamishwillee - Title change

Perhaps instead of "Maximizing Image processing capabilities of Asha software Platform" you could have "Best practices for image processing using Java ME"

hamishwillee (talk) 08:05, 12 July 2013 (EEST)

Arunkam -


Thanks Hamishwillee.I wrote this at midnight, resulting in these errors!I have made a minor correction now.

This article is meant specifically for the new Asha platform.It will work only on 501 and later devices.Hence generalizing it as Best practices for Java ME may mislead people to think it will work in earlier devices as well.

I didn't get a chance to test the code on a real device,but I have tested it using RDA.It works perfectly in the emulator as well.I have also submitted an app for the Nokia Store which makes use of a customized version of the code included with this article.

arunkam (talk) 12:01, 12 July 2013 (EEST)

Hamishwillee - Yes but

Hi Arunkam

Congratulations, I see this article was featured.

If you say "of Asha software platform" in title they may assume it also works for Web Apps :-) Better to make the runtime clear in title and have tags / warnings if needed to make it clear what platform it works for. Actually though my main problem is with "Maximizing Image processing capabilities " bit. Actually this article is more an overview of the APIs along with an explanation of how to workaround the problem with in-memory images. A better title might simply be "Image processing for Java ME"

The fact that it works on RDA is good enough for me. Thanks.



hamishwillee (talk) 08:34, 15 July 2013 (EEST)

Skalogir - Emboss Image Effect is not available on Asha

Hi Arunkam,

Congrats on the article. This is good work. I have slightly modified the code, so that instead of hardcoding the path to the memory card, a system property is used instead. This increases the portability of the application as different devices might use different absolute paths. My only concern function wise, is whether the emboss effect, works on Asha. Have you tested this with RDA? And if so, on what software version?

skalogir (talk) 11:24, 17 July 2013 (EEST)

Arunkam -

Hi Skalogir,

Yes, I tested this with RDA but I am not sure of the version in which it was tested.However, if an optional feature of AMMS is not available on a device, it threw an exception.The emboss effect did not throw any exceptions.I presumed that it was available ( and the Image did look slightly embossed to my eye).Hence I assumed it was available.

arunkam (talk) 11:41, 17 July 2013 (EEST)

Hamishwillee - PS "Skalogir " is my technical expert.

Hi Arun

Above I wrote " I've requested it be reviewed by a technical expert." That person is Skalogir. The reason I am telling you this is that his comment here that his comment "This is good work" (and more detailed comments to me offline) are "high praise" for the quality of your work and your selection of topic.

So, really well done. Thanks!



hamishwillee (talk) 05:20, 18 July 2013 (EEST)

Skalogir - Emboss follow up

That seems to be an issue indeed. I have now reported this. Currently it's sepia, monochrome, solarize and negative supported by Asha 501. Emboss doesn't throw an Exception, but doesn't perform the effect and redeyereduction is not supported (and also -correctly- throws the exception). Thanks again.

skalogir (talk) 10:53, 18 July 2013 (EEST)

Arunkam -

Thanks a lot Hamishwillee for your comments :) Much appreciated!

@Skalogir -Sure.Please do let me know if the emboss effect issue has been corrected

I wish to suggest one area of improvement.The Image Scaler API has an option of restricting the image to a particular file size.I could not get it working. Would be glad to know how it is incorporated.

arunkam (talk) 13:40, 18 July 2013 (EEST)