Return-Path: Received: from mail-vc0-f178.google.com ([209.85.220.178] verified) by media-motion.tv (CommuniGate Pro SMTP 4.2.10) with ESMTP-TLS id 5260455 for AE-List@media-motion.tv; Mon, 21 Oct 2013 21:23:54 +0200 Received: by mail-vc0-f178.google.com with SMTP id lh4so832853vcb.23 for ; Mon, 21 Oct 2013 12:24:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-type; bh=Rv/wWqjrvBuEGFnYLy0hrJ2GDJlzytvEj/3iLdr5N5s=; b=D2B/Swm8llNaSP7t6UlI5TwKa/wrYa9T3YL4vgyd7dN5Ck9lox/EylNA5iSVghnIbZ moNNHRiK6DFoCzSiqulwu+bBpDcOSyxrWEJ05mXQbfw3TzFBNMfZVqQx/yzHglqqPdbw DzPFCn1VM/ELLlORUiRI5AJOjv09C2Wx+YaoPlp9A8XwAAfY/pUiYEUgvdbiHaKjjwkx bVz3BubTQUGh1tCGASM6DZ4PCbuFE9oU2gW0TJJ+HbIiZQmiVmYVFiyOUSzrPfzGQHZn sfJPnMlhOdD33q+1J+bhGn3mgZ1GkGR+V9r7wUTPhQT3joZTB27rxjgv8sn9rjIH2Jzs 8QKA== X-Gm-Message-State: ALoCoQmUcAGO1AVuf9Z2K4OgfWmI3/nBlMlwTSSnzm38b/+A8exgKARyQzWh3GyfuPPCrXaOi9R/ X-Received: by 10.221.58.212 with SMTP id wl20mr2184824vcb.19.1382383491637; Mon, 21 Oct 2013 12:24:51 -0700 (PDT) MIME-Version: 1.0 Received: by 10.58.45.66 with HTTP; Mon, 21 Oct 2013 12:24:31 -0700 (PDT) From: Robert Kjettrup Date: Mon, 21 Oct 2013 21:24:31 +0200 Message-ID: Subject: fun little RGB bar graph readout setup To: After Effects Mail List Content-Type: multipart/alternative; boundary=001a11335e5cf671d404e9453c7d --001a11335e5cf671d404e9453c7d Content-Type: text/plain; charset=ISO-8859-1 Hi Last week i did a small modification of an expression that Todd Kopriva had done some time ago to make an RGB readout in a text layer: http://blogs.adobe.com/aftereffects/2009/07/color-sampler-using-sampleimag.html Well i thought it would be a fun little exercise to read up and learn some more on the expression syntax, and added some features to this expression: - A slider to adjust the sample area - A shape layer that acts as a bar graph of the sampled color making it much easier to analyze a colorcast. - Support for overbights in 32bit, with a small indicator when a color clips - switch between 2 different numerical value readout (0-255, or 0-1) The workflow is as follows: - make an adjustment layer - any shape layer just above the adjustment layer - any text layer above the shape layer - apply the preset "RGB readout Control Layer" to the adjustment layer - apply the preset "RGB(A) readout Bars" to the shapelayer - apply the preset "RGB(A) readout Text" to the text layer and use the controls on the adjustment layer to move the sample point and area. There is a few options on the text and shape layer too. Download here, along with a quick screenshot to visually demonstrate the setup: https://drive.google.com/folderview?id=0B-UMimC9ZVFCU1hndWVGX1FXdFU&usp=sharing Its not the most elegant solution and the workflow can easily break because it depends on 3 layers be just above eachother, but i thought it might be some use for someone on the AE-list, so i could just as well share. It also have a few not so elegant features: the alpha is also area sampled like the color and that doesnt make that much sense if a large area is used. I couldnt figure out a nice way to have a checkbox for turning the alpha readout on and off, so there is a seperate preset for RGB and RGBA. If you need mulitple color samples you just copy the 3 layers together, I actually had a good use for it today comparing coloradjustments :-) Hope anyone also could find this useful... enjoy :-) - Robert --001a11335e5cf671d404e9453c7d Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi

Last week i did a small m= odification of an expression that Todd Kopriva had done some time ago to ma= ke an RGB readout in a text layer:

Well i thought it would be a fun little exercise = to read up and learn some more on the expression syntax, and added some fea= tures to this expression:
- A slider to adjust the sample area
- A shape layer that acts as a bar graph of the sampled color making i= t much easier to analyze a colorcast.
- Support for overbights in= 32bit, with a small indicator when a color clips
- switch betwee= n 2 different numerical value readout (0-255, or 0-1)

The workflow is as follows:
- make an adj= ustment layer
- any shape layer just above the adjustment layer
- any text layer above the shape layer
- apply the prese= t "RGB readout Control Layer" to the adjustment layer
- apply the preset "RGB(A) readout Bars" to the shapelayer
- apply the preset "RGB(A) readout Text" to the text lay= er

and use the controls on the adjustment layer to= move the sample point and area.=A0
There is a few options on the text and shape layer too.

=
Download here, along with a quick screenshot to visually demonst= rate the setup:

Its not the most elegant solution and the wo= rkflow can easily break because it depends on 3 layers be just above eachot= her, but i thought it might be some use for someone on the AE-list, so i co= uld just as well share.
It also have a few not so elegant features: the alpha is also area sam= pled like the color and that doesnt make that much sense if a large area is= used. I couldnt figure out a nice way to have a checkbox for turning the a= lpha readout on and off, so there is a seperate preset for RGB and RGBA.

If you need mulitple color samples you just copy the 3 = layers together, I actually had a good use for it today comparing coloradju= stments :-)

Hope anyone also could find = this useful... enjoy :-)

- Robert


--001a11335e5cf671d404e9453c7d--