Importing 32 bits images

Hello! I'm trying to import a 32bits depth image format using the FBIO sample.
I set the depth to 32 with the following instruction
ERR(suites.IOInSuite1()->AEGP_SetInSpecDepth(specH, 32));
And the project tab shows me that the image has million of colors instead 256, but when I try to fill out the effect world in the DrawSparseFrame function, the world that AE sends me (PF_EffectWorld *wP) has 8 bits depth.
How can I receive a correct effectworld? I've tryed to create a new 32 bits world and assign it
suites.WorldSuite3()->AEGP_FillOutPFEffectWorld( my32World, wP );
to the wP effect world, but it doesn't work (in fact, creating a new 8 bits world and assigning it to the in-out wP world neither works...)
Any advice?
Thanks!

OK, when I set the project adjustments to 32 bpc depth, I get a wP->data with a float size (I test the wP->rowSize to check it). The problem now is when I set the project adjustments to 16 bpc... the wP->data that I receive has 8 bits size, and AE shows the colors wrong... it is a bug?
When I set the depth of the image imported to
ERR(suites.IOInSuite1()->AEGP_SetInSpecDepth(specH, 32));  // 4 channels , 8 bpc
the image is showed correctly in 8 and 16 bpc, but wrong in 32 bpc.
If I set ...
ERR(suites.IOInSuite1()->AEGP_SetInSpecDepth(specH, 64)); //4 channels, 16 bpc
the image is showed correctly in 8 and 16 bpc, but wrong in 32 bpc.
If I set
ERR(suites.IOInSuite1()->AEGP_SetInSpecDepth(specH, 128)); // 4 channels, 32 bpc
the image is showed correctly in 8 and 32 bpc, but wrong in 16 bpc.
Maybe a gamma correction issue?
Any sdk developer in the room?

