6 Replies Latest reply on Sep 26, 2006 9:28 AM by Newsgroup_User

    Gradient Fill is Striped

    Tekneek Level 1
      I am trying to use a linear gradient fill on a shape, and it looks good until I preview and export. Then the gradient appears striped. If I export as .jpg , it looks ok, but if I export as .gif , it looks like crap. Any ideas, thanks!
        • 1. Re: Gradient Fill is Striped
          Level 7
          On 25 Sep 2006 in macromedia.fireworks, Tekneek wrote:

          > I am trying to use a linear gradient fill on a shape, and it looks
          > good until I preview and export. Then the gradient appears striped.
          > If I export as .jpg , it looks ok, but if I export as .gif , it
          > looks like crap. Any ideas, thanks!

          Export as .jpg?

          GIFs use a much smaller color space, leading to the kind of striping
          you're seeing in areas that have a gradient.

          What is this image being used for? Why do you need to use a .gif?

          --
          Joe Makowiec
          http://makowiec.net/
          Email: http://makowiec.net/email.php
          • 2. Re: Gradient Fill is Striped
            Tekneek Level 1
            I am using it for as a background for some small divs throughout my site, so I figure gif would be sufficient. It seems that many other examples of using gradient backrgounds that I have found also use the gif format.
            • 3. Re: Gradient Fill is Striped
              Level 7
              To my knowledge gifs and gradients have never mixed well.
              What is wrong with using a jpg, which as you've already discovered work fine
              with gradients?

              Peter
              __________________________
              "Tekneek" <webforumsuser@macromedia.com> wrote in message
              news:efa2n3$pcj$1@forums.macromedia.com...
              |I am using it for as a background for some small divs throughout my site,
              so I
              | figure gif would be sufficient. It seems that many other examples of
              using
              | gradient backrgounds that I have found also use the gif format.
              |


              • 4. Re: Gradient Fill is Striped
                Level 7
                On Tue, 26 Sep 2006 06:19:15 +0400, Tekneek <webforumsuser@macromedia.com>
                wrote:

                > I am using it for as a background for some small divs throughout my
                > site, so I
                > figure gif would be sufficient.

                Now you found out that this is not always true. Try setting the number of
                colors in GIF to maximum, that is, to 256. If it doesn't work, you may try
                increasing dither. If it doesn't work (or resulting file appear to be too
                big), you have no choice but using JPEG.

                --
                Ilya Razmanov
                http://photoshop.msk.ru - Photoshop plug-in filters
                • 5. Re: Gradient Fill is Striped
                  Level 7
                  As Peter says, gradients and GIFs don't mix. In fact, a jpeg gradient
                  tends to be smaller in file size as well as looking better


                  --
                  Jim Babbage - .:Community MX:. & .:Adobe Community Expert:.
                  Extending Knowledge, Daily
                  http://www.communityMX.com/
                  CommunityMX - Free Resources:
                  http://www.communitymx.com/free.cfm
                  ---
                  .:Adobe Community Expert for Fireworks:.
                  news://forums.macromedia.com/macromedia.fireworks
                  news://forums.macromedia.com/macromedia.dreamweaver


                  PJR wrote:
                  > To my knowledge gifs and gradients have never mixed well.
                  > What is wrong with using a jpg, which as you've already discovered work fine
                  > with gradients?
                  >
                  > Peter
                  > __________________________
                  > "Tekneek" <webforumsuser@macromedia.com> wrote in message
                  > news:efa2n3$pcj$1@forums.macromedia.com...
                  > |I am using it for as a background for some small divs throughout my site,
                  > so I
                  > | figure gif would be sufficient. It seems that many other examples of
                  > using
                  > | gradient backrgounds that I have found also use the gif format.
                  > |
                  >
                  >
                  • 6. Re: Gradient Fill is Striped
                    Level 7
                    Ilya Razmanov wrote:

                    > Now you found out that this is not always true. Try setting the number
                    > of colors in GIF to maximum, that is, to 256. If it doesn't work, you
                    > may try increasing dither.

                    Also check from your export options that you have "Adaptive" color
                    settings selected. The default "Web adaptive" has smaller colorspace
                    (less colors available) and your gradient may suffer from this, too.

                    But as everyone else has said, JPEGs are not evil - just be sure you
                    don't over-compress them.

                    -Saku