Red channel quirk

The backstory is that I had a power supply problem to a MBP as I was working on images in Aperture with an external hard drive. Apparently, the power supply to the external hard drive caused an import problem with some images; Aperture crashed; etc. I received new power supplies, did all three levels of repair (Command Option and launch Aperture), removed the dodgy import images and re-imported the files.
The problem is that now these images 'drop' the red channel when in full screen mode and then that reprocesses the preview without the red channel as well. The image info is there; you can see it in the curves, adjust the curves by the usual methods, etc., but the images display without red. It is really peculiar and must be a problem with Aperture 3 reading and processing the channel for display. I did a test printout into a PDF file and the problem shows up in the output as well.
Not good!

Problem solved...sort of.
When I imported these images, the adjustment window claims that the shots were imported with an older version of the RAW decoder. That's wrong; these are fresh images newly imported into Aperture 3. Anyway, for a few images, I did an individual 'reprocess' command in the adjustment window. Usually, that did not seem to do anything and the warning remained.
Just this afternoon, I updated to A3.0.1 and the Pro kit and re-started Aperture. The warning was there, however I did a reprocess Raw command on the selected images and that got me back to 'normal'. Very, very odd.

Similar Messages

  • Red channel seems very low resolution

    Iwth a HVX200 and P2 workflow, I have noticed in the past that in Final Cut the images look good, but if you export them, the red channel can have artifacts, it looks like a 1/8th of the resolution. This could do with the channel smoothing.. I dunno.
    However, I had a work around (a bit of a chicken dance: opening the original files in quicktime, unchecking then rechecking the 'hi-quality' mode, then saving them as uncompressed.. THEN outputting them as frames.)
    However, with all the newest updates to the P2 importer, I am now noticing that the problem has creeped into Final Cut itself, and there is no way to work around it.
    I have older footage that looks great, if I now go and re-shoot, it looks bad, really bad.
    What is going on ?
    Has anyone else had this problem.
    I work in a large facility, and we do a lot of greenscreen and this is a real problem.
    thanks in advance,
    cris blyth

    like this?
    (200% zoom)
    The little red blocks around the arms.It has something to do with over saturation of the red channel causing problems with color sampling and compression. Fortunately, it goes away once it hits a TV monitor. I'm a little bit confused as well, but I do know what your talking about.

  • 2 layers of Video, one showing just Red Channel

    Hi All
    I've got 2 layers of video. From one layer, I'd like to use just the Red Channel. On the layer below, I'd like to use just the G-B channels. The result being a composite of both layers.
    I thought I'd be able to use the Arithmetic control to knock out the channels and use ADD as the operator for the top later but it doesn't seem to be doing anything - I still see the RGB image on the top layer despite the values changed by Arithmetic.
    What am I missing?
    Cheers

     good , glad my tip have been helpful.
    Often obvious things are forgotten in the heat of the moment  

  • Aperture video missing red channel on playback

    Aperture video missing red channel on playback.  Also some pictures appear to have missing pixels.
    Video played with Quicktime doesnt have the missing red channel.
    When trying to playback video,in aperture, it plays with missing frames, missing pixels and the crashes entire computer. My computer is a Mac Pro desktop with 24 gb memory with 3.33 ghz 6-core processor running Version 10.9.2 and Aperture 3.5.1
    Any suggestions on my problem?
    thanks
    Pat

    Never had anything before crash the whole system since OS8 or so.
    Back up your system, without deleting older backups - just in case; that looks like a possible system trouble.
    Also they some have been in Aperture for a while and they used to be OK.
    Do the videos play in QuickTime Player or any other software, if you export or reveal the originals?
    Can you play your videos, when signed into another user account?

  • Flash CC Color Picker defaults to Red Channel every time opened

    I recently upgraded to Flash CC, and am having an issue when opening the Color Picker to adjust a palette color.
    When the Color Picker opens, the Hue radio button is selected (H), but the visual palette selection on the left is showing the color spectrum as if the Red Channel (R) was selected.  I have to click on the "H" radio button every time the Color Picker is opened to refresh that selectable area on the left to show the correct information instead of the Red spectrum.
    In previous versions (ie Flash Pro CS5) it would remember which palette system you use (Hue, Saturation, etc.) and always use that when you re-opened the color picker.  Now this is forcing me to reselect my preferred palette every time I open the color picker.  This is not just happening when I restart Flash -- this is every single time the picker is opened, within the same session, within the same document, seconds apart.
    All of the computers in the office with CC licenses are also seeing this behavior.  Is this happening for everyone, and is there a solution to have it correctly show the palette system I've selected?
    I'm using Flash CC on Windows 8.1.

    Delete the files extensions.* (extensions.rdf, extensions.cache, extensions.ini) and compatibility.ini in the Firefox [[Profiles|profile folder]] to reset the extensions registry.
    See "Corrupt extension files": http://kb.mozillazine.org/Unable_to_install_themes_or_extensions
    If you see disabled extensions that are not compatible on the next start in "Tools > Add-ons > Extensions" then click the "Find Updates" button to do a compatibility check.

  • IPhoto 9.5 sharpening drastically affects red channel

    I have the weirdest bug: opening a photo into the "edit" window recalculates the edits and ties the "sharpening slider" to the photo's "red channel." There are no visible slider changes, but a beautifully edited photo is suddenly converted to peaked reds. This renders the sharpening slider and the editing panel more than useless – they damage the photo. I don't even have to enter the adjustement pane for the change to occur. Command + E is sufficient to recalculate, bringing my work to a standstill.
    Everything since the last update has been working properly, at least until the latest "Digital Camera Raw Compatibility Update 5.01." I use a Sony NEX but only save JPEG and never RAW. The Sony Alpha NEX-5T is included in the update, but I'm shooting with a Sony NEX-5, which is an earlier generation model.
    I've also confirmed the "sharpening/red channel" bug is present in Aperture v3.5 – RAW 5.01 – Build 718.1, and RAW Support 5010 – Build 91.8.
    Is there a way to revert to the previous RAW build? Is there a patch? Am I just forced to wait on Apple?

    Another example:
    My original edit (sadly the thumb is all that's left, but you can see the color):
    The initial red profile error, initiated upon viewing:
    Current incorrect profile translation in the edit pane (you can see from the edits this is incorrect):

  • Major differences between ACR and Aperture in red channel

    Hi!
    I did some printing a couple of days ago and the result was really not acceptable. At first we thought it was the printer and then the process of saving the files from tiff mac to tiff pc. After that we hade a look at the channels and the findings explained exactly why we got the result. After that I decided to compare ACR with Aperture and here are the differences in the Red channel. Camera is Canon EOS 350D, ISO 200. The image is 25% zoom. I don't know if it is possible to post images but a link is perhaps good enough.
    http://www.d.kth.se/~vendelin/ap-acr.jpg
    Do you have any ideas why Aperture gives me this result? If this is what I can expect from Aperture I'm afraid I'll have to use another raw converter for printing and that is a shame. The Image look fine in RGB but Red is destroyed and the printer in this case uses the red channel I'm told.
    kind regards,
    Edvard

    Obviously that would be one way of doing it but
    digging after every file in the aperture lib, opening
    them in ACR, saving as tiff 16, importing to aperture
    is a to painful process.
    If you have to do it for every image it would be annoying, but if you don't often have blown out color channels it would not be too bad...
    I actually use Aperture myself by importing TIFFs because my camera is not supported in Aperture directly.
    As you pointed out the dark
    area is in fact not dark grey but black. No
    information there what so ever. Is this a common
    problem with aperture? Has anyone else experienced
    this or is this image an extreme example?
    I'm not sure why that would be, that's a different issue. I have not seen anything like that as Aperture seems to recover as much detail as any other converter.
    Are you sure there is no detail there, if you raise exposure some? ACR is set by default to automatically change adjustments, you may want to try auto-level or something like it.
    <...>
    Is this really a problem with Core Images or is it an
    Aperture problem? Correct me if I'm wrong but
    aperture uses the same RAW converter as iPhoto does,
    in other words Core Images framework? I see why Apple
    want Aperture, iPhoto and other to use their raw
    converter that's built into the operating system but
    when the performance is lacking perhaps the Aperture
    team should consider to build one for them selves?
    <..>
    You are thinking about it backwards. What Apple is doing is to spend resources producing a pro level converter, which then every part of the system (including iPhoto) can use. If Aperture were going to build thier own RAW processor then why would you not want iPhoto to be able to use it as well?
    And in fact that's pretty much what happened, before Aperture came out OS X RAW conversion was pretty mediocre. But after Aperture Apple spent a lot of resources improving RAW conversion and it's far better now - whcih also benefits iPhoto.
    Is there any form of modified RAW converter for OS X
    I could use to replace the one shipping default? I
    would do anything in order to keep using aperture for
    prints also.
    Sorry, there's no way to swap out the OS decoder.

  • Blue hue in screen (no red channel)

    I recently aquited a Powerbook G3 500(pismo). The screen has a blue tint in it, as if te red channel is not working. Yesterday I restarted the machine and there was some red showing, but not at very good quality.
    I am guessing it is the video card.
    Any help? Thanks.
    Joe
    Powerbook G3 500   Mac OS X (10.4.1)  

    Joe,
    The pinkish/reddish color is usually caused by a failing fluorescent backlight. But also in the equation is the inverter that powers the backlight and I believe it will just cause a dim display. However, if the display is new, then the inverter may be the problem.
    The inverter converts low-voltage DC to high-voltage AC to power the fluorescent backlight. These inverters are inexpensive and easy to replace. If your previous display appeared to have normal brightness, then the backlight is probably at fault.
    It sounds as though you bought a used display. This problem usually begins to manifest itself with a pinkish/reddish cast in the lower left corner of the LCD and which disappears as the display warms up. However, over time it will progressively get worse and you will eventually end up with a display that remains totally pink and quite unattractive.
    If interested, this is how you replace the inverter:
    You should be able to lift out the clutch cover after removing the keyboard and heat shield. Here is a picture of the inverter:
    http://www.ifixit.com/Guide/Mac/PowerBook-G3-Pismo/Inverter-Page-10-Inverter
    IFixIt also sells used parts including the inverter. There was a good article regarding the Pismo display but I have been unable to access it:
    http://www.macopinion.com/columns/roadwarrior/04/10/19/
    Sorry I cannot be definitive as to whether you have an inverter or bulb problem.

  • Cmd+1 selects red channel

    cmd+1 used to view actual pixels but now it selects the red channel. That used to be alt+cmd+3. In channels panel red channel select is shown as cmd+1. Wouldn't like to trash all the settings, so how to set only the keyboard shortcuts to default?
    thanks
    -matti

    found it, never changed anything in keyboard shortcuts, but use legacy channel shortcuts was checked, Unchecking it cmd+1 views actual pixels again.

  • Cyan (no red channel) Display

    External display has stopped (intermitently) showing red, effect is that everything has a very heavy cyan cast. I've checked the monitor, cable and adapter with another macbook; the problem isn't there.
    Full color returned for a day and just popped off again. There were no big shakes on the desk, so if it is an internal broken connection its a tiny one. What could be causing this?  What can I check?
    I've already done the sleep, reset, powerdown, SMC reset

    It looks like a late 2006 model, but with 1 gig of ram.
    I'm using the dvi to vga adapter that came with. All the pins are fine.
    I don't think the problem is hardware related. When the screen flashes, when I'm changing the display path, the colors seem to normalize for a moment.

  • Photoshop - combine red and green channel images into a merged image?

    Hi,
    I am a developmental biologist carrying out experiments on a type of microscope known as a Confocal Laser Scanning Microscope (CSLM).  Basically, this is a microscope coupled to some lasers which allow fluorescently-labelled parts of a biological sample to be imaged in high detail.
    For each sample there will be a set of two images produced, named and numbered as follows:
    sample01_g.tif
    sample01_r.tif
    Each image represents one fluorescent wavelength and correspond to green ( g ) and red ( r ).  These images are in rgb colour.
    I want to produce a merge of these two channels to generate a new TIFF file such that:
    Green channel is taken from sample01_g.tif
    Red channel is taken from sample01_r.tif
    Which would show me how the different channels co-localise, or not.
    This is fine to do by hand in Photoshop, but takes a long time when you have a couple of hundred images to process.  So, what I would like to do is write a script that batch automates the process, like a droplet.  I have the process outlined below:
    Create a new RGB TIFF called sample01_merge.tif
    Take the green channel from sample01_g.tif and copy it to the green channel of sample01_merge.tif
    Take the red channel from sample01_r.tif and copy it to the red channel of sample01_merge.tif
    Save sample01_merge.tif into a folder named "Merged Images" on the desktop
    Close the opened images
    Go to next set of images –> sample02_g.tif and sample02_r.tif
    Create a new RGB TIFF called sample02_merge.tif....and go through step 2-6, untill the last set of images has been processed.
    I have never used script before and would love to learn, but I am making slow progress and would like to have this problem solved sooner than I will be able to do so by myself.  So... I was wondering if anyone could give me some advice on how to go about doing this?
    Any help will be greatly appreciated!
    I use a Mac Pro running OSX 10.8.3 and Photoshop CS6 Extended
    Best regards,
    John

    Yes, as I said it wasn't finished and wasn't meant to be used. It was just to show that working with image sets based on a name pattern is easy.
    Here is a version that does do the merge and save using applyImage.
    Note: for applyImage to work the images in each set need to be the same size. Some of your jpeg samples were not. This worked with one set by not the other.
    // make a reference to the savedFolder
    var savedFolder = new Folder('~/desktop/Merged Image');
    // create the folder if it doesn't exists
    if(!savedFolder.exists) savedFolder.create();
    // get the source folder from the user and store in variable
    var sourceFolder = Folder.selectDialog();
    // make sure user selected a folder
    if(sourceFolder != null){
        // get an array of red images and store in variable
        var sourceFiles = sourceFolder.getFiles(/_r\.tif$/i);
        // make a loop to process all found sets.
        for(var i = 0; i < sourceFiles.length;i++){
            var redName = sourceFiles[i].name;
            var greenName = redName.replace('_r','_g');
            var redImage = open(sourceFiles[i]);// open the red file and store reference to document
            var greenImage = open(new File(sourceFolder+'/'+greenName));// open the green file and store reference that document
            // now select each channel and apply matching channel in redImge using lighten mode
            app.activeDocument.activeChannels = [app.activeDocument.channels.getByName(localize('$$$/ColorModes/RGB/ChannelName/Red=Red'))];
            applyChannel( charIDToTypeID( "Rd  " ), redImage.name );
            app.activeDocument.activeChannels = [app.activeDocument.channels.getByName(localize('$$$/ColorModes/RGB/ChannelName/Green=Green'))];
            applyChannel( charIDToTypeID( "Grn " ), redImage.name );
            app.activeDocument.activeChannels = [app.activeDocument.channels.getByName(localize('$$$/ColorModes/RGB/ChannelName/Blue=Blue'))];
            applyChannel( charIDToTypeID( "Bl  " ), redImage.name );
            // select the componet channel( rgb )
            selectComponentChannel();
            // save the merged document
            SaveAsTIFF(savedFolder+'/'+redName.replace(/_r\.tif$/i,'_merged.tif'),true);
            // close the open documents for next loop
            redImage.close(SaveOptions.DONOTSAVECHANGES);
            greenImage.close(SaveOptions.DONOTSAVECHANGES);
    function applyChannel( channelID, documentName ){
        // charIDToTypeID( "Rd  " )
        // charIDToTypeID( "Grn " )
        // charIDToTypeID( "Bl  " )
        var desc = new ActionDescriptor();
        var channelsDesc = new ActionDescriptor();
        var ref = new ActionReference();
        ref.putEnumerated( charIDToTypeID( "Chnl" ), charIDToTypeID( "Chnl" ), channelID);
        ref.putProperty( charIDToTypeID( "Lyr " ), charIDToTypeID( "Bckg" ) );
        ref.putName( charIDToTypeID( "Dcmn" ), documentName );
        channelsDesc.putReference( charIDToTypeID( "T   " ), ref );
        channelsDesc.putEnumerated( charIDToTypeID( "Clcl" ), charIDToTypeID( "Clcn" ), charIDToTypeID( "Lghn" ) );
        channelsDesc.putBoolean( charIDToTypeID( "PrsT" ), true );
        desc.putObject( charIDToTypeID( "With" ), charIDToTypeID( "Clcl" ), channelsDesc );
        executeAction( charIDToTypeID( "AppI" ), desc, DialogModes.NO );
    function SaveAsTIFF( inFileName, inLZW ) {
        var tiffSaveOptions = new TiffSaveOptions();
        if ( inLZW ) {
            tiffSaveOptions.imageCompression = TIFFEncoding.TIFFLZW;
        } else {
            tiffSaveOptions.imageCompression = TIFFEncoding.NONE;
        app.activeDocument.saveAs( File( inFileName ), tiffSaveOptions );
    function selectComponentChannel() {
        try{
            var map = {}
            map[DocumentMode.GRAYSCALE] = charIDToTypeID('Blck');
            map[DocumentMode.RGB] = charIDToTypeID('RGB ');
            map[DocumentMode.CMYK] = charIDToTypeID('CMYK');
            map[DocumentMode.LAB] = charIDToTypeID('Lab ');
            var desc = new ActionDescriptor();
                var ref = new ActionReference();
                ref.putEnumerated( charIDToTypeID('Chnl'), charIDToTypeID('Chnl'), map[app.activeDocument.mode] );
            desc.putReference( charIDToTypeID('null'), ref );
            executeAction( charIDToTypeID('slct'), desc, DialogModes.NO );
        }catch(e){}

  • How can I see the alpha channel in the channels palette?

    Hello, mi format plugin loads a rgba image. I see it with transparency, that's ok, but when I go to the channels tab I only see 4 items (RGB, Red, Green and Blue).
    How can I see the alpha channel of my file in the channel tab?
    Thanks!

    OK, something must be wrong... but I don't find it!
    That's my whole code (resumed). I ommit some code (saving file code (not used) or main function, where I only call te "DoSomething" functions. You can see that I use layers. The DoReadContinue function is only used to show the preview.
    In the DoReadStart function I set the parameters for the layers (and the preview), and I fill the "data" and "layerName" params in the DoReadLayerContinue function. I hope you can understand the code!
    const int32 IMAGE_DEPTH = 32;
    SPBasicSuite * sSPBasic = NULL;
    SPPluginRef gPluginRef = NULL;
    FormatRecord * gFormatRecord = NULL;
    intptr_t * gMxiInfoHandle = NULL;
    MXIInfo* gMxiInfo = NULL;
    int16 * gResult = NULL;
    #define gCountResources gFormatRecord->resourceProcs->countProc
    #define gGetResources   gFormatRecord->resourceProcs->getProc
    #define gAddResource    gFormatRecord->resourceProcs->addProc
    CmaxwellMXI* cMax;
    static void DoReadPrepare (void){
        gFormatRecord->maxData = 0;
    static void DoReadStart(void){
        char header[2];
        ReadScriptParamsOnRead (); // override params here
      if (*gResult != noErr) return;
        // Read the file header
        *gResult = SetFPos (gFormatRecord->dataFork, fsFromStart, 0);
        if (*gResult != noErr) return;
        ReadSome (sizeof( header ) * 2, &header);
        if (*gResult != noErr) return;
      // Check the magic number for avoid no-mxi files
        int headerID = CheckIdentifier (header);
        if( headerID != HEADER_MXI ) *gResult = formatCannotRead;
      if (*gResult != noErr) return;
      // The file is OK. Let's continue to obtain the data of the image.
      cMax = new CmaxwellMXI( 0 );
      strlen((char*)gFormatRecord->fileSpec->name);
      gMxiInfo->filename = _strdup((char *)gFormatRecord->fileSpec->name + 1);
      bool res = cMax->getMXIIInfo(
                    (const char*)gMxiInfo->filename,
                    gMxiInfo->width, gMxiInfo->height,
                    gMxiInfo->burn, gMxiInfo->monitorGamma, gMxiInfo->iso,
                    gMxiInfo->shutter, gMxiInfo->fStop, gMxiInfo->intensity,
                    gMxiInfo->scattering,
                    gMxiInfo->nMultilightChannels, gMxiInfo->lightNamesList,
                    gMxiInfo->availableBuffersMask,
                    gMxiInfo->widthPreview, gMxiInfo->heightPreview,
                    gMxiInfo->bufferPreview);
      if(!res) return;
      // Check the available extra buffers
      int count = 0;
      if( gMxiInfo->availableBuffersMask & CmaxwellMXI::ALPHA_BUFFER ){
        // We will use that string to obtain later the desired extra buffer.
        gMxiInfo->extraBuffersList[count] = "ALPHA";
        gMxiInfo->hasAlpha = true;
        count++;
      else{
        gMxiInfo->hasAlpha = false;
      gMxiInfo->nExtraBuffers = count;
      switch( IMAGE_DEPTH ){
      case 8:
          gMxiInfo->mode = plugInModeRGBColor;
          break;
      case 16:
          gMxiInfo->mode = plugInModeRGB48;
          break;
      case 32:
          gMxiInfo->mode = plugInModeRGB48; //96 gives me an error
          break;
      // SET UP THE DOCUMENT BASIC PARAMETERS.
      VPoint imageSize;
      if( gFormatRecord->openForPreview ){
        // Preview always RGB8.
        imageSize.v = gMxiInfo->heightPreview;
        imageSize.h = gMxiInfo->widthPreview;
        gFormatRecord->depth = 8;
        gFormatRecord->imageMode = plugInModeRGBColor;
        gFormatRecord->planes = 3;
        gFormatRecord->loPlane = 0;
        gFormatRecord->hiPlane = 2;
        gFormatRecord->colBytes = 3;
        gFormatRecord->rowBytes = imageSize.h * gFormatRecord->planes;
        gFormatRecord->planeBytes = 1;
      else{
        // Configure the layers. All RGBA32.
        imageSize.v = gMxiInfo->height;
        imageSize.h = gMxiInfo->width;
        gFormatRecord->depth = IMAGE_DEPTH;
        gFormatRecord->imageMode = gMxiInfo->mode;
        gFormatRecord->layerData =
            2 + gMxiInfo->nMultilightChannels + gMxiInfo->nExtraBuffers;
        gFormatRecord->planes = 4; // RGBA.
        gFormatRecord->loPlane = 0;
        gFormatRecord->hiPlane = 3;
        gFormatRecord->planeBytes = IMAGE_DEPTH >> 3;
        gFormatRecord->rowBytes = imageSize.h * gFormatRecord->planes * ( IMAGE_DEPTH >> 3 );
        gFormatRecord->colBytes = gFormatRecord->planes * ( IMAGE_DEPTH >> 3 );
        gFormatRecord->transparencyPlane = 3;
        gFormatRecord->transparencyMatting = 1;
        gFormatRecord->blendMode = PIBlendLinearDodge;
        gFormatRecord->isVisible = true;
      SetFormatImageSize(imageSize);
      gFormatRecord->imageHRes = FixRatio(72, 1);
      gFormatRecord->imageVRes = FixRatio(72, 1);
      VRect theRect;
      theRect.left = 0;
      theRect.right = imageSize.h;
      theRect.top = 0;
      theRect.bottom = imageSize.v;
      SetFormatTheRect(theRect);
      // No resources for now.
      if (sPSHandle->New != NULL) gFormatRecord->imageRsrcData = sPSHandle->New(0);
      gFormatRecord->imageRsrcSize = 0;
        return;  
    /// Called for prewiew only.
    static void DoReadContinue (void){
        // Dispose of the image resource data if it exists.
        DisposeImageResources ();
      if( gFormatRecord->openForPreview ){   
        VPoint imageSize = GetFormatImageSize();
        gFormatRecord->data = gMxiInfo->bufferPreview;
          if (*gResult == noErr) *gResult = gFormatRecord->advanceState();
        if( gFormatRecord->data != NULL ){
          delete[] (Crgb8*)gMxiInfo->bufferPreview;
          gMxiInfo->bufferPreview = NULL;
          gFormatRecord->data = NULL;
      // De momento nos olvidamos de los icc profiles [TODO]
        //DoReadICCProfile ();
    static void DoReadFinish (void)
        // Dispose of the image resource data if it exists.
        DisposeImageResources ();
        WriteScriptParamsOnRead (); // should be different for read/write
      // write a history comment
        AddComment ();
      // Clean some memory.
      if( gMxiInfo->lightNamesList != NULL ){
        for( unsigned int i = 0; i < gMxiInfo->nMultilightChannels; i++){
          if( gMxiInfo->lightNamesList[i] != NULL ){
            delete[] gMxiInfo->lightNamesList[i];
            gMxiInfo->lightNamesList[i] = NULL;
        delete[] gMxiInfo->lightNamesList;
        gMxiInfo->lightNamesList = NULL;
      if( gMxiInfo->bufferPreview != NULL ){
        delete[] gMxiInfo->bufferPreview;
        gMxiInfo->bufferPreview = NULL;
      if( gMxiInfo->filename != NULL ){
        delete[] gMxiInfo->filename;
        gMxiInfo->filename = NULL;
      if( cMax != NULL ){
        delete cMax;
        cMax = NULL;
    static void DoReadLayerStart(void){
      // empty
    static void DoReadLayerContinue (void){
      int32 done;
        int32 total;
      VPoint imageSize = GetFormatImageSize();
      // Set the progress bar data
      done = gFormatRecord->layerData + 1;
      total = gMxiInfo->nMultilightChannels + gMxiInfo->nExtraBuffers + 2;
      // Dispose of the image resource data if it exists.
      DisposeImageResources ();
      uint32 bufferSize = imageSize.v * gFormatRecord->rowBytes;
      int nPixels = gMxiInfo->width * gMxiInfo->height;
      char* lightName = NULL;
      // SET THE BLACK BACKGROUND
      if( gFormatRecord->layerData == 0 ){
        gFormatRecord->data = (void*)new byte[bufferSize];
        for( int i = 0; i < nPixels; i++ ){
          ((float*)gFormatRecord->data)[ i * 4 ]     =
          ((float*)gFormatRecord->data)[ i * 4 + 1 ] =
          ((float*)gFormatRecord->data)[ i * 4 + 2 ] = 0.0;
          ((float*)gFormatRecord->data)[ i * 4 + 3 ] = 1.0;
        // Set the layer name.
        gFormatRecord->layerName = new uint16[64];
        gFormatRecord->layerName[0] = 'B';
        gFormatRecord->layerName[1] = 'a';
        gFormatRecord->layerName[2] = 'c';
        gFormatRecord->layerName[3] = 'k';
        gFormatRecord->layerName[4] = 'g';
        gFormatRecord->layerName[5] = 'r';
        gFormatRecord->layerName[6] = 'o';
        gFormatRecord->layerName[7] = 'u';
        gFormatRecord->layerName[8] = 'n';
        gFormatRecord->layerName[9] = 'd';
        gFormatRecord->layerName[10] = '\0';
      // LOAD THE LIGHT LAYERS
      else if( gFormatRecord->layerData < gMxiInfo->nMultilightChannels + 1 ){
        void* lightBuffer = NULL;
        void* alphaBuffer = NULL;
        byte foob;
        dword food;
        // Get the light buffer.
        bool res = cMax->getLightBuffer(
                               (char*)gMxiInfo->filename,
                               gFormatRecord->layerData - 1, IMAGE_DEPTH,
                               lightBuffer,
                               gMxiInfo->width, gMxiInfo->height, lightName);
        if(!res){
          *gResult = readErr;
          return;
        if( gMxiInfo->hasAlpha ){
          // Get the alpha buffer.
          res = cMax->getExtraBuffer(
                                (char*)gMxiInfo->filename,
                                "ALPHA", IMAGE_DEPTH, alphaBuffer,
                                food, food, foob);
          if(!res){
            *gResult = readErr;
            return;
        else{
          alphaBuffer = (void*)new float[ gMxiInfo->width * gMxiInfo->height * 3 ];
          for( int i = 0; i < nPixels; i++ ){
            // Only need to set the red channel.
            ((float*)alphaBuffer)[ i * 3 ] = 1.0;
        // Put them together.
        gFormatRecord->data = (void*)new byte[bufferSize];
        for( int i = 0; i < nPixels; i++ ){
          ((float*)gFormatRecord->data)[ i * 4 ]     = ((float*)lightBuffer)[ i * 3 ];
          ((float*)gFormatRecord->data)[ i * 4 + 1 ] = ((float*)lightBuffer)[ i * 3 + 1 ];
          ((float*)gFormatRecord->data)[ i * 4 + 2 ] = ((float*)lightBuffer)[ i * 3 + 2 ];
          ((float*)gFormatRecord->data)[ i * 4 + 3 ] = ((float*)alphaBuffer)[ i * 3 ];
        delete[] (float*)lightBuffer;
        delete[] (float*)alphaBuffer;
        // Set the layer name.
      //LOAD THE EXTRA CHANNELS
      if( ... ){
      //READ THE RENDER BUFFER
      if( ... ){
      // User can abort.
      if (gFormatRecord->abortProc()){
          *gResult = userCanceledErr;
          return;
      // Commit the layer.
      if (*gResult == noErr) *gResult = gFormatRecord->advanceState();
      // Update the progress bar.
      (*gFormatRecord->progressProc)( done, total );
      // Free memory.
      if( gFormatRecord->data != NULL ){
        delete[] (float*)gFormatRecord->data;
        gFormatRecord->data = NULL;
      if( lightName != NULL ){
        delete[] lightName;
        lightName = NULL;
    static void DoReadLayerFinish (void)
      // Nothing to do.
    And that's the image that I obtain loading a 8 layer image:
    The layers have transparency (when I set "transparencyPlane" to  -1, or 0, or 1, or 2, or 3, or 4....., I got the same result!). The blending mode is still "normal". I had set it to "linear dodge" The "isVisible" param works OK.
    Alpha 1 is still black.
    Is possible that I need to set something in the .r file? I had to add "FormatLayerSupport { doesSupportFormatLayers }," to manage layers, for instance.

  • Camera Raw missing color channel

    I am using PSE9 for images from my Pentax K5. All updates have been installed.
    The raw files (PEF) have always worked in Camera Raw.
    Today however, I have opened some raw files and found that ACR is not showing the red channel in any images. The JPEG thumbnails in camera are displaying correctly.
    I have also opened the same files with Pentax Digital Camera Utility 4.40 and it displays the images correctly. This confirms the data has been recorded - thank goodness it is not a capture problem.
    Any suggestions and solutions as to what has happened to Camera Raw?
    Thanks to all who consider my problem.

    I have been using a Pantone Huey colorimeter for many years now with great effect.
    Unfortunately, this appears to be the source of my problems although I'm not sure why it would suddenly fail.
    When I factory reset the Huey, i.e. there is no calibrated monitor profile, it displays all images accurately. As soon as I calibrate the monitor, the colors display incorrectly again.
    The latest version of the Huey software was made back in the days of Windows XP. Therefore, there is no guarantee it will work with Windows 7 although it has been doing so for some time.
    It may be time to replace it with a Colormunki or Spyder4.
    If I go ahead, I'll post the outcome.

  • Is there any way of restoring a channel?

    I somehow managed to tell my new camera that I didn't want any red to  appear in the pictures I was shooting. When I import the pics into  Photoshop, the red channel looks fine, but it displays as grey. Is there  anything I can do to restore the red channel to red, other than  re-shoot and throw a days work away?

    No channel displays in its own color when you click on a channel in the CHANNELS panel.  They all show in grayscale when you look at one at a time.
    On the other hand, if your red channel is simply an average of green and blue then you'd see a blue/green image with no red in it.  I can't begin to imagine that a camera would offer that kind of setting though...  Of what use would it be?
    What you're saying simply isn't enough information for anyone to really help until we know the specifics...  You really need to post an image and a screenshot of what you're seeing so we can analyze it.  Use the little camera icon just above where you type.
    -Noel

  • Copy and Paste a channel in Photoshop CC

    Following an on line tutorial I need to copy one channel of an image layer then paste it to the RGB channel.  Command C/V does not work while it does in the tutorial.  I am not sure what version Photoshop is being used the tutorial, but I have seen other posts regarding problems copying text in CC 2014.  Any clues?  I am running Yosemite on an iMac and Photoshop CC 2014.

    Hi Trevor,
    That duplicates the channel, but how do I then paste it onto the RGB Channel.  In the tutorial they copied the red channel to the clipboard (without duplicating it in the channels panel ) then they clicked on the RGB channel and did command V to past the red channel onto the selected RGB (all channels) thereby replacing them all with the red channel.  hope that makes sense, but the operation was simply a copy to and paste from the clipboard.
    Perhaps I should go back and look at it again for the umpteenth time to see if I am missing anything.
    Thanks for the quick response Trevor.  I'll let you know if I find anything new.
    Best
    Michael

Maybe you are looking for

  • Found a BUG in ORACLE 8!!!!!!!!!!

    Hi, I just discovered this BUG in Oracle8. The Oracle version I am referring to is Oracle8 Enterprise Edition Release 8.0.4.0.0 { Production. I found out that after you created a table then add a primary key, even if the columns you are going to have

  • Third page is not comming in smartform print preview

    Hi Gurus,              I have designed the smart  which has three pages first and third pages are constant so they             dont have any main window but second page is variable so it has one main window             but the problem is third page 

  • Verizon Gift Card Trade in Program is a SCAM!!!!

    My family and I have been a VZ customers since we purchased our first cell phones over 12 years ago.  We always buy in to the upgrade program and purchase new phones and all the goodies that come with them like good little consumers.  I have converte

  • Wrong 'Still to be delivered' & 'Still to be invoiced' quantities against service POs in ME2* reports

    Hello All,' I have come across some strange issue in all ME2* reports when I am checking the service POs. Few of the service POs are showing zero quantity for still to be delivered & invoiced when the service entry sheet is yet to be created & invoic

  • Preview on iPad failing

    I can't get my ibook file to preview on an iPad -- the preview drop-down device list is blank. Is anyone else having this problem? I'm running OS 10.7.2 on a MacBook Pro, iPad iOS 5.01, iBooks v2, iTunes 10.5, so all software is up to date.