Better Alpha channel handling

I've asked for this a lot: alpha channel saving with PS is terrible, and could use an update. And today, I was embarrassed by a bug that caused our game engine to perform poorly as a result of the way Photoshop handles the alpha channel.
The bug: make a 1024x1024 canvas, give it an opaque alpha channel (100% white, every pixel), then Image Size it down to something smaller, like 128x128. Now look at your alpha channel: grey pixels all along the border. ARRGGGHHH!!!1!1! It interpolated, I'm sure, using black alpha outside the canvas that doesn't actually exist, changing, in a powerful, fundamental way, the nature of the alpha channel. Video cards care about this stuff: 99.9% opaque is not 100% opaque. This is terrible.
The request: That PS intelligently offer better defaults when saving an image with an alpha. Right now, it offers, "What was the last bit depth you saved an image to?" Regardless of the fact that the previous image may have no relationship to the following image being saved, the default offering is always "what I did last time". This enables very easy pruning of alpha channels that should be there, or adding opaque alpha channels that shouldn't be there, bloating the file size.
I'd like PS to determine if an alpha channel is present, and base its default choice on that. If one is present, default to 32-bits. If an alpha channel si not present, default to 24-bits. That easy.
If multiple alpha channels are present, I'd like a dropdown menu to pick which one I want. Right now, if you save a PSD with multiple alpha channels to a 32-bit TGA, it throws all alpha channels away, and saves the image with a solidly opaque alpha channel, the choice no one asked for.
For texture work, or works where the graphics card is the destination, not the printed page, this cavalier handling of alpha channels is definitely not sustainable.
I'd love to never have to ask for this again.

