1 Reply Latest reply on Jun 22, 2009 2:16 PM by AIF Bob

    Convert input float to 4 bytes

    polovaikin

      Hi,

       

          input image1 src;
          output pixel4 result;

       

          void
          evaluatePixel()
          {
           
              float f = sample(src, outCoord());

       

      How can I get 4 bytes from this float? Is it possible?

       

      Thanks.