Similar Messages

  • Setting the fg/bg color of a 1 bit image

    Is there a simple way to set the foreground and background colors of a one bit image? What I need to do is draw a bitmap on a Canvas component where all black pixels in the loaded (gif) Image paint as my custom foreground color and all white pixels paint as my custom background color. I'm thinking maybe something like drawing a filled rectangle using the bitmap as a mask?? I am porting code from Windows, and this is something that is kind of built in to MFC.
    Currently I have this working in Windows running Java 1.4.0, but it wont work on a Macintosh running Java 1.1 (or 1.2?). I'm wondering if I stumbled upon a quirk that only works in Windows?
    This is the code from my Canvas object paint() method:
    g.drawImage(bitmapUp, 0, 0, getForeground(), this);
    g.setXORMode(getForeground());
    g.drawImage(bitmapUp, 0, 0, getBackground(), this);
    'bitmapUp' is a one color gif image with transparency. Basically anything that is not transparent gets filled with my foreground color. It seems like this is not the best way to go about things (even if it worked on all platforms).
    Test it here if you want:
    http://www.wizardmaster.com/test/muzakaster/
    - Thanks, Markus P.Spanglestein

    import java.awt.*;
    import java.awt.event.*;
    import java.awt.geom.*;
    import java.awt.image.*;
    import javax.swing.*;
    public class TwoTone {
         static final int SIZE = 200;
         static BufferedImage image = new BufferedImage(SIZE,SIZE,
                   BufferedImage.TYPE_BYTE_BINARY); //Black&White
         public static void main(String[] args) {
              JFrame f = new JFrame("TwoTone");
              f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              Graphics2D g2 = image.createGraphics();
              g2.setPaint(Color.WHITE);
              g2.setStroke(new BasicStroke(6f));
              g2.draw(new Ellipse2D.Float(0,0,SIZE, SIZE));
              g2.dispose();
              final JLabel label = new JLabel(new ImageIcon(image));
              label.addMouseListener(new MouseAdapter(){
                   public void mousePressed(MouseEvent evt) {
                        IndexColorModel icm = (IndexColorModel) image.getColorModel();
                        int[] rgbs = new int[2];
                        icm.getRGBs(rgbs);
                        Color c0 = JColorChooser.showDialog(label,
                             "Choose background", new Color(rgbs[0]));
                        Color c1 = JColorChooser.showDialog(label,
                             "Choose foreground", new Color(rgbs[1]));
                        rgbs[0] = c0.getRGB();
                        rgbs[1] = c1.getRGB();
                        icm = new IndexColorModel(1, 2, rgbs, 0, false, -1, DataBuffer.TYPE_BYTE);
                        image = new BufferedImage(icm, image.getRaster(), false, null);
                        label.setIcon(new ImageIcon(image));
              f.getContentPane().add(label);
              f.pack();
              f.show();
    }

  • QT can't export 10 bit images?

    I have 10 bit uncompressed quicktime movies, from which I need to export 10 bit image sequences. When I export using either QT 7.0.2 or FCP5, I get 8 bit images. What's going on?

    Hmmmm.....Well, I'm certainly seeing the problem. But it must be more complex, and also perhaps involve CPU architectures: I imported HD DVCPRO 720p @23.98fps media from a P2 Store on a MacBook Pro using 5.1.1. Those imported Quicktime media files can not be viewed on a G4 w/ 5.0.4 but can be viewed on a G5 w/ 5.1.2. On the G4 the movie files opened at the right rez but with a blank white image (typical when the codec is missing/bad), although the audio played fine. Neither the G4 nor the G5 have an added video card.
    This is confusing because it would be simple if it was just Intel vs PowerPC, but it's not, as the G5 works but the G4 doesn't. I never had a chance to see if it will work on the G5 using 5.0.4.
    Obviously there's more to this than we'd thought.

  • Imovie imports different image into project

    I'm trying to create a slideshow using only jpg images. Sometimes (now frequently) when I drag a picture into the slideshow from iphoto, desktop, Adobe Bridge, or even straight out of downloads, the image that actually shows up in imovie is a previously used picture.  Sometimes the correct image shows up in the strip, but a different photo shows up in the preview window.
    I spent several hours at the Genius Bar yesterday and we dumped a plist and rebuilt the entire iphoto library.
    I've got to say that after having imovie closed all night, I reopened it this morning and was able to import  correct images into the correct positions on my project, but then it started acting up again (after I cancelled my Genius bar appointment for today!), and is again putting different pictures into the project than I am actually trying to put into the project.
    I litterally just need to get about 5 more images into the project!
    Please help
    Using imovie 11 and OSx 10.7.5
    Thanks in advance

    I didn't film the video, so I'm not sure what kind of camera was used.
    Here is a screenshot of the Quicktime Inspector:
    And here is a bit more information about my situation: The video plays fine off of the thumb drive it was given to me on, and it plays fine off of my hard drive. But when I import the video into iMovie, all I see is the one still video shot while the audio plays beneath it. I've tried this on two different computers and on both of them, the video is frozen once it's imported into iMovie.
    Bizarre.
    I appreciate your help!

  • Lightroom doesn't recognize 32 bit image processed in ps hdr pro. what can i do to get lightroom to recognize image?

    how can i get lightroom to recognize a 32 bit image which was processed in ps hdr pro?

    What do you mean "recognize"? Do you mean it will not import? Or it was imported but doesn't produce a thumbnail?
    What format is the file? What is the file size?

  • Importing raw images

    I recently shot some photos in RAW format. When I connected my camera to my computer, the preview images look identical to what I shot. Once the import has completed, the color of the photo becomes de-saturated. It basically over rides my in camera settings. Is there a way to prevent this?
    Camera:
    Canon Rebel T1i
    set to shoot in RGB (however, once the image is imported, the image file shows that is was shot as Adobe RGB 1998)
    I have tried importing through aperture, image capture, and iPhoto. I get the same result each time.
    Thanks

    "RAW" describes a family of proprietary sensor data formats.  None of them are image formats.  RAW files cannot be displayed.
    The process of creating an image-format file from a RAW file is called conversion.  Cameras that save JPGs do this conversion themselves.  Some cameras also, or alternatively, save the RAW file and make it available to the user.
    The JPG files have several disadvantages compared to RAW.  They have been compressed using a lossy algorithm.  They are 8-bit.  The WB is baked in.  All you camera settings are baked in.
    The first image you see in Aperture is the Preview.  If this was created in-camera, it will be the JPG file converted from RAW and with all of your settings applied.  Meanwhile, Aperture will convert the RAW Master and create an image to display.  This is the unsaturated image you eventually see.
    The choice of whether to use the in-camera JPG or the RAW file is up to you.  You can import both, as a "RAW+JPEG pairs".
    Aperture is designed to provide a complete non-destructive RAW workflow.  What many users do is shoot RAW and save as Adjustment Presets groups of adjustments similar to whatever in-camera settings they prefer.  In this way, they can easily mimic the camera-created "look" of the photograph, but still have very wide latitude in processing/developing each digital negative (=RAW file) in other ways.

  • Import RAW images from Sony A100 DSLR?

    iPhoto 6 does not import RAW images taken with my Sony A100 DSLR. I can view the images with preview, so apparently Mac OS X knows how to handle them. But, iPhoto just says there are no pictures to import.
    I installed the Aperture trial, and it handled the RAW images, as does the Adobe Lightroom beta4. But, not iPhoto6.
    I am running all the latest patches, with 10.4.8 on a MacBook Pro.
    Does RAW work for anyone else with this camera? Any suggestions for workarounds?

    I messed around with this a bit more and found that if I manually import the RAW images, it works fine. But, iPhoto still does not recognize new pictures and import them automatically.
    I can also see them in Finder and Preview, so I know the OS support is up to date. Also, I tried it on my Mac Mini, and the mini recognized the raw pictures and imported them as I would expect.
    The RAW updater only mentions Canon, Nikon, and Pentax as being addressed. I did install it, but it may not be necessary.
    This article on Apple's site: http://docs.info.apple.com/article.html?artnum=303554
    says you need 10.4.8 to support Sony RAW pictures.

  • Best way to combine 8-bit and 16-bit image files?

    I produce large photographic art prints by combining my own edited 16-bit RAW photo images with 8-bit stock photo images and 8-bit photoshop artwork. I used to just reduce my 16-bit photos to 8-bit and then edit my composite image as 8-bit, but I ran into banding and other problems in the color gradients I created later in my composite image.
    I want my composite image to be 16-bit to get more accurate colors and better gradients. What is the best way to bring 8-bit image files into my composition and maintain best quality? Is it good to convert 8-bit images to 16-bit in PS before importing? I also heard about bringing 8-bit images in as Smart Objects? Thanks for any help on this.

    *Photonic wrote:
    Thanks Jack and Noel. My workflow usually starts w. a 16-bit RAW image brought into Photoshop as the background layer of the master file. Color space is AdobeRGB. Then 8-bit stock photo and art elements (objects) are brought in by dragging the open 8-bit image up to the master image file tab, and then dropping it back into the image window after the file opens.
    Should I use the "Paste In" command instead? I usually avoid copy/paste since some of my element files are usually over 100MB and that seems to challenge my Mac after a while.
    Could I convert the 8-bit image files prior to import, like Noel suggests (Image>Mode>16bits)?  Thanks.
    There is no need to convert 8bit open documents to 16bit mode Photoshop will convert the copied layers to 16bit bit during the drag copy.  Converting the open document would just increase Photoshop RAM usage every layer pixels bytes used  would double in size.
    If you element files are over 100MB they are most likely layered files.  If all you need is a composite you should avoid using Place for that will needlessly inflate your document size. Instead open the element file create a new layer that is a stamp visible layer (Shift+Alt|Opt+Ctrl|Cmd+E) and drag that layer to you document then close nosave your element file. Copy only copies the targeted layer or there is a Copy Merge that copies the composit merge of all targeted layers. It a bit hard to create an action that would be able to use Copy or Copy Merge. Using the above stamp visible way can be made into an action. You also do not want to drag all the layers to your document if you just need a composit layer.
    You could also automate the element file copy with an action.
    Action Step 1 Insert menu into File>Open this will be an interactive step you must select a file to open. When the action is played.
    Step 2 (Shift+Alt|Opt+Ctrl|Cmd+N) Create a new empty layer This will always work
    Step 3 (Shift+Alt|Opt+Ctrl|Cmd+E) stamp visible layers into the new layer
    Step 4 (Ctrl|Cmd+A) select all
    Step 5 (Ctrl|Cmd+C) Copy
    Step 6 Close current document no save
    Step 7 (Ctrl|Cmd+P) Paste into the document your working on Photoshop will convert to 16bit if the document is 16bit mode and the clipboard content is 8bit.
    When you use Photoshop and do something.  Think to yourself how did Photoshop do what you asked it to do. Thing about what is involved what layers must be used etc. How is the feature/function done.
    Message was edited by: JJMack
    Message was edited by: JJMack

  • Importing photoshop images into Final Cut??

    I am having trouble importing an image I have which is a photoshop file and has layers with a transparent background and whenever I import it into Final Cut it always has a white background. Is there a way of making it transparent like the original photoshop format.
    Thanks Heaps
    Ash

    Hi -
    In Photoshop, go to the menu Image > Mode and make sure RGB Color is selected and 8 Bits/Channel is selected, and re-save the document.
    !http://www.spotsbeforeyoureyes.com/ModeRGB8Bits.jpg!
    Hope this helps.
    Message was edited by: Meg The Dog to fix typo

  • SCCM 2012: PXE deploy: import boot images?

    Hi,
    We fully configured sccm 2012 and did osd via bootable media. Now we want to configure PXE.
    We enabled it (http://prajwaldesai.com/deploying-sccm-2012-part-14-build-and-capture-windows-7-64-bit/).
    My questions:
    *Is that all that needs to be done?
    *It seems to me we need to import boot images in WDS?
    *If we do, which to import then (both x86 and x64 probably) + there is a winpe and a winpe.....wim made by sccm, which one to import then?
    *on DHCP we change the boot server hostname but what about the bootfile name, what is the path of that? \boot\x64\wdsnbp.com?
    Please advise.
    J.
    Jan Hoedt

    I keep on getting TFTP open timeout
    I find in smspxe.log that it reaches to the SCCM-server but then something goes wrong. Not sure what.
    How can I troubleshoot find more info, please advise?
    00:51:55:2A:5C:C5, 0A190A42-FFDe6-5e69-9e41-70e481B852E3: device is not in the database.    SMSPXE    21/03/2014 16:10:08    2720 (0x0AA0)
    Getting boot action for unknown machine: item key: 2046820352    SMSPXE    21/03/2014 16:10:08    2720 (0x0AA0)
    CLibSMSMessageWinHttpTransport::Send: URL: oursccmserver.prod.ourcompany.be:80  GET /SMS_MP/.sms_aut?MPKEYINFORMATIONEX    SMSPXE    21/03/2014 16:10:08    2720 (0x0AA0)
    CLibSMSMessageWinHttpTransport::Send: URL: oursccmserver.prod.ourcompany.be:80  CCM_POST /ccm_system/request    SMSPXE    21/03/2014 16:10:08    2720 (0x0AA0)
    Jan Hoedt
    Note: what I also can see:
     Client IP Address: 000.000.000.000
     Your IP Address: 000.000.000.000
     Server IP Address: 000.000.000.000
     Relay Agent IP Address: 000.000.000.000

  • I am trying to import developed images from LightRoom 5 in o Photoshop 6.  I am receiving this message and the images will not open.....'Could not open scratch file because the file is locked, you do not have necessary access permissions or another progra

    I am trying to import developed images from LightRoom 5 Photoshop 6 for further editing.  I am receiving this message and the images will not open.....'Could not open scratch file because the file is locked, or you do not have necessary access permissions or another program is using the file.  Use the 'Properties' command in the Windows Explorer to unlock the file. How do I fix this?  I would greatly appreciate it if you would respond with terms and procedures that a computer ignorant user, such as me, will understand.   Thanks.

    Have you tried restoring the Preferences yet?

  • I keep getting a 'program error' when I try to import an image

    I just downloaded photoshop cc and when I try to import an image into my project it keeps giving me a 'program error' Does anyone else have this problem?

    OK, then I don't know what would be causing it.
    We haven't seen such problems on MacOS 10.9.
    What else did you change on the system since it was last working?

  • Unable to import an image in a signature?

    I am using Reader DC. When I create a new appearance for the signature, there is an option to import an image. Selecting that, then browse, opens a window for file selection. However, the only file type the browse window will display is pdf. It is supposed to allow import of image files (jpg, png, etc.). The drop down arrow next to pdf does not have any other options. Is there a fix for this?

    I have confirmed that this is a problem on a different computer also using Adobe Reader DC. One computer is based on Windows 7 Professional, the other uses Windows 7 Ultimate.

  • I am trying to import developed images from LightRoom 5 into Photoshop 6.  I am receiving this message and the images will not open.....'Could not open scratch file because the file is locked, you do not have necessary access permissions or another progra

    I am trying to import developed images from LightRoom 5 into Photoshop 6.  I am receiving this message and the images will not open.....'Could not open scratch file because the file is locked, you do not have necessary access permissions or another program is using the file.  Use the 'properties' command in the Windows Explorer to unlock the file'.  This has not happened before.  How do I change this?

    Could not open a scratch file because the file is locked or you do not have the necessary access privileges. (…) | Mylen…
    Mylenium

  • How to import multiple images at the same time in illustrator?

    How to import multiple images in a document at the same time in illustrator?
    It's possible?

    Script: Place Multiple Files in Illustrator (Kelso)
    http://kelsocartography.com/blog/?p=2047

  • How can I import selected images from a folder instead of the whole folder in iPhoto 9.5.2?

    Hi there,
    I was trying to help my parents import some photos from a folder they have created with photos from their holiday. They only want to import select images from this folder into iPhoto. I said it would be easy and they can do it in 2 ways. First, they can drag and drop selected photos from their folder into iPhoto - and this works for them. However, more convieniently, they can click file>import to Library and then select the photos they want by going into the folder... Well that's how it works on my iPhoto '11 at least. When they showed me their screen via Skype (they are running iPhoto 9.5.2), when they click import to library, and try to go into the folder containing their photos, it imports the whole thing and there appears to be no way that they can enter the folder to select just a few photos from what I could see.
    Does anyone know anything aout this problem?
    Cheers.

    What view are using in the Import dialogue. Column view might be easiest to navigate.

Maybe you are looking for

  • Can't get video chat to work outside of LAN...

    Hello, I can't get video chat to work. All computers, LAN and WAN are running the latest iChat under 10.4 (including latest updates). Within our LAN, via Bonjour, everything is fine. I'm now trying to set up an offsite Intel iMac (10.4) and I can't c

  • Use of software on more than one computer

    Hi, all I would like to find out is if I can use my monthly subscription to Photoshop on more than one machine at home and whether there are discounts on subscribing to a second product when the first has been set up already?

  • B2b unable to pick the file from xml gateway

    Hi All, I am taking a scenario where B2B picks the files from xml gateway and drop the files in FTP folder. I modified the XML gateway inbound and outbound, i has given my user credentials(unmae, host ,pwd ,sid, port). In agreement in the place of in

  • Video on Firewire monitor produces dropouts in audio

    Syncing a DV with Firewire produces severe and intermittent audio dropouts. If the movie is set to "Window" there is no problem. Using a Canopus ADVC 110. Never had the problem until yesterday, it worked fine. Anyone have the same problem?

  • Partial Solution:Web Service Data Controls don't refresh properly.

    I am runing JDeveloper Studio Edition 10.1.3.2.0.4066 I have developed several Web Service Data Controls and pages to use them to display output. The pages seem to have a problem refreshing output when the value of the input parameter is changed, but