Generally speaking the resize of an image on a layer in which the canvas is exactly the size of the data will result in transparency peeking in around the edge (i.e., I'm agreeing with you here, just using Photoshop terms).  I've always thought this was kind of poorly thought-out too.  As you say, the algorithm must default to using 0 vs., say, replicating (or "clamping") to the alpha of the pixels right on the edge.
I suppose theoretically, the thinking is that if you were to EXPAND the canvas, the area around the image would be transparent anyway, and a subsequent resampling would then have the same result as the above.
Knowing this, one way to work around the problem would be to create a slightly larger image, then Canvas Size it down to your intended resolution.  That way there's layer data beyond the edges with which the resizing algorithm can work.  I realize that's probably not a practical solution in general, but a trick to keep up your sleeve if you really do need that 128 x 128 image with alpha solid to the edge.
-Noel

Similar Messages

  • Alpha channel videos problem on AIR 3.8 beta Android

    Hi, I've found a strange behavior on the beta 3.8 SDK. When I load and play a FLV video with alpha channel it becomes completely black, but if I re-load it, it shows well. This does not happen on applications created with the release, 3.7 version of the SDK.

    I think I am encountering the same issue with Air 3.8. Although I am not using the alpha channel and the video is a quicktime (.mov),
    the video appears black (I can hear the audio playing).
    I cannot switch back to 3.7 because that gave a error uploading the apk to the new google play console because of signing issues,
    the upload issues were fixed in 3.8.

  • Printing swf error (no alpha channel?)

    Hi,
    I don't know if this has been covered before but I have tried the following:
    Printing to PDF via the print menu from the swf
    and
    Printing to paper via the print menu from the swf
    In both cases, the images that are on screen are PNGs created as a PNG sequence from After Effects.  They contain alpha channels and the background of the swf is non-white.  However the bounding box of the image gets printed as white, so I have  a sequence of overlapping white regions, some of which occlude the image beneath.  With alpha channels on the monitor, this is not apparent, but when on paper or in PDF format the occlusion is clear.  I don't mind the white background; however I cannot deal with the occlusion.  How can I solve this?
    Sincerely,
    -markerline

    Eureka!! That works better than a vacuum cleaner.  Only problem is I was using the AS3 reference and some of the PrintJob examples that were listed threw errors so I had to use the final example:
    package
        import flash.printing.PrintJob;
        import flash.display.Sprite;
        public class BasicPrintExample extends Sprite
            var myPrintJob:PrintJob = new PrintJob();
            var mySprite:Sprite = new Sprite();
            mySprite.graphics.beginFill(0x336699);
        mySprite.graphics.drawCircle(100, 100, 50);
            public function BasicPrintExample()
                if (myPrintJob.start()) {
                try {
                    myPrintJob.addPage(mySprite);
                catch(e:Error) {
                    // handle error
                myPrintJob.send();
    I did away with the package and the class and just called the function as a mouse event for a print-button.  I'm not sure why the if(myPrintJob.start()) call works because nowhere am I declaring the print job to start.  I guess that's something that happens automatically?

  • Motion 5 Alpha Channel Support

    Does anyone have an answer on what is supported? I know Prores444, but I can get transparency information out of the Animation Codec, but  it results in jerky vision when field based media is imported into Avid.  The file does contain an alpha channel, but there is a problem, on import to Avid V6
    Anyone recommend a good workflow for getting Video + Alpha out of Motion 5 and into a PC based Avid that doesn't have Prores, and surely it doesn't involve a 2 pass output with separate Matte and Fill.
    John

    ProRes 4444 has a playing bandwidth that can choke all but the fastest computers. FCPX uses Optimized versions of video to get the playability down to a reasonable rate. ProRes 4444 makes editing video simple, and therefore provides a better environment for frame level edits.
    I didn't know you could export Animation out of Motion 5...  I have the Animation codec, but it doesn't appear as an option for me...
    Anywho...
    You have other options.
    1) you can export Alpha channel as a travel matte in any codec you like. From the Share > Export Movie dialog, in the Render section, the Color dropdown menu, select Alpha (only). You will also need to export the Color channels as a separate video.
    [*I know you already stated you do not want to use this option but it means you can use any codec.]
    2) you can Share > Export as Image Sequence and use PNG, PSD or TIFF
    Image sequences seem messy, but if you group all the images into a dedicated folder, it's not that different from a video file. You could even import them into Avid and export a compatible video file, then delete the sequence (just assuming - I haven't tried using Avid since the 1995 Mac version so I have no real idea if that's the case.)
    Any self-respecting NLE can handle travel mattes and image sequences.
    HTH

  • Alpha Channel Graphics question

    OK, I'm new to KN; I've used Powerpoint for years. I just got iWork (more for pages than KN but. . . ).
    Can I not re-size the picture holders on the templates?
    If not, then this is rather annoying. On one template page, the picture is basically all that is there, with a text box for a title. Yet, the holder is so small that it barely fills 1/3rd of the page. Perhaps that is a design preference for someone, but I would much rather have my picture larger.
    I use powerpoint in the college classroom and often show maps. I don't want to have some tiny picture with lots of empty space around it.
    I did note that I can create my own object area and then resize that, but what's the point of using the cool templates then? When I tried to create my own, I assumed that the neat look (like tape on the chalkboard or push pin on the board) would just show up, and then I could resize.
    Nope. In that case all I got was the picture.
    Please tell me I am missing something obvious and that if I go to X place I'll find the easy way to resize the "Alpha Channel Graphics" (yes, I did go read the PDF guide to see if there was an answer there).

    Carl, to stretch the hole, you will need to stretch the entire background graphic. To do this, first set the slide to the master that has the cutout. The cutout is actually a graphic that is covering the entire master, and it is "locked" so that it can't be moved or changed. Click anywhere on the master background (outside of the cutout hole) to select that graphic, and then in the Arrange menu choose "Unlock". Now the cutout image can be freely manipulated, including stretched larger in either or both directions (using either the control handles at the edges and corners of the image, or the Metrics Inspector).
    The above procedure will change the master, and so will affect any slide using that master. You are better off to unlock the cutout image on the master, copy it, and then paste it on a separate blank slide. That way, changes that you make to the cutout will only affect that one slide.
    I hope this is what you're looking for. As Kyn says, masks give you much more flexibility, and are much easier to use (although admittedly they won't easily give you the borders that some cutouts do).

  • Exporting Targa Sequence and Alpha Channel

    I have a couple of targa sequence containing graphics that I need to export. One has an opaque arrow which rolls out over the film underneath. The second has solid text which will be laid over the arrow as it animates. I have run the image sequences in Quicktime, the arrow sequence comes out as a block of black and the solid text comes out against a black background instead of an alpha channel and I can't seem to manipulate them. I have FCP 6 which i thought had Quick Time Pro to handle alpha channels. What am I doing wrong, can anyone help?

    hi,
    what exactly are you doing?
    why are you exporting from quicktime? why dont you import the image sequence directly into motion/fcp? Not saying you;re wrong, just wondering that 's all.
    Have you got the export settings correct. Not many codecs support alpha channels. Your best bet is Animation set to Millions of colours +. the + is the alpha channel.
    However motion or fcp should be able to read the image files just fine.
    adam

  • More CS 5 - ProRes 4444 Alpha channel nonsense

    Hi:
    Quicktimes I render out of After Effects CS 5 using the ProRes 4444 codec are tagged as having an alpha channel even though my settings in the Output Module are RGB and Trillions of Colors.  NOT RGB + Alpha and Trillions of Colors+.  It doesn't matter whether my project is 8 bit or 16 bit.
    When I bring such movies back into AE it shows them as having an alpha channel (Trillions of Colors+).  If I do a Get Info in QT player it shows Millions of Colors+, and FCP shows them as having an alpha, too.
    I just upgraded to Snow Leopard 10.6.8 (figured it was safe after two years) and in the process switched full time to CS 5 (I only used it in the past to open other's projects).  I never had these issues with CS4.  I have not installed any AJA codecs into this new OS (clean install over wiped HD).
    This appears to be the opposite of the problem most have been having, which is AE won't generate an alpha in ProRes 4444 without moving codecs and other nonsense.
    The reason this is a problem is because when I bring these Quicktimes with faux alphas into FCP for editing I can't export a reference movie.  FCP rewrites the whole timeline.
    Haven't these CS 5/ProRes 4444 codec/Alpha channel issues been going on for over a year?  Do I have to buy CS 5.5 to get this to work correctly?
    Thanks.
    Shawn Marshall
    Marshall Arts Motion Graphics

    PR422HQ is way overkill for 99% of the video and film producers in the world. It's there for a specific elite of the entertainment biz, those who work in 4k on 64bit systems, I guess, that' ain't me! It's one of those "if you have to ask, you can't use it" sort of things. Anyone who uses the advanced features of the ProRes family knows why. That's the theory. In my practical experience over on the FCP forum at Apple, 99% of those using ProResHQ believe they are improving their original footage.
    Apple ProRes 4444 
    The Apple ProRes 4444 codec offers the utmost possible quality for 4:4:4 sources and for workflows involving alpha channels. It includes the following features:
    Full-resolution, mastering-quality 4:4:4:4 RGBA color (an online-quality codec for editing and finishing 4:4:4 material, such as that originating from Sony HDCAM SR or digital cinema cameras such as RED ONE, Thomson Viper FilmStream, and Panavision Genesis cameras). The R, G, and B channels are lightly compressed, with an emphasis on being perceptually indistinguishable from the original material.
    Lossless alpha channel with real-time playback
    High-quality solution for storing and exchanging motion graphics and composites
    For 4:4:4 sources, a data rate that is roughly 50 percent higher than the data rate of Apple ProRes 422 (HQ)
    Direct encoding of, and decoding to, RGB pixel formats
    Support for any resolution, including SD, HD, 2K, 4K, and other resolutions
    A Gamma Correction setting in the codec’s advanced compression settings pane, which allows you to disable the 1.8 to 2.2 gamma adjustment that can occur if RGB material at 2.2 gamma is misinterpreted as 1.8. This setting is also available with the Apple ProRes 422 codec.
    Apple ProRes 422 (HQ)
    The Apple ProRes 422 (HQ) codec offers the utmost possible quality for 4:2:2 or 4:2:0 sources (without an alpha channel) and provides the following:
    Target data rate of approximately 220 Mbps (1920 x 1080 at 60i)
    Higher quality than Apple ProRes 422
    Apple ProRes 422
    The Apple ProRes 422 codec provides the following:
    Target data rate of approximately 145 Mbps (1920 x 1080 at 60i)
    Higher quality than Apple ProRes 422 (LT)
    Apple ProRes 422 (LT)
    The Apple ProRes 422 (LT) codec provides the following:
    Roughly 70 percent of the data rate of Apple ProRes 422 (thus, smaller file sizes than Apple ProRes 422)
    Higher quality than Apple ProRes 422 (Proxy)
    Apple ProRes 422 (Proxy)
    The Apple ProRes 422 (Proxy) codec is intended for use in offline workflows and provides the following:
    Roughly 30 percent of the data rate of Apple ProRes 422
    High-quality offline editing at the original frame size, frame rate, and aspect ratio
    High-quality edit proxy for Final Cut Server
    The Apple ProRes family of codecs provides these advantages:
    Quality indistinguishable from that of the most pristine sources: Maintains superb quality even after multiple encoding/decoding generations.
    Mastering-quality 4:4:4:4 RGBA: Provides a lossless alpha channel with real-time playback (Apple ProRes 4444 only). Mastering-quality 4:4:4 Y′CBCRcolor and 4:2:2 Y′CBCR color are also available.
    The quality of uncompressed HD at data and storage rates lower than those of uncompressed SD: Provides real-time editing performance comparable to or better than that of any other HD codecs in Final Cut Pro.
    Apple ProRes encoding at any frame size—SD, HD, 2K, 4K, or other: Apple ProRes codecs can also be encoded into nonstandard frame sizes, but nonstandard frame sizes are not supported for real-time playback in Final Cut Pro.
    Variable bit rate (VBR) encoding: “Smart” encoding analyzes the image. Efficiency is increased because excess bits are not wasted on simple frames.
    10-bit sample depth: Preserves subtle gradients of 10-bit sources (sunsets, graphics, and the like) with no visible banding artifacts. When you import a file using an Apple ProRes codec, you don’t have to first determine whether the file is an 8-bit or 10-bit file. Apple ProRes codecs always preserve the bit depth of your original source files.
    I-frame–only (intraframe) encoding: Ensures consistent quality in every frame, with no artifacts from complex motion, and speeds up editing.
    Fast encoding and decoding: Delivers high-quality, real-time playback and faster rendering times.
    Equipment affordability: Because of low bit rates, you can edit more streams with more real-time effects on slower drives, or have more users accessing the same media over shared storage devices.
    Workflow options for any video format that does not have native Final Cut Pro support: The Apple ProRes format provides an effective workflow for projects involving multiple acquisition formats when you want to standardize on a single codec.
    Better rendering for native editing: Can be used to render long-GOP MPEG-2 formats (such as HDV and XDCAM HD) to speed up editing and avoid MPEG-2 reencoding artifacts before output.

  • Keys in CS-5 - Save Alpha Channel AVI

    Hello. I go shoot keys with green screen. On Location is good for some of that, but I have to remember to adjust the sound level next time. To show kids who did the scripts, I used the CS3 Ultra to quick ket a sample and dump on a background like we plan to use.
    When I get into Premiere CS-5 I want to pick the take I like, trim the ends, key to transparent and save as an AVI with alpha channel. Liked the Ultra keyer when it was separate, but not sure about CS5 one, as controls were better organized in the CS3 version **.
    1) Do I need to set up a line on timeline as alpha channel, in order to save same? If so which one?  These are just keyed person with clear BK.
    2) Please help me with the settings so someone who makes the final steps, I think in another program, can open up the AVI files and have a good key to finish off. So far I haven't found one that will let me tick alpha channel to save.
    **Yes i should find the Premiere fix list and ask for an ULTRA pop up of the CS3 design, if they are going to keep in Premiere.
    3    PS)  Does Adobe have a set of books for the CS5 programs? When i got CS3 they offered me a deal to take the books. Saved me many times to be able to flip pages to find answers. Even a PDF of same might speed things along.

    Look here for the steps to export an AVI with alpha: exporting video with an alpha channel (transparency)
    I don't think you'll ever see Ultra as a standalone program again, as it's now integrated into Premiere Pro as an effect. I never used Ultra CS3, as I thought it was too rinky-dink, but the CS5 version is quite nice and easy-to-use (and get a great key) in most instances. It's not bulletproof, but Keylight in AE takes care of the more troublesome keys.
    You can download a PDF of the help document for a particular application by going to the online version of the help docs, and clicking the PDF link in the upper-right corner. You can get Premiere Pro CS5's PDF right here: Adobe Premiere Pro CS5
    You should also have the Community Help application installed along with the CS5 suite. If it doesn't open when you hit F1 within your app of choice, it should be available in the suite's application folder. It works well, and the help is updated frequently.

  • Copying an alpha channel from one comp to another?

    I've created a green screen key using Primatte in one comp, and I want to use that same key in another comp, but where the background has since been replaced and rendered out with an effect I want to keep on the foreground subject. I bet it's something simple...
    Actually I bet that explanantion's confusing.
    Subject X is against green in a video in comp A.
    X was extracted using a key and rendered with an effect and a new background to creat video B.
    I want to extract subject X from B (and keep the new effect) using the alpha channel created in comp A.
    So how do I copy and paste the alpha channel from comp A to a new comp with video B in it?
    Cheers! 

    Pre-compose, use as a matte layer.
    Mylenium

  • How do I add a new alpha channel in pse9?

    where would I find the channel tab for pse3? I would like to use a black, white gradient and the lens blur to give a picture depth. I would like to make things in the background look farther away with a gradual blending effect of the lese blur. thank you in advance!

    You make a selection, then save it as a new selection.
    However, I'm not at all clear as to why you need to do this. For what you described in your first post, grouped/clipped layers would work better.
    I myself only make alpha channels per se when other programs require them. (If you load the saved selection, then save the file with the selection active, it will be seen as an alpha channel by many programs).

  • Are Quicktimes with alpha channel gone in Keynote 6.0?

    Say it aint so. This is a very crucial feature of the app for my company.

    While presenting from an iOS device is certainly useful, I want to be able to do the best presentations possible. Looks like Keynote 5.3 will be the tool of choice for some time yet.
    Keynote 6, while a step forward for maybe 99% of users (that don't want to care about what works and what doesn't on various platforms), is a major leap backwards for the professional presentation business.
    Time for Apple - or perhaps better yet, some third party - to make a Keynote Pro and make it desktop only, if that's what it takes. Bring back the larger choice of transitions, support for QuickTime alpha channels and dynamic Quartz Compositions, interaction with master slide objects and mixing of themes in the same presentation. And don't stop there:
    Add parallell layers or tracks, so that some visuals or audio can play uninteruppted over several slides.
    Add dynamic inputs, so a text and media fields can be populated by tweets or other RSS feeds.
    Add a proper theme editor, so you easily can change various defaults and maybe add custom border styles and stuff.
    Make the presenter's display more flexible, and allow for (simple) editing of slides while running the show.
    Phil Schiller may have the time and resources to let 3D animators render full frame wow!-inducing movies-as-transitions, but isn't it better to have more power within the application itself? And with Keynote 6, some of that power is gone.
    Maybe it'll be like with FCP X, where some of the lost features of the previous version got added back in an update. But as with anything Apple, who knows?

  • Importing .bmp with alpha channel

    Is there a difference between the way that the Windows and
    Mac versions of Flash 8 Pro handle alpha channels on .bmp files? We
    are working with a .fla that was created in the Windows version of
    Flash 8, but we are editing it with the Mac version. When we import
    the .bmp files that we made on our Mac, the alpha channels don't
    show up. But the same .bmp files that were imported with the
    Windows version do display their alpha channels. We had to change
    the format to .tif in order to avoid "losing" the alpha channel.
    Can anyone shed any light on this? Thanks!

    Use PNG-24.
    Chris Georgenes
    Animator
    http://www.mudbubble.com
    http://www.keyframer.com
    Adobe Community Expert
    *\^^/*
    (OO)
    <---->
    masterys wrote:
    > Is there a difference between the way that the Windows
    and Mac versions of
    > Flash 8 Pro handle alpha channels on .bmp files? We are
    working with a .fla
    > that was created in the Windows version of Flash 8, but
    we are editing it with
    > the Mac version. When we import the .bmp files that we
    made on our Mac, the
    > alpha channels don't show up. But the same .bmp files
    that were imported with
    > the Windows version do display their alpha channels. We
    had to change the
    > format to .tif in order to avoid "losing" the alpha
    channel. Can anyone shed
    > any light on this? Thanks!
    >

  • Question: Quick Look in Finder; problems with alpha channels

    Hi
    "Quick look" in Finder is great for quick presentations of a folders selected contents but it only works with images that contains no alpha channels or masks. Is there any way to work around this to display say PhotoShop documents with alpha channels? Or any plug-ins/applications that can help?
    thanks.

    This has been broken forever in OS X, and I don't know why, because it used to work just fine. I suspect the engineers did something to QuickTime that causes this problem, but it has been borked for so long I don't remember when the ability to correctly display files went wrong. I just remember that once upon a time all sorts of things from Apple worked correctly in displaying such files, but pretty much nothing does now. This includes the Finder, Preview, QuickLook, and various third-party image browsers that use Apple's own system level image handling abilities, such as VitaminSee or CocoaViewX. When I need to actually see what's there, I browse with Adobe's Bridge.
    Francine
    Francine
    Schwieder

  • InDesign CS5 will not import Alpha Channels from images saved in Photoshop CS6

    Just searched through the forums to find this thread in the (now-Read Only) Photoshop CS6 Beta forum:
    http://forums.adobe.com/message/4310886
    Which is exactly the same issue I'm having. I just cropped about a 1000 images with alphas originally created in PS5 and resaved using PS6.
    My client still uses CS5 and the images won't recognize the alpha channels in inDesign5.
    I see in this thread that it said a fix for older versions of inDesign was being worked on, this was back in April.
    Any news on these fixes? (before I open PS5 and resave all these files)

    Hi Peter,
    The images in question all use alpha channels to mask out the image backgrounds (usually white) in InDesign layouts.
    I opened the images in PS6 to crop out excess background (to get file size down) and saved the new files.
    When I go to import the images one by one into InDesign 5 (via Cmd-D, Import options ticked) the Alpha Channel pull down menu is greyed out and I'm unable to select the Alpha Channel.
    If I open the image in PS5 and resave, I'm then able to access the Alpha channels in ID5... but that's a lot of images to go back through to fix.
    I also tried opening the layout in ID6 (where the alpha channels do work) and saving down to the idml format. When opening up in ID5 the alpha channel is no longer recognized and the background of the image that was masked out is now visible.
    Cheers,
    Alan

  • What codec to convert .MXF and MP4 files into to use with alpha channels in Ae and Pr CS6?

    When I import .mxf File, shot on a Canon C300, into after effects, the alpha channel options are greyed out, when I look in, interpret footage, main. This also is the case importing .MP4 files, shot on a Gopro hero 3. I used to use final cut and using compressor convert the files to pro res 4444 or 422. What's my new workflow for preparing files with alpha channels to use in After Effect and Premiere and do I use Media Encoder to do it?

    When I import .mxf File, shot on a Canon C300, into after effects, the alpha channel options are greyed out, when I look in, interpret footage, main. This also is the case importing .MP4 files, shot on a Gopro hero 3.
    Better question: Where do you expect that Alpha channel to come from and contain any useful info for transparency? You're making a fuss over a non-issue. Unless you apply keying or other methods of creating transparency, even if there were an Alpha channel it would be fully opaque and then what's the point?
    Mylenium

Maybe you are looking for

  • HT4623 what do i do if there is no software update tab in my settings on my ipod touch

    what do i do if there is no software update tab in my settings on my ipod touch?

  • Need Unlock code for 5230 3G

    Hi,           My friend has gifted me Noika 5230 3G bought from UK. Problem its locked. My IMEI No.: Can you please assist me in this matter. Appreciate your response. Thanks, Kayshap Moderator's Note Post Editted PM Sent to user "Please be informed

  • Context menu: How to add "write_review"?

    Hi there, I have created a taxonomy based navigation iview, which shows about 20 documents. I would like to give feedbacks to these documents via the conext menu, so I added the command "write_review" to the corresponding resource command group. Unfo

  • DGW and using the BP Properties options confusion

    Scenario: I have two different document generation sets saved: DGW is run and save with name name1and it using BP Selection Criteria with  the BP properties button set to use "And with properties 1 checked." DGW is run again and save with name2 and i

  • Could not update my phone

    Every time i try to update my phone, the phone gets disconnected.......then it connects itself after few seconds......i tried for different mobile, but the problem presisted,........plz help me Attachments: 1.png ‏156 KB 2.png ‏155 KB