The callback API viewfinder camera image format

Hello

I try to set the frame type in the viewfinder_callback be RGB888 so that I can perform a basic treatment. However, in the code below, camera_set_photovf_property returns EINVAL for each outside NV12 format.

err = camera_set_photovf_property( handle, CAMERA_IMGPROP_FORMAT, CAMERA_FRAMETYPE_RGB888);

    if(err != CAMERA_EOK)
    {
        fprintf(stderr, "Unable to set property. Error: %d %d\n", err, EINVAL);
}

The frame types are limited to NV12 or I do something wrong?

Thank you

Andy

You can search the available frame types from camera_get_photovf_frame_types() and other similar functions:

http://developer.BlackBerry.com/native/reference/BB10/com.QNX.doc.camera.lib_ref/topic/camera_get_ph...

NV12 is the only format supported for the viewfinder of the photo currently however.  If you need RGB, you need to convert the image format yourself or use the video viewfinder.  If you need be able to capture good photos, you will need to stick with the vf photo.

What type of treatment do you need to do?

Tags: BlackBerry Developers

Similar Questions

  • The process cell phone camera image

    Hi all

    I wonder if it is possible to use Actionscript to adjust things like brightness and contrast of an image of the camera of my Galaxy Note 4.  I already have a basic application that allows a stream to the screen of the phone directly from the camera, but I need to do more!  Would help in any direction.  (I'm not that great with Actionscript 3.0 yet.)

    Thank you.

    You can apply such transformations on any display with this handy class object: http://chargedweb.com/labs/2010/04/30/fast_brightness_contrast_saturation/

    You don't show a snapshot of the view camera or are feed you really streaming camera to the app? These calculations are very CPU so I'd be careful with him.

  • The number of Reset Camera images

    Hi all

    new here. Been using 4 LR the MBP 09 for about a year now, he loves!

    I'm taken with a Fuji X 100 only (my only camera =). I've recently updated the firmware on it and the number of images of reset (up to 9500 images). This means that the same is chassis number now refers to two photos in LR. Is that what I should start a new catalog so I have no conflict? Or y at - it another way to solve this problem? I checked X 100 manual, I can't choose from a number of chassis.

    Thanks for your help

    Lightroom is smart enough to know that files with the same name but different once capture are different photos.

    You don't need to do something different.

  • Supported the new cameras RAW formats after the update?

    Our trusted list of RAW formats supported by the opening has not been updated for some time: http://www.apple.com/aperture/specs/raw.html

    None of the devices in Digital Camera RAW Compatibility Update 6.17 for El Capitan are on the list of compatibility to Aperture.

    I am pleased to say, that my new Panasonic LUMIX DMC-FZ300 RAW format works well in opening 3.6 on MacOS X 10.11.3 El Capitan nevertheless.

    I would like to hear if other cameras for the latest Digital Camera RAW Compatibility updates also work well in opening 3.6, despite being not shown is not in the list of the opening, but work as part of the El Capitan: Digital camera RAW formats supported by OS X El Capitan - Apple Support

    Supported by Digital Camera RAW Compatibility Update 6.18

    Canon EOS M10

    Canon PowerShot G5 X

    Canon PowerShot G9 X

    Leica SL (Typ 601)

    Olympus OM - D E - M10 Mark II

    Sony Alpha ILÇE-7s II

    Sony Cyber-shot DSC-RX1R II

    Supported by Digital Camera RAW Compatibility Update 6.17

    DxO and ONE

    Panasonic LUMIX DMC-FZ300 / DMC-FZ330

    Pentax K-3 II

    Pentax K - S2

    RAW format fine adjustment of the agreement - the faults of camera Apple for this device--are experiencing abnormally high values for 'Boost' and 'Hue Boost', but the colors and contrast are still very quiet.

  • Download Images in Eloqua via the REST API (via an API?)

    Hello community!

    We are interfacing content between a site CMS and Eloqua for custom content, so that we can deliver such content in emails and the landing pages effectively.

    We have an obligation to affix an image (such as an icon of great white game) overlay, a bit like this: http://u3.uicdn.net/372/cc7727211f2a7907850d2f844e707/diy-business-us/vi_video_content.jpg

    Unfortunately the CMS system he can not provide, we for some reason any.  And trying to superimpose the image in e-mails of Eloqua using CSS will result in inconsistent results between email clients, particularly mobile and so on...

    Our plan is so - to superimpose the image in our middleware software and then download the image to Eloqua, then use newly uploaded in the system.

    Is there a way we can download a picture of Eloqua via the REST API or any other API?

    Thank you

    Mark

    Hi Mark,

    Yes, you can use the Rest API to upload images to your installation of Eloqua. We will aim to provide documentation in the near future, but for now, we have an example of project available on Github to show how load images: Image of assistance

    Hope this helps and please let me know if you need more information.

    Thank you

    Fred

  • I've just updated to LR5.  I also have a new camera.  Nikon D800.  Try importing directly (from the camera) in LR.  But without success. Get the following message.  "The files are a camera which is not recognized by the raw format support in Ligh.

    I've just updated to LR5.  I also have a new camera.  Nikon D800.  Try importing directly (from the camera) in LR.  But without success. Get the following message.  "The files are a camera which is not recognized by the raw format support in Lightroom."  How can I import it please?

    I find the program file for Lightroom 5 and make an icon of office for him. And I would get rid of Lightroom 3. If you open Lightroom 3 and you see images in the old catalog, not the updated one.

  • Lightning to a resolution of the camera the incompatible SD card reader image

    I use the lightning to drive camera SD card with my iPhone 6 more (iOS 9.3.5) and MacBook Pro running Photos:

    Version 1.5 (370.42.0)

    Digital camera RAW 6.20 (856)

    Digital Camera Support RAW 6200 (233)

    Import RAW files from my Olympus EM10 on my iPhone, and then when I discovered the images in the Photos on my Mac I see incompatible resolution information.

    These are two consecutive images taken with identical settings...

    Drag the two images of Photos on my desktop (export in JPEG) then they have the correct resolution information...

    Also interesting. If I import these pictures directly on my Mac via the built in card reader, I do not see this problem.

    OK - when you import on an IOS device (the exact details are better ask in the forum iPad since it does not involve the Mac or Photos for the Mac somehow - it's strictly an IOS feature) in certain circumstances the maximum resolution is 2400 x 3200

    Your best solution is to import directly to your Mac

    LN

  • Change the default format for burning discs of this system active files in the ISO image format

    How can I change the default format for burning discs of this system of active files to ISO image format?  I don't want the active file as the default system and really don't want to have to choose what I want to use the default every time.  It's boring. I have Vista x 64 on my computer and have not yet adapted to all the changes in XP.

    Thanks, but it's not useful.  It is more that an 'improvement' Microsoft did that, as I fear, is a total and far failure to be an improvement.  It also means that I'll just use a 3rd party program to burn all my CD/DVDs.  You know if I wanted to be able to remove, reformat, etc.. CD/DVD I would use those rewritable.  That's why they exist.

  • I imported the pic from my camera to my images. When I go into my photos and do turn and then try saving the picture, it says "you cannot rotate this image.

    original title: read only the settings on my photos

    I imported the photos from my camera to my computer and saved in a folder in my pictures.  When I go into my photos and do turn and then try saving the picture, it says "you cannot rotate this image.  The file may be used or open in another program or file or folder can be set to read only. "I have tried many and repeatedly edit the files and folders to uncheck Read-only, but it keeps changing its property back to read-only.  I also know that the file is not open or in use anywhere on my computer.  There must be something wrong with the parameters of only reading, but I have no idea how to do to figure it out, I tried several times to change.

    Any help would be great!

    Thank you!!

    Okay, it looks like that your camera records the files in write protected files.
    1. There should be settings on your cam to stop recording pictures like "non-indexed.
    2. but right now, try this:

    Right click on image > click Properties > click on advanced > check / uncheck the ' Index
    This file / folder...' option (should be the second option)
    Click OK > click on apply.
    and you'll see it disappear / appear

    You can do this for all the photos (hold down the ctrl key while selecting to choose several files at once)
    Eddie B.

  • Windows 7 backup skipped image system because one of the critical-volumes backup cannot be included for backup. Make sure the volume is online and is formatted NTFS. (0 x 81000032)

    After using the backup of Windows 7, I get the following error message:

    Backup Windows jumped backup system image because one of the critical volumes cannot be included for backup. Make sure the volume is online and is formatted NTFS. (0 x 81000032)

    The backup is set to include an image of disk system: RECOVERY, DRIVE (d), OS (c :))

    "RECOVERY, DRIVE (d :))" in car is a partition of 2 GB of the hard drive internal, such as configured by Dell, and it is formatted in FAT32.  I tried to reformat the NTFS volume, but were unsuccessful.  I also looked at a certain way to omit this volume, but have still been in vain.

    Can anyone help?

    Thank you.

    Do not assign a drive letter to the partition recovery/player. Open "Disk Management" and decommissioning (without drive letter) and backup and restore performance.

    JS
    http://www.PAGESTART.com

    Never be afraid to ask. This forum has some of the best people in the world to help.

  • Batch crop to the image format

    Hi all, I use PS CC 2015.5 and am looking for some help on something I can't quite understand, but I'm sure is possible!

    I am currently scanning a lot of old negatives and the scanning software is a culture arbitrary on the images that I can't control while they are all delivered to dimensions slightly different pixels and elongation and, occasionally, the image will have a thin inside edge. I am happy with the results of the scan and have a decent workflow going so I don't really want to use a 3rd party scanning app for additional control.

    The ideal situation would be for a harvest of lots, centered in a 3:2 ratio. I don't mind losing a little of everything around the image so some previous posts on here, I see the canvas size is probably the best way to achieve. Play, make a 98% all round canvas resizing to get me almost what I want, but it obviously keeps the aspect ratio of the original which is not necessarily to 3:2.

    Using a crop, I can control the AR but when you in the form of action, it seems to keep specific references for the departure and arrival, so it would not apply to every image.

    To help straighten it and culture, the logic used to straighten quite often results in severe rotation who loses half of the image.

    My apologies for the long post, but someone has a suggestion as to the best way I can get a harvest of 3:2 centered originals of different size?

    In my package of action crafts there is a plugin script that I wrote. Selection of the image format plug-in can do path and selection report l / h. All you need is save a step two Action.

    Menu stage 1 file > Automate > proportions selection...

    Fill in the dialog as follows, so that the plug-in will save these settings in the action stage.  When the action is played no dialog appears the saved setting will be used.  The centered 3:2 or 2:3 selection will be defined.  Depends on the orientation of the document, if the selection will be landscape Portrait 2:3 or 3:2.

    Menu step 2 Image > Crop

    You can batch action with Image Processor script if you want to add the sizing.

    Package of shares of crafts UPDATE August 10, 2014 added conditional measures Action Palette tips.
    Contains

    Example of
    Download

  • I tried to download a pdf and convert them into excel, but the data in excellent is always to the image format.  How can I get the pdf data into the columns and rows?

    I tried to download a pdf and convert them into excel, but the data in excellent is always to the image format.  How can I get the pdf data into the columns and rows so that I can do the calculations?

    If you start the https://forums.adobe.com/welcome Forums Index

    You will be able to select a forum for the specific Adobe products you use

    Click on the symbol "arrow down" on the right (where it is said to see all our products and Services) to open the drop-down list and scroll

  • After you create an action to reduce the size and convert them to JPEG format, how to eliminate the word "copy" of each image name?

    After you create an action to reduce the size and convert them to JPEG format, how to eliminate the word "copy" of each image name?

    You can batch process using the image processor script and no user action should still be included in the process.  Check out our menu file > Scripts > image processor.

  • Currently, I have Photoshop CS5 with Adobe Bridge. The upgrade online for Photoshop CS6 includes upgrades to the bridge? I recently bought a camera Nikpn D810. The old version of the bridge does not recognize the D810 Camera Raw format. Thanks for any hel

    Currently, I have Photoshop CS5 with Adobe Bridge. The upgrade online for Photoshop CS6 includes upgrades to the bridge? I recently bought a camera Nikpn D810. The old version of the bridge does not recognize the D810 Camera Raw format. Thanks for any help.

    New digital camera sometimes means an upgrade of the software, as in this case.

    Camera Raw plugin | Supported devices

    Applications of camera Raw compatible Adobe

    First, the D810 is supported in camera Raw which is compatible with the CS6 and later versions 8.6.

    Options:

    1. Pay for upgrade to CS6
    2. Join the cloud to Adobe
    3. Download the free Adobe DNG converter, convert all the D810 Raw files to DNG, and then edit the DNG in CS5 helps Photoshop | Digital Negative (DNG)
  • I have PS CS5. I had a friend send me some raw images trying to open I got this message: "line seems to be a model of camera that is not supported by the installed version of camera raw. What should I do?

    I have PS CS5. I had a friend send me some raw images trying to open I got this message: "line seems to be a model of camera that is not supported by the installed version of camera raw. What should I do?

    Download the 9.1 free dng converter that should open most of the files that your friend sent you.

    Adobe - Adobe Camera Raw and DNG Converter: for Windows

    Adobe - Adobe Camera Raw and DNG Converter: for Macintosh

Maybe you are looking for