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
         * 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.

Tags: BlackBerry Developers

Similar Questions

  • How to do this: Photoviewer, Windows cannot save changes to the image due to a problem with the properties of the file!

    Hi, I'm trying to post a photo, but whenever I have try rotation to the right, it says something like: can't save changes to the image due to a problem with the properties of the file. My laptop is MS, but the photos were taken on the Iphone. How to do this?

    I don't know if the following links answer your question, but
    they may be worth a visit:

    Good luck and * proceed at your own risk *.

    FWIW... There is a very long discussion (several pages) to the
    following link:

    Cannot change the imported iPhone 4S photo

    More Discussion

    iPhone 4S image properties is not compartible with Windows?
    Editing can be done on the computer due to the error
    "Windows Photo Viewer cannot save changes to this picture.
    because there is a problem with the properties of the image file".
    Any help?

    More Discussion:

    We cannot turn a few photos in Windows 7 (but can turn others)

    A simple solution is to open the photos in paint or most other
    digital image editor and modify it.

    Some people have reported success using the following free download
    to remove the metadata.

    Property restrictions stripper iphone 4S (JPEG & PNG Stripper)

    Here's a way to turn...

    Easily turn locked iPhone 4 and 4 s Photos in Windows 7 with
    the rotator Lossless JPEG free

    Free download JPEG Lossless rotating

  • I've had dramas with my photos because I got my new iphone 4s in saying that there is a problem with the properties and I can't change the format of images


    I've had dramas with my photos because I got my new iphone 4s in saying that there is a problem with the properties and I can't change the format of images (ie the rotating EGTC)

    Now, I see the image preview and it disappears to the flower, so I did not see one of my photos

    Some would like TO help on this im so not good with this kind of thing.

    Appreciate it in advance



    • When you change the format of images of?
    • What is Windows Explorer or Itunes?

    Try the TV activation

    Enabled and disable the Option 'show window previews (thumbnails) '.

    a. right click on the taskbar.

    b. Select Properties.

    c. check show window previews (thumbnails) "Option. .

  • Problems with the condenser after the recent update tool

    We have problems with the condenser so tool. The filter works correctly, but after a 'white' to use (looks like most exposed) rectangle remains in the image that cannot be deleted. We tried different layer modes without success: it does not react or the rectangle disappears but both the effect of the filter. Seems to be a bug (?) - Please help us as soon as possible. Thank you!

    Hi meuschke,.

    Our engineers are working on this issue, in the average as you try the below work around.

    After you change a 16-bit image using the Liquify Filter, edited areas are lighter than the rest of the image.


    In the meantime, there are two solutions:

    Use pictures 8-bit instead of 16-bit images with fluidity

    Disable the GPU use to liquefy holding the key Option (Mac) or Alt (Windows) key down while you select the Liquify Filter in the menu filter.

    Related link: with the help of fluidity on the results of the 16-bit image areas clearer around changes

    Let us know if that helps.

    Kind regards

    ~ Mohit

  • Problem with the Conexant HDAudio after installing x 86 Vista SP1

    I didn't want to start a new thread, but it seems that my problem is quite unique.

    When the first x 86 Vista install my speakers/headphones worked great. After Vista SP1 installed, my speakers/headphones went silent, but the pilot was still there and working properly. I uninstalled the driver and let Windows automatically install a different driver. (No Rollback was available) I could get the sound from my speakers. Speakers are the only thing that works if I plug into the headphone jack or not.

    When connected to the plug headphones I have test the headphones feature in playback devices and receive nothing in the helmet.

    Drivers of HP support only cut my speakers while doing my reading helmet camera disappear. Even with the updated driver.

    I like to use it as a TV computer and would like the sound of the TV via the headphone jack.

    I searched EVERYWHERE on the internet and found no resolution. Any help would be appreciated.

    HP pavilion dv6748us

    Conexant Audio

    Hardware ID:

    HDAUDIO\FUNC_01 & VEN_14F1 & DEV_5051 & SUBSYS_103C30CF & REV_1000

    HDAUDIO\FUNC_01 & VEN_14F1 & DEV_5051 & SUBSYS_103C30CF

    Have encountered problems with the card drivers its me on vista & 7 even when driver installation correct support downloaded installers.

    Only solution I found was to download a range of versions of different driver bought research google & trials, tedious but sometimes only way to get the result.

    If you uninstall the driver & restart it installs a generic driver audio Conexant or Windows!

    I also use my laptop with TV & hifi so work taken audio is a must (card input jack usb audio can be an option if)

    Also never rule out the fault of Council helmet as have a Pavilion & after that OS installed on a new drive HARD had no audio for headphones, pilot presumed linked, but after fiddling fuond twist got jack sound, turned Ribbon glued on card Board failed.

  • Problem with the touchpad after upgrade to Windows Vista

    After that I've upgraded to windows vista I had problem with the touchpad, that I'm not?

    Can U help me!

    Maybe when you tell us what model of laptop you have. ;)

  • ThinkPad X 230 Windows 7-64: problems with the screen after updates

    Hi all

    I have a problem with the Thinkpad X 230. After a recent update of Windows 7 (64-bit), the screen resolution is set to 800 x 600 and brightness to the minimum. FN + F8/F9 does not work. The brightness is uncontrolled. I had to restore the system before the update.

    How to solve the problem, do anyone know?

    Thank you!


    Hi Isosik,

    Welcome to Lenovo Community!

    According to the request, we understand that you are facing problem with the display resolution on your ThinkPad X 230.

    If you have updated the drivers from Windows update, sometimes this kind of problem occurs with windows generic drivers for cause of driver incompatibility, suggest always update drivers only via the ThinkVantage System Update utility. Update only the application of Microsoft Windows Update.

    You can also manually download the drivers from the Lenovo support site.

    Lenovo support site.

    I hope this helps.

    Best regards

    Agnes Kumar

  • After submitting my info, I had the SERVER ERROR: 500 internal server error! There is a problem with the resource you are looking for, and it cannot be displayed. :

    Over the four days, I've lost two e-mail accounts:

    1 * e-mail address is removed from the privacy *

    2nd * e-mail address is removed from the privacy *

    I went to

    I filled in all the information and answered all the question. I provided

    the email address where I can be reached: * address email is removed from the privacy *

    But when I click on submit

    "The display shows:" Server error

    500 internal Server Error. There is a problem with the resource you

    can are looking for, and it cannot be displayed' you explain or tell me

    How can I return my email accounts. Thank you and best regards

    B.Okediji sanogo


    E-mail address is removed from the privacy *.

    Hi Zacheus B.Okediji,

    1. what web browser do you use?

    2. when the problem started?

    The website you are visiting had a server problem preventing the display of the Web page. It often occurs due to maintenance of the site, or due to a programming error on interactive websites that use scripts.

    For more information, see the following article:

    Get help with the Web site (HTTP error) error messages.

    If you use Internet Explorer, you can read the following article and try steps 2, 3 and 4 to solve the problem.

    Internet Explorer is slow? 5 things to try

    Note: Resetting the Internet Explorer settings is not reversible. After a reset, all previous settings are lost and cannot be recovered.

    You can also visit the following links to support Windows Live:

    "Server too busy", "Internal Server Error" and we do little maintenance to improve the service.

    Internal server error when trying to open hotmail

    Hope this information is useful.

  • I have a problem with my keyboard after the update using drivercanner

    Original title: my keyboard stopped working after the last updae

    OTEVA here

    Hi I have a problem with my keyboard after update using drivercanner I need help fixing this cause I tried looking for the installation of the upate that cause, but I don't have where to look.

    try a system restore to a date preceding the update.

  • Problem with Windows Update after the removal of Virus

    My operating system is Win Vista 32 bit, had some virus closed my windows updates, have a view of the white page. Checked that my services and win update is in automatic mode has started, so I don't know why my updater gives me a red x saying windows updater is turned off.  Any suggestions?

    [Original title: Windows Update]>

    It makes more sense. How to reset the Windows Update components?

    Yet, as indicated in The ball , the search results links do not work. I also used several browsers and DuckDuckGo. Maybe it's because the Windows Update Agent was changed some time ago and the article is no longer valid.

    EDIT: If the OP is also struggling to access the link I suggest using repair Windows updates available from I suggest also using the Registry backup of the same author before hand.

    Repair the Windows updates

    Registry backup

    I hope this helps.

  • Problem with the redirection email Yahoo after installation of nine updates

    Original title: problem with transfer of emails after having installed new updates

    I installed the windows updates nine but a few days ago since then have had a problem with the redirection of emails coming into my inbox on my BT Yahoo mail account. When I get the Outbox until you find at least half of the time the "add recipients" does not work despite all the efforts, which means that I would put in manually email addresses (long and painful). My windows mail forwarding system seems to work OK. -Wood Marcus * address email is removed from the privacy *


    1. What were the updates that have been installed on your computer?

    Check out the following link.

    See the Windows updates are installed

    2. don't you configure e-mail account Yahoo BT in any e-mail client? Example: Outlook, Windows Mail.

    3. you use Internet Explorer to access BT Yahoo mail account?

    If you have configured the account BT Yahoo mail on the mail client, post of additional information to help you more away or well you could contact Yahoo Mail Support forums to help you best. Check out the following link.

  • Problems with VC90 runtimes after deleting the winsxs folder. Installers now may not have write access to the winsxs folder?

    I very much regret to remove winsxs folder. I read that it might be recreated after being deleted and it was, but now VC90 doesn't quite

    A bunch of programs does not start, saying: there is a problem with the 'side by side configuration. Sxstrace using and try to run one of these programs, the analyzed log file shows that it was looking for VC90 manifest files in the folder "winsxs/manifest", which he could not find.

    It was weird because I feel that these manifest files should be created by the setup of the program (this program has been installed after I deleted the winsxs folder).

    Programs that are looking for VC90 during installation will say I did not install and will try to install it, and then fail and leave. I tried to install the runtime myself, but get the following error:

    Product: Microsoft Visual C++ 2008 Redistributable - x 86 9.0.30729.17 - Error 1935.An error occurred during the installation of assembly ' Microsoft.VC90.ATL, version = "9.0.30729.1", publicKeyToken = "1fc8b3b9a1e18e3b", processorArchitecture = "x 86", type ="win32" '. " See Help and Support for more information. HRESULT: 0 X 80070003. Assembly interface: IAssemblyCache, function: CreateAssemblyCacheItem, component: {AE56AAF5-F3C0-3D4B-8859-A1E50A3E27BF}

    I tried to get windows updates, but that did not fix it. I also tried to install SP2 (currently SP1) but it wouldn't install.

    Could someone help me please?

    Hello CheapSteaks,

    Thanks for posting on the Microsoft answers Forum.

    Click on the following article to see if it helps with your question.
    KB Article ID: 970652 -Error 1935.An error occurred during the installation of assembly ' Microsoft.VC90.ATL, version

    If please reply back and let us know if it helped to solve your problem.


    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

  • Reinstalling windows 7 ultimate retail after changing the SSD, the motherboard and the processor. I'm having a problem with the reactivation?

    I'll upgrade my desktop PC, by changing the motherboard, processor and SSD drive with the OS on it to boot. I have a problem with the reactivation of windows, and should I turn it off, somehow first, or the previous version will be considered as-enabled automatically? It is a retail, windows 7 64 ultimate version. Please advise, thanks in advance.

    Just reactivate by phone:

    How to activate Windows 7 manually (activate by phone)
    1) click Start and in the search for box type: slui.exe 4
    (2) press the ENTER"" key.
    (3) select your "country" in the list.
    (4) choose the option "activate phone".
    (5) stay on the phone (do not select/press all options) and wait for a person to help you with the activation.
    (6) explain your problem clearly to the support person.

    Remember, if it is a retail upgrade license:

    However, the requirements for the media upgrade is that you have an operating system already eligible such as Windows XP or Vista installed to use it. Since the Windows 7 end user license agreement.

    15 UPDATES. To use upgrade software, you must first be licensed for the software that is eligible for the upgrade. After the upgrade, this agreement takes the place of the agreement for the software that you upgraded. After upgrade, you can no longer use the software that you upgraded.

    So, if you are always denied, you will just have to reinstall Windows XP or Vista and let it do the verification of eligibility.

    You can skip to enter the product key and try the activation of the phone to work around this problem.

  • Problem with the areo and transparency in Windows 7 after installation of Nvidia Geforce go 6200

    Am having problem with the areo and transparency in Windows 7 after installation of Nvidia Geforce go 6200

    * original title - I'm having a problem *.

    You have the latest drivers?

    Aero - Windows 7 - How to troubleshoot problems with Aero

    (1) first of all, click on the Start button and type in Aero. Now, click on find and fix problems with transparency and other Visual effects of link.

    (2) a new Wizard dialog box opens. Make sure that you click Advanced to solve all problems automatically.

    (3) either the problem will be solved or not. If this isn't the case, you will get a list of items that are potential problems.

    (4) If you want to see more details about the problem, you can click View detailed information. This will give you a list of potential problems that have been verified and those that pose problems.

    If it does not---> click Start---> right click computer---> click Properties

    Click the link for 'Windows performance index' and then click 'rerun the assessment"to refresh your WEI score and try again.

    Note: If you have Windows 7 Starter, or if your system does not meet the requirements for Aero you will not be able to use Aero.

  • Problem with the rules after upgrade of the VM in foglight cartridge


    There is a small problem with the rules after that I updated the VM cartridge level.

    In the default rules, I changed a few settings so that they will act as I need.

    However, each time I upgrade VM cartridge my rules are off and marked as backup.

    The question is: is there a way to upgrade the cartridge and keep my active rules after upgrading?

    Best regards


    This is the normal behavior according to this KB article

    105872 knowledge article

    • Title

      Backup rules fill in the dashboard management rule after Foglight upgraded
    • Description

      After that an upgrade of Foglight was conducted, several backup rules are created for rules that have been published before the upgrade. For example:

      Cluster VMW IO network
      Cluster VMW IO network (backup)

    • Resolution

      During the upgrade procedure, the FMS has detected that some of the original rules have been changed in some way. It copies the rules previously upgraded in backups, before trying to merge the contents of the update rule in the former.

      Assuming that the FMS works as expected, the rules of backup can be deleted. However, it is best to confirm this in the respect of the rules first before making deletions.

      When editing rules, particularly rules OOTB (out of the box), it is recommended to copy the original rule, disable the original rule and edit the copied rule. This should reduce the risk of the problem described in this Article.


  • After you have uninstalled an editor audio wave cushion, my DVD stopped playing with the error: because there is a problem with the digital copy between your DVD drive decoder and video card protection.

    my dvd will not play after you have uninstalled an editor audio wave pad. Is there a way to fix my dvd without reinstalling the program? I received the following message, (Windows Media Player cannot play this DVD because there is a problem with the digital copy between your DVD drive decoder and video card protection. Try to install a driver available for your video card).

    my dvd will not play after you have uninstalled an editor audio wave pad. Is there a way to fix my dvd without reinstalling the program? I received the following message, (Windows Media Player cannot play this DVD because there is a problem with the digital copy between your DVD drive decoder and video card protection. Try to install a driver available for your video card).

    If the uninstallation of software caused the problem... it may be worth trying to
    do a system restore to a time before the software has been uninstalled:

    Windows 7 system restore: frequently asked questions

Maybe you are looking for