ImageManipulator library?

Hello world

come across this article on the use of ImageManipulator for resizing of the images:

http://supportforums.BlackBerry.com/T5/Java-development/display-thumbnails-and-create-a-photo-picker...

I wonder if someone gave the ImageManipulator a try.
I have a few questions:
1. how to get the toolkit library? And I guess we need to compile it with the code?

2. manipulation of the image (in particular the scale) is faster than scaleImage32 method?

3. no limitation for this package?

Thank you

JChow

Here came the ImageMinipulator:

http://supportforums.BlackBerry.com/T5/Java-development/rotate-and-scale-bitmaps/Ta-p/492524

Tags: BlackBerry Developers

Similar Questions

  • Problems with the image after the rotation of the

    Hello world

    I'm turning my .png image using the ImageManipulator library. Current rotation works fine, BUT - my image with alpha background is rendered on a gray square instead of alpha channel. What should I do with my image? How to preserve this alpha channel after rotation?

    OK, finally I managed to solve it. For those who are facing the same bugs with alpha channel by using ImageManipulator, you must change the method ' private Sub paintTransformedBitmap (Graphics g, int textureOriginX, int textureOriginY)

    private void paintTransformedBitmap(Graphics g, int textureOriginX, int textureOriginY) {
            // Make the drawing space transparent first before painting
            g.setGlobalAlpha(getBackgroundAlpha());
            g.setBackgroundColor(getBackgroundColor());
            g.clear();
            g.setGlobalAlpha(255);
            /**
             * Keep the precision of our transformation and Scale the drawing as
             * well. Scale is applied as though a matrix of the form
             *
             * 
             * | ScaleX  0     0|
             * | 0    ScaleY   0|
             * | 0       0     1|
             * 
    * is multiplied by the Transformation matrix * / dux int = Fixed32.div (transformMatrix [UX], resultantScaleX); DVX int = Fixed32.div (transformMatrix [VX], resultantScaleY); Duy int = Fixed32.div (transformMatrix [UY], resultantScaleX); dvy int = Fixed32.div (transformMatrix [VY], resultantScaleY); Necessary for alpha changes with Graphics.Clear 6.0 / / g.setColor (Graphics.WHITE); g.drawFilledPath (bitmapXPts, bitmapYPts, null, null); g.drawTexturedPath (bitmapXPts, bitmapYPts, null, null, textureOriginX, textureOriginY, dux, dvx, duy, dvy, bitmap); }

    Notice the end of the method - setColor and drawFilledPath now commented and image appears.

  • I have an ipod touch 128 GB... but I'm almost to reach its maximum.  I want to do is buy a new ipod touch 128 GB and add new music without synchronizing the entire library to it... I have 2 ipods in conjunction with other copies

    I have an ipod touch 128 GB... but I'm almost to reach its maximum.

    I want to do is buy a new ipod touch 128 GB and add new music without synchronizing the entire library to it... I have 2 ipods in conjunction with the other copies of the other.

    is this possible?

    What should I do?

    Matt

    When you get the new iPod, you can use iTunes on your computer to select and synchronize the music you want on it, in the same way that you synchronize your current iPod - your iTunes will recognize them as different devices and will remember your choice of synchronization for each, it will not (unless, for example, you restore the backup of your current on her iPod) put the same content on both.

    (I asked for your post be moved to the iPod Touch forum, where you have posted is the iPad forum use.)

  • Library icloud music isn't on my iphone

    Our family has recently enrolled in music apple and came to know that my son's iphone is not able to connect to our share of apple. It can be downloaded on his laptop computer.

    I noticed that the option to toggle the music library of icould is absent from his arrangements of music. It is not at all!

    In any case, to get this back such that there the option?

    Thank you for all the advice!

    Take a look at this article and see if it helps.

    Turn on iCloud music library

  • My Camera Roll and times got all the order as soon as I turned on iCloud photo library. My pictures are both old and new, please help

    All my photos are out now since I turned on IiCloud library. How can I fix?

    This - see album iCloud photo library

  • I have a music library of about 7.6 GB.  I have an old nano iPod which has a capacity of 8.0 GB. When I try to sync my library on the nano it accepts only about 1.68 GB.  How can I fix?

    I have a library of about 7.8 GB of songs iTunes music.  I have an iPod nano to 8.0 GB.  When I try to sync my music on the iPod the IPod does accept that about 1.68 GB.  I tried to restore and re-synchronization-the same results.

    JEB

    Are all your songs stored locallyin your computer's iTunes library?  iTunes cannot sync the songs that are accessed by streaming from Apple servers ("iCloud").  To check, find a song that does not sync your iPod to your iTunes library.  Do a right click and get information.  On the tab of the file Info window, browse to the location.  This site shows a path of the file to the location the file of that song on your drive, or should I say iCloud?  Expressed the iCloud, download it.

    If this is the General reason why much of the music library will not sync to the iPod, you can select the pieces all affected at the same time, right-click on the selection and download.  Once all the music files are stored locally, they sync to iPod.

    If this is not the cause of your problem, thanks for posting back with all additional details, such as any error message that appears when you attempt to sync.

  • The music disappeared from my library

    A few months ago, I bought an album and today, I noticed that most of the songs on the album had disappeared. I went to the store and saw that it was as if I had never even bought the album.

    What can I do?

    If it does not show in the section bought for redownloading you have checked to see if you have the hidden cloud: hide and expose the purchases made on the iBooks Store - Apple Support, App Store or iTunes Store ?

    If the version of the album you bought is no longer in the store, or if you have moved since the purchase, you can re-download if you no longer have it on your phone, or your library computer iTunes, you will need to copy backup your computer back.

  • Library > com.apple.mail folder?

    I'm somehow more disk space on a mac air and I see GB 116 in my LIBRARY with 66 GB in support of the request, 14 GB and 29 GB in the Mail folder in the folder the user com.apple.mail.

    Anyone know about this?

    Thank you

    How many e-mails are in the e-mail program?

  • Removed all icloud photo library, 1.9 GB still in use

    I deleted all of my photo, My Photo Stream etc. flows including shared library iCloud.

    I have also ensured that the recently deleted album is empty. I disabled iCloud photo library on each device. It should not be a trace of left.

    However, I always told my library back 1.9 GB of my storage iCloud. There is an option to turn it off completely but it will take 30 days, which is a long wait when I don't know if it will work.

    Any ideas that he could be taking all this space? Or if there is a way to reset all empty without waiting for 30 days?

    I use the latest version of iOS on my iPad and the iPhone, and the El Capitan on my Mac if that helps.

    Have you tried to log in to your iCloud account, then sign in again?

  • When I add a playlist to my library, it automatically updated with new songs?

    Hello world

    When I add a playlist to my library, for example a list of music playback from Apple which is regularly updated by the editors ("Best of the Week" or 'Hits of today', for example), did the playlist in my library automatically update with new songs, when new songs are added?

    Thank you in advance.

    Hello, take a look at this article If you see not your entire library after you update iTunes on your Mac or PC - Apple Support

  • Cannot activate icloud library

    When I try to activate the icloud on my itunes music library by following the steps: itunes - general preferences, it is not a "icloud library" option to check or turn on. Why can't I see this option?

    See this - How do I enable or disable music to iCloud library.

  • iCloud library take too much space

    My iPhone 7 on iCloud iOS 10.0.2 photo library takes too much space.  I have a phone of 32 GB and 16 GB of space are taken after selecting the option optimize the photos.

    Is there a way to limit the photos to a consume a certain amount of space?

    Hello

    No other way in addition to the storage option optimize. The next 'solution' would only be delete photos.

  • export library

    You can export a complete library in pictures

    Yes, go to photos, select all (cmd + A) and click on file - export

  • The music won't add to my library of Apple's music

    Im trying to add songs to my library but when I search a song before and add it, it does not appear in my library even though it says it has added and whenever I press the cloud icon to download it, it keeps all loading and never actually starts to download?

    I can also create playlists, I can type in the name, insert a picture and add music, but when I click on done it just keeps loading

    Try these general steps. They could help.

    1 reset your iPhone by pressing and holding the sleep/wake and home buttons.

    2 disconnect you from your iCloud account and reconnect again.

  • iCloud library download not any photo library

    Hello

    I decided to start using iCloud photo library, so I checked the option "Préférences"-> "iCloud" Photos (version 2.0). He started to download items very well, but I noticed it is not downloading the entire library of Photos. My photo library contains 7065 photos and 151 videos, but Photos only started to load about 2500 points on iCloud library after activating what is 16.5 GB (see screenshots). When you look at the size of "Library.photoslibrary Photos" is 46.5. Does anyone know a reason for this difference? Thank you

    It'll take some time according to the signal from your ISP and Wi - Fi.  Make sure that your signal is good.

Maybe you are looking for