Feature Request: Functions to read image data, and write to tiff or jpeg.

Functions that render image data and make it available to plugins before writing to disk would facilitate writing plugins that take rendered image data into consideration. Also, if the aforementioned image data could be subsequently written to disk possibly after a bit of modification, it would open up a whole new world for plugins.
Plugins don't need to access the mid-rendering stages in the raw conversion / rendering pipeline, but having a shot at post-rendered, pre-written to disk image data would allow pixel manipulating export plugins to be written. A set of image file manipulation methods would be a decent work-around, providing the ability to read/write tiff/jpeg files.
Rob

Well, I'm replying to my own question!
I solved the problem by reading the data from my card, then using Flatten Pixmap to create a pixmap from my data array, then using Draw Flattened Pixmap to create a picture to send to a 2D Picture.  This works fine.
Now, how can I change the Pixmap into Image so I can save to an AVI?

Similar Messages

  • Can I use LabVIEW to load data directly into system memory? The serial card I'm using isn't supported by NI nor does VISA recognize it. I'm using a Win32 function to read the data from the card and now I want it to go directly to system memory.

    Can I use LabVIEW to load data directly into system memory from a VI? The serial card I'm using isn't supported by NI nor does VISA recognize it. I'm using a Call Library function to read the data from the card and now I want it to go directly to system memory.
    The data is being received at 1Mbps.
    Thanks

    Two questions:
    One, if it's a serial card, then presumably it gives you more serial ports, like COM3, COM4, etc. If so, VISA would see the COM ports, and not the card directly. The drivers for the card should make it so that you see the extra serial ports from the OS. If you don't see the extra COM ports from VISA, then it sounds like the drivers for the card are not installed properly. Do the extra COM ports show up in Device Manager?
    Two, you said that you're using a Call Library function to get the data and you want to put it into system memory. Errr.... you just read the data and you have it in memory by definition. Are you saying you need a way to parse the data so it shows up on a graph or something?

  • How to read the date and time information of a file by labview

    how to read the date and time information of a file by labview? for example, created time and modified time.
    Solved!
    Go to Solution.

    if you need to know the last modification date of file:-
    "Functions->File I/O->Advanced File Functions->File/Directory Info.vi"
    This vi returns the value of file's last modification date. This is returned as U32 number. To see it in MM/DD/YY format you must create the indicator, right-click on it and select "Format & Precision" item from drop-down menu. Then select "Time and Date" format there.
    Thanks as kudos only

  • ORA-29400: data cartridge error/IMG-00703: unable to read image data error

    Oracle Database 10g Enterprise Edition Release 10.2.0.2.0
    ORA-29400: data cartridge error
    IMG-00703: unable to read image data
    ORA-06512: at "ORDSYS.ORDIMERRORCODES", line 75
    ORA-06512: at "ORDSYS.ORDIMERRORCODES", line 65
    ORA-06512: at "ORDSYS.ORDIMG_PKG", line 37
    ORA-06512: at "ORDSYS.ORDIMAGE", line 927
    is raised when the following trigger is processing certain JPGs (example). Other JPGs are handled as expected:
    create or replace trigger photo_size_trg
    before insert or update on photos
    for each row
    declare
      photo_width integer;
    begin
      -- Check to see if the new photograph is different from the old one...      --
      if dbms_lob.compare(:old.photo, :new.photo) != 0
      then
        -- ...if so, check to see if it's wider than the desired 250 pixel        --
        -- maximum...                                                             --
        photo_width := to_number(ordImage.getMetadata(:new.photo)(1).extract('/ordImageAttributes/width/text()').getStringVal());
        if photo_width > 250
        then
          -- ...and if so, apply an image transform that will resize to the photo --
          -- to a maximum of 250 pixels wide, keeping the original aspect ratio.  --
          -- There doesn't seem to be an elegant way of specifying a constraint   --
          -- in one dimension like this, so the height is specifed as a large     --
          -- enough value to cover all practical contingencies.                   --
          ordImage.process(:new.photo, 'maxScale=250 10000');
        end if;
      end if;
    end;Any thoughts/suggestions?

    hi,
    I am getting following error,kindly help me out to rectify this ..
    thank you
    ORA-29400: data cartridge error
    ORA-00600: internal error code, arguments: [kokbCollTerminate], [13], [], [], [], [], [], []

  • Text file contains data separated by pipe symbol read the data and saved in

    Hi ,
    This is Sreedhar, i am new to java. my query is Report its in text file format it contains data like GLNO,name ,amount. All fields are separated by pipe(|) symbol. I would like to read that
    data and saved into the database. Please anyone can help me.

    thx Ottobonn.
    Scanner is very usefull with string operation like in my problem..but i want try to find java.util.Scanner in j2me, i can't found this class...:(
    so, may be i can't use this class in j2me...
    i new in java, so i try myself to code the simple method for my problem,
    may be anyone can make this class more simple than my coding....:)
    public StringPipe(String _msg){
            String message = _msg;
            int pipe = 0;
            int lengthmessage = message.length();
            int lengthMsgresult = 0;
            while(lengthMsgresult<=lengthmessage){
                String msg = null;
                int pipeX = message.indexOf("|");
                if(pipeX==-1){
                    msg = message;
                else{
                    msg = message.substring(pipe, pipeX);
                    message = message.substring(pipeX+1, message.length());
                    lengthMsgresult += msg.length();  
                // the string seperated by pipe
                System.out.println("msg = " + msg);
                if(pipeX==-1){
                   break;
    }thx...

  • Can I change image date and capture year in Aperture?

    Is there a way to manually change the image date and capture year (and other metadata for that matter) upon import? I have some pictures given to me by friends that they took on their own cameras and I want to import them into my Aperture Library, only it seems as though they didn't pay attention to/care about setting the date/time on their cameras. This causes me to lose sequence with my own photos that were taken with my camera on the same day.
    I tried to append and replace the IPTC Metadata, but that didn't seem to work. What can be done about this, or am I just stuck with some out of sequence photos when I sort by image date?
    <subject edited by host>

    RB,
    That worked perfectly, and was just what I was looking to do. Thanks.
    MK

  • Email syncs now say "Updated Mar 30", the day I upgraded to Lollipop 5.0.  The notification should read the date and time you updated email receiving.  Does anyone elsehave this problem?

    Email syncs now say "Updated Mar 30", the day I upgraded to Lollipop 5.0.  Two days later it is still saying Mar 30.  The notification should read the date and time you updated email receiving.  Does anyone else have this problem?  Is there a solution to this?

    We want to make sure your phone is in working order Mb_in_NC. I know it can be difficult when you see different times. What is your make/model of your device? When did it start? Do you have a different time on any other applications?
    AmberF_VZW
    Follow us on Twitter @VZWSupport
    If my response answered your question please click the "Correct Answer" button under my response. This ensures others can benefit from our conversation. Thanks in advance for your help with this!!

  • Image Date error on importing TIFF images from Disk

    I have thousands of high quality (~100 Mb each) images in 20 folders on a 1 Tb hard drive. I have been using Bridge to manage the images, adding some metadata such as keywords and copyright data. I am considering importing all these images into Aperture and using it as the primary image management tool.
    But I am concerned about an apparent bug in the way Aperture handles the "image date and time".
    In Bridge (and GraphicConverter), the "image date" field is correct, directly from my CFV digital back on the camera and inline with the time of day the shot was taken (e.g. sunrise image at 6am). When I import the image into Aperture, the time gets shifted by 14 hours.
    For example, an image in Bridge that correctly shows Date Created as 10/05/2009 7:36am gets distorted to 10/05/2009 9:36pm, exactly 14 hours later than the correct time. It was taken at 7:30 in the morning but, in Aperture, looks like it was taken in the late evening. It does not look like a time zone issue as the image was taken in the same time zone as my Mac Pro is set to.
    I have tried deleting the masters and re-importing them with GMT +2 and GMT -12 in the two time zone adjustment fields. This gets the right time into the Image Date field but then the image has the wrong time zone data in the "Camera Time Zone" and "Picture Time Zone" fields.
    I have tried running MetaData > Update Date and Time (with Master files ON) but it comes back with an error "no master files were adjusted ... because they have a format that does not permit modification".
    I have tried running MetaData > Update Date and Time (with Master files OFF). It appears to work but I assume that the underlying file in the Aperture library still has the incorrect time.
    Have others faced this problem? Is there a solution? Is it a known bug that Apple might fix one day?
    Regards
    Peter

    I am seeing a very similar problem when importing TIFF files back to Aperture.
    This is what I do and what I see:
    1. I import RAW images from my camera into Aperture. They show the correct date and time.
    2. I open an RAW image in Photoshop (CS4) directly from the finder. The image inside Photoshop (file/info) shows the correct date and time.
    3. After editing I save my image as 16bit TIFF and it still shows correct date and time.
    4. I import the new TIFF back into Aperture. The time is shifted back 15 hrs!
    I can then go in and Metadata/Update Date and Time (no masters) and it works well, but it is a pain to do on each image I process.
    In all cases camera and image timezone is set to US Pacific as it should be.
    To me this seems like Aperture is somehow miss-interpreting the timezone when reimporting TIFFs.
    I have not tried importing JPEGs or PSDs back but I will and will report back...

  • Read a bfile and write its contents in a file stored in my hard disk

    I will try to describe my problem as clearly as I can.
    I have created a table that includes a LOB column "BFILE"
    Then I'm trying to READ the BFILE stored in our database using the
    DBMS_LOB package.
    so far so good.
    Now I want to write these data that I have read in the step above in a file
    saved in my local disk. The problem is, since the file in databse is
    stored as binary and I read Raw Data , I cannot create an exact copy of this
    file. It seems that It doesn't write the RAW data in the binary format.
    I have used the DBMS_LOB.READ to read the data and it works fine.
    Now I want to create a file in my local disk and dump the data that I have
    read from the BFILE that has been initially stored in the database.
    Is there any solution to this problem?
    I hope to hear from you soon
    Thanks in advance

    ignore me now.... I answered my own question a short while
    ago.
    for anyone who cares....
    I used CFHTTP to get the page and then used a cffile to write
    the #cfhttp.filecontent# into the new file!

  • Function module to convert date and time

    Hi ,
    Requirment is i want to create a file in the application server.So the file name should be in the following format.
    0XX-XXXX-YYYYMMDDHH.format.
    in this HH-hours.I need to take current date and time.so is there any function module to convert into this format.If it is not there how to create file name in this format.
    Thanks,
    MR

    REPORT  ZTEST_CONV.
    data:  time_stamp TYPE timestampl.
    GET TIME STAMP FIELD time_stamp.
    You can try with GET TIME STAMP
    But it will be in Different format.

  • Aperture 2: malfunction when adjusting image date and time

    Hello,
    When I'm adjusting date and time for a group of images the following malfunction occurs:
    The time is shifted by the difference between first and last image into the past, if the first image is the active one and into the future, if the last image is the active one.
    E.g.:
    Original: 23.02.08-12:00:00, 23.02.08 - 12:02:00, 23.02.08 - 12:05:00
    Correction of first image to 20.02.08 - 12:00:00
    Result: 20.02.08 - 11:55:00, 20.02.08 - 11:57:00, 20.02.08 - 12:00:00
    Original: 23.02.08-12:00:00, 23.02.08 - 12:02:00, 23.02.08 - 12:05:00
    Correction of last image to 20.02.08 - 12:00:00
    Result: 20.02.08 - 12:05:00, 20.02.08 - 12:07:00, 20.02.08 - 12:10:00
    Best regards, Jannes
    Message was edited by: cumulusCE

    Themes to be different depending on localized versions. I'm using a German Version.
    With Update 2.0.1 it's solved.

  • Function Module to get Date and Time out of Timestamp

    Hi,
    Source system timestamp field CREATED_TS of Type DEC-15
    BW PSA data in format 20.140.707.105.948
    In DSO, I have created two target InfoObjects; one for Date and one for Time.
    In transformation from PSA to DSO, in field level routine, I want to split timestamp into Date and Time.
    There is a function module CACS_TIMESTAMP_GET_DATE in source system but it is not available in BW. Another function module ADDR_CONVERT_TIMESTAMP_TO_DATE which is available in BW but returns only Date. 
    Does anyone know a function module in BW which takes Timestamp (PSA data in format 20.140.707.105.948) and returns Date and Time.
    Much better would be a FM which take timestamp and also Timezone  and returns Date and Time.
    Thanks
    Ahmad

    Timestamp to date time conversion (with time zone) is built into ABAP. Why use a function module?
    Read the ABAP help on CONVERT.

  • Image date and time incorrect in finder

    I just noticed after inserting an SD card in my Macbook Pro the date and times on the images do not match the date and time taken.  Taking a new image a few minutes prior to inserting the card, finder sets the time back 6 hours.  I've checked the settings on my Fuji XT-1 and also in system preferences and they are the same.
    Importing the images into Aperture, the dates and times do match to when the images were actually taken.  Any ideas?

    Hey Seth, a little late but I hope you're subscribed to this post, I have a lot easier way to do that, no 3rd party.
    Open System Preferences then select International, click on format, under Dates section click customize. On the Show line select "medium" and copy the whole line underneath (which can be change by selecting the little white arrows on it), cancel that window to close it. Then on the "Times" section click customize, choose medium from "Show" line and paste at the end on the line, close preferences and voilà!
    When you paste, items on the line can be arranged and moved positions at will and change from one digit to two digits format, etc.

  • Can I use Acrobat 11to download pdf that only allows me to read, enter data, and print?

    I need to complete gov. forms available online as pdf.  I can review, enter data and print, but I cannot save to my computer or anywhere else.  I need to be able to save so I can return to the form and enter information as I access it.  Can this be done if I purchase Acrobat 11 and, if so, can I get the Standard edition?  I currently only have Reader.

    Yes, if you upgrade to at least Acrobat Standard you will be able to save. Since you can't save with Reader (assuming 11), the forms are probably XFA forms (created with LiveCycle Designer), which must be Reader-enabled in order to be saved with Reader. Reader 11 can save non-enabled AcroForms (forms created with Acrobat), but not non-enabled XFA forms. If you have a Reader version prior to 11, try using Reader 11 to see if it will save.
    If you can provide a link to one of the forms, I can tell you for sure what the minimum requirement for saving is.

  • Read multiple files and write data on a single  file in java

    Hello,
    I am facing difficulty that I want to read multiple files in java and write their data to a single file. Means Write data in one file from multiple files in java
    Please help me out.
    Naveed.

    algorithm should be something like:
    File uniqueFile = new File();
    for (File f : manyFilesToRead)
       while (readingF)
           write(dataFromF, intoUniqueFile);

Maybe you are looking for

  • HP LJ M1415fn printing problem

    Hello, I've installed HP M1415fn printer and everything is ok. Printer prints ok, scans ok. But one problem has occurred and i can't solve it. When printing from pdf that has headers and footers, the page that is not full of text eg. has 3-4 lines of

  • Signal ILL trying to debug java process with dbx

    Hello, I'm trying to debug a java process to find an error in JNI code. I get this message when dbx stops in a C breakpoint: t@18 (l@19) signal ILL (illegal trap) in (unknown) t@18 (l@19) signal ILL (illegal trap) in (unknown) at 0xf848ed28 0xf848ed2

  • Return delivery

    Dear all , We did 122 movment in quality inspection lot posting Return dellivery to  vendor . We got this 122 movment Doc No also. Now in Mb90 for printing the Return delivery Slip , msg " No messages for initial processing exist " in Change Matertia

  • Dreaded "must be configured to use a valid SSL cert" - 2008 R2

    Hello everybody, I've been browsing through hundreds of topics on the dreaded "The RD Gateway server must be configured to use a valid SSL certificate" error using BPA (Windows Server 2008 R2 Std), but still haven't found a proper solution. Here's th

  • Need Info Regarding Unix Scripts for DBA's

    Hi, I'm a oracle DBA with little knowledge of Unix. I wanted to write some shell scripts which will be helpful for DBA's regular activity. As i'm a new to oracle with unix can any plese tell me what are all the activities can be done throgh Unix Shel