The ray for the image or crop it the image

Hello

My goal is to selct the image in the folder and apply it as a profile picture.

For now, I'm able to get a PIC and apply it. But I want this image to be rounded.
How can I crop the Image so that I will get rounded shape. Is it possible to do using c ++ or qml.

I use blackberry cascade 10.1

Please help me.

Container {
    layout: DockLayout { }

    ImageView {
        imageSource: "person.png"
    }

    ImageView {
        imageSource: "transparent circle.png"
    }
}

Tags: BlackBerry Developers

Similar Questions

  • Thin Client T510: Do not support the SMB for no image preload on Linux platform

    Hello world

    I have a problem with a Thin Client T510 (C4G87AT #ABA), this one came with Windows CE and today I flashed with a USB to thin Pro 5 (T6X52011). When I want to deploy the image I captured (wallpaper, RD Session etc...) I have the following error:

    2015-08-19 15:30:43 [error details]:... /... / Task/linux/ImageTask_Thinpro.cpp@384: Metheod of the Image is not compatible.
    .. /.. / Task/linux/ImageTask_Thinpro.cpp@1624: do not support SMB for no image preload on Linux platform.

    When I look in the console HPDM, I see the T510 and connected

    Agent version: 4.6.3670.21244

    HDPM 4.6 SP5

    OS: T6X52011

    My OS: Windows 8.1 x 64

    Can someone help me please? Thks and have a nice day.

    Hi, thks for this Council. Theres is how I fix.

    Firstly, the master repository has change from D:\HPDM\HDPM to D:\HPDM on the server, so the configuration was not good at the moment. Another thing, the password of the user hpdm has changed in Active Directory, but not in the configuration. I changed all the settings for in line with the current configuration and capture Images of thinpro news works very well and deploy this new works pictures well too but Deplopyement of old images does not work.

    I'll open another thread if I need assistance. In this case, I'll mark as fixed.

  • I paid for 50 images.  How can I download the my library.  I have a mac

    I have I paid for 50 images.  How can I download the my library.  I have a mac

    Follow these steps: I downloaded my 10 free images and they all have the Adobe watermark on them, so I can't use them. Why do they have a watermark on them?

  • In Lightroom CC my dehaze cursor keeps disappearing. To retrieve for each image, I have to go in the calibration Panel in the develop Module and set it to 2012 (ongoing). Then he wrks. But only for images. I have to go through this process forever

    In Lightroom CC on a Mac, I have to go to the camera Calibration Panel in the module development for each image and change the drop-down list of effects to read 2012 (current) in order to make my cursor active, or usable dehaze. But I can't make the change for 2012 (current) 'sticky '. It is up to 2013 and my cursor dehire becomes ineligible for the next image every time. Someone at - it a solution? Thank you!

    Problem solved by the first installation of L 6.0, and then upgrade to 6.3 LR

    ~ Rohit

  • Is there a shortcut key for "Flatten Image"?  I just upgraded to CC and again it is not a shortcut for IT... Ugh.  Someone knows something to flatten the Image via the keyboard?

    Is there a shortcut key for "Flatten Image"?  I just upgraded to CC and again it is not a shortcut for IT... Ugh.  Someone knows something to flatten the Image via the keyboard?

    I've been using Ctrl + Alt + Shift + F for years, don't know if it's a default shortcut, or if I assigned.

    You can create your own sets of shortcuts - Edition > keyboard shortcuts.

  • whenever I try to download or preview and the image, I gives me the message "licensing for this image are no longer available" Why am I doing this?

    whenever I try to download or preview and the image, I gives me the message "licensing for this image are no longer available" Why am I doing this?

    He was going on with all the images. Using chrome, I disconnected and then reconnected and still had the same problem. I have signed in using firefox and had no problem. I bought 3 images of the last week with the help of chrome and downloaded successfully, the problem seems to happen after that. Right now I use firefox for preview images, I can't use chrome. I have not yet tried to make an additional purchase.

  • I just bought a license for an image, but the watermark is still there. How can I remove it?

    I just bought a license for an image, but the watermark is still there. How can I remove it? The FAQ says the high resolution is available after purchase.

    There are several threads on this...

    Go to your "history of license."

    Click on the image you want to download to go to the details page for this image.

    Click on the "download the desktop" (or wherever you want) link

    The downloaded version will be the watermark removed.

  • How to add legend for all images in the indesign document using indesign javscript

    I want to add the legend for all images in the indesign document...

    It's my code... im being of error like:

    invalid parameter.

    capset(2) ();

    function capset()

    {

    var doc = app.activeDocument;

    var myPicture = doc.allGraphics;

    var f, i, myCaption;

    While (PIC = myPicture.pop ())

    {

    f = pic.geometricBounds;

    Add a frame to the parent of the image, which is a Page

    myCaption = pic.parent.textFrames.add ();

    define the position and size of the legend

    myCaption.geometricBounds = [[2], [1], [2] Go + 3 GB [3]];

    Add the contents of the placeholder

    myCaption.contents = "Caption";

    PIC.parent.groups.Add ([pic, myCaption]);

    }

    }

    Hello

    Runing a code with your doc that you note possible occurrences (groups, the elements anchored, locked, etc items)

    This presupposes to exclude grouped and docked:

    capset ();
    
    function capset()
    {
    var
      mDoc = app.activeDocument,
      // anchored or grouped items excluded
      myGraphics = mDoc.splineItems.everyItem().getElements(),
      picContainer, gb, myCaption;
    while(picContainer = myGraphics.pop() )
    {
      // exclude empty frames
      if (!picContainer.graphics.length) continue;
      gb= picContainer.geometricBounds;
      // add a frame to to picture's parent, which is a Page
      myCaption = picContainer.parent.textFrames.add ();
      // set position and size of the caption
      myCaption.geometricBounds = [gb[2], gb[1], gb[2]+3, gb[3]];
      // add placeholder contents
      myCaption.contents = "Caption";
      mDoc.groups.add ([picContainer, myCaption]);
      }
    }
    

    Jarek

  • Unlock the position of the 'legends box' for each image in the slideshow

    Hi guys,.

    I have a slideshow that has 8 images with thumbnails for example. I want to move the caption (text box) for each image in the other location, but if I adjust the caption of an image and others, their legends are exactly in the same position as the caption for the first image.

    There must be a work around for this surely,

    I came across this post - help with captions in slide shows , but I do not understand what is needed to do this, if someone manages to do, could you please limit exactly what is needed to get the look. I tried to disable "change set" and that did not help either.

    I hope someone can help here, I really need to be located in different places for each image captions in the slide show.

    Thank you!

    You can use any composition in the form of a slide show and add the text block in the container, place the block of text in a different location for each container.

    Thank you

    Sanjit

  • Is there a way to pay for multiple images to in the same transaction rather than one by one?

    Is there a way to pay for multiple images to in the same transaction rather than one by one?

    Right now only at a time is supported.

  • How can I increase the frames of number for all images (screen time).

    I have a slideshow in adobe elements 13 with 650 photos first.  After addinig "in/out fad" photos are not on screen long enough.  How can I increase the frames of number for all images (screen time).  There are currently over 90, and I turn to 150 executives.

    ludhianvi

    What version of Premiere Elements you are using and on what computer operating system is running?

    From your description of a term still image, you seem to be looking at the setting still Image default duration in Edit Menu/preferences/general.

    This parameter is used so that all the still images imported AFTER the game is done will be important in this project with whatever the setting. The unit for the adjustment is images. The default is 150 images (the equivalent of 5 seconds in a 30 frames per second). What you are telling us that the setting is currently 90 images (3 seconds) and you want to return to 150 senior (5 seconds). Once again, callback, which is for all images imported into the project ONCE defined.

    To avoid resetting it and re - import still images, you can adjust the length of image yet at the level of the timeline. This that you do, it will not change the Edit Menu/Settings/general still Image default duration = 90 images project which emerged these preferences settings.

    At the level of the timeline, select all images whose duration is from 3 to 5 seconds. Right-click anywhere in the selection, select Time Stretch.

    Duration of the Time Stretch 00 change dialog box. 00; 03; 00 00; 00; 05; 00 (hours, minutes, seconds; images).

    According to the position of the circumstances or a parent of the always involved, select it all is possible

    a. edit Menu/select all

    or

    b. using the mouse to draw a rectangle autour clips concerned to select

    or

    c. press and hold the SHIFT key on the main keyboard to the computer and clicking on each of the items.

    Please review and consider. If any questions or need any clarification, do not hesitate to ask.

    Thank you.

    RTA

  • How can I create a ' non-floue or non-pixelted ' for web images of the adobe illustrator file?

    I created pixel specific image height and width for Facebook and other social media applications. When I export or save for web, images are pixelated or blurred. I tried art or type, both seem to provide pixelated to png or jpg images.

    You can see the blurry lines in this image. Thank you so much, any advice would be great.

    Sincere greetings, David Stine

    Any suggestions?Blurry.JPG

    The only suggestion I can give all working in Illustrator's save for web, then experience the gif, jpeg, etc. and other options "color" "Adaptive" etc., while using the 4 Overview to see which gives you the best result.

  • Apply the alternative text for all images in the doc

    Hi all

    I have a document with many images. All images are created in Illustrator and Photoshop that has the title information of document updated for each image.

    When I place the image in InDesign, I have to manually select each frame image and change the option ObjectExport to XMP:Title , so that when I export the text to PDF format, the text will appear in the doc.

    I wrote a script that launches an error message. Impossible to fine what could be the problem.

    can anyone help with this

    ---------------

    myRectangle = app.activeDocument.allGraphics;

    myTotalImages = myRectangle.length;

    for (var i = 0; i < myTotalImages; i ++)

    {

    myRectangle [i].objectExportOptions.actualTextSourceType = SourceType.SOURCE_XMP_TITLE;

    }

    ---------------------------

    Concerning

    Ramji V K

    Hey Anshul,

    Thank you very much for your answer. It works fine now with your script.

    Concerning

    Ramji V K

  • Show dynamic text inside the title for several images on mouseover

    I have 25 animated Clips dragged on the stage and they have for instance similar names for easier manipulation purposes within programming using loops. The instance names look like this: image0, image1, image2 and so on.

    Whenever I'm mouseover on one of these unique images, I want to show the unique title of this image using all securities as a dynamic text named imageTitle container.

    I managed to do this job image by image, but that would require me to copy paste and modify the following code for each image.

    image0.onRollOver = function() { 
        imageTitle.text = "First image title";
        imageTitle.textColor = 0x000000; // setting the text color here
      };



    image0.onRollOut = function() { 
        imageTitle.text = "Choose an image";
        imageTitle.textColor = 0x000000;
    }; 

    Question: The above code wouldn't work, but seems redundant to me. Since I was the name of similar instances (image0, image1,..., image24), how can I put this code inside a loop or something to work for all the images without repeating this code 25 times.

    Update: I've added a table for the project that contains all titles:

    var imagesTitles = new Array("First image title", "Second image title", .... );  

    :

    imageTitle.textColor = 0 x 000000;

    for (var i: Number = 0; i<>

    This ["image" + i] .ivar = i;  key stage

    {This ["image" + i] .onRollOver = Function ()}

    imageTitle.text = imagesTitles [this.ivar];  milestone used here

    }

    {This ["image" + i] .onRollOut = Function ()}

    imageTitle.text = "" Choose image ";"

    }
    }

  • How can I create legends customized for each image (large) target displayed with the widget to the Gallery?

    Greetings!

    I'm having any joy with the thumbnails Gallery - with the exception of a customization widget, I would like to make.

    I would like to have descriptive legends custom unique each 'target' (large image) image displayed. I can see the legend box personalized, move, modify, etc, but this is fixed for all images in the gallery.

    How do I change each caption for each image of the target?

    Thank you very much

    JL

    Assuming you are talking "Vignettes" under "Slide shows" widget in the widget library, simply drag the widget on a page to insert it. Once inserted, make sure you have legends in reverse by clicking the widget inserted on the page, and then on the small blue arrow top right of the widget that appears once the widget itself is selected, and check the box called "Legends", this will add captions [Lorem Ipsum] to each photo, you can then at this point click or double-click the text "Lorem" on each photo and that you want it to be. I hope this helps.

  • I use Lightroom CC and one of my cameras is a Canon SX-50HS. Why Lightroom importing crop images? It does not perform this task for any image created on other devices.

    Automatically import the cultures these images, Yes to develop I can uncrop them but I would have preferred that the images come shot.

    You can set this camera to various Image Ratio - 1:1, 5:4, 4:3, 3:2, 16:9

    You set your ratio desired for JPG images.

    Lightroom imports the image of full 4000 x 3000 sensor size (4:3) and applies to the culture according to 'Camera' Image ratio (16:9, perhaps).

    Set camera Image ratio 4:3 in the menu of the camera and you have the problem of harvest.

Maybe you are looking for

  • When the iOS 9.3 is again released for iPhone 5 s?

    iOS 9.3 was interrupted due to a failure for older iPhones. I have a backup of my iPhone with iOS 9.3 5. My new iPhone 5 runs on 9.2.1 and he tells me that this version is the most recent. I am not able to upgrade and can not restore my backup. When

  • Voices of strength only call

    I would like to turn off the video of the other party that feed so it doesn't cut into my bandwidth. The video button only turns off my feeds to the other part of the video.

  • Print directly on cd

    Hello! I have a Canon ip7250 and I want to print directly on CD... but what program I can use?

  • sites of Bonnie & Clyde sabotaged

    Several Google search for "Bonnie and Clyde ambush pictures" produces links to pages web sabotage that triggered my malware software December 12, 2011

  • PAVILION Q

    I have a HP Pavilion. Why do you find 3 different model numbers located on the laptop?  (They are: 1) dv6000 - located in the upper right corner just above the screen 2.) dv6605 - down laptop 3.) dv6500 - laptop computer background The laptop was pur