title: How to increase resolution of exported image in Google Earth Engine?
body: <p>I have some code to export an LS8 image to Drive using GEE. Somehow, the resolution of the image seems to be lower (larger pixels) than what I am able to see on the browser. How can I increase the resolution? This is the code I´ve been using, with two different options.</p>
  
  <p>I attempted to use <code>.resample()</code> as a solution but it produced a single band image that did not look good. </p>
  
  <pre class="lang-js prettyprint-override"><code>     geometry2 = /* color: #57d64b */ee.Geometry.Polygon(
          [[[-78.2812086867645, 2.3386717366200585],
            [-77.56984394067075, 2.3729749945579948],
            [-77.72227924340513, 2.776314152654142],
            [-78.20842426293638, 2.725560942159387]]]);
  
      function maskL8sr(image)
  
   {
        // Bits 3 and 5 are cloud shadow and cloud, respectively.
        var cloudShadowBitMask = ee.Number(2).pow(3).int();
        var cloudsBitMask = ee.Number(2).pow(5).int();
  
        // Get the pixel QA band.
        var qa = image.select('pixel_qa');
  
        // Both flags should be set to zero, indicating clear conditions.
        var mask = qa.bitwiseAnd(cloudShadowBitMask).eq(0)
            .and(qa.bitwiseAnd(cloudsBitMask).eq(0));
  
        // Return the masked image, scaled to TOA reflectance, without the QA bands.
        return image.updateMask(mask).divide(10000)
            .select("B[0-9]*")
            .copyProperties(image, ["system:time_start"]);
      }
  
      // Map the function over one year of data.
      var collection = ee.ImageCollection('LANDSAT/LC08/C01/T1_SR')
          .filterDate('2016-04-01', '2018-7-31')
          .map(maskL8sr)
  
      var composite = collection.median();
  
      var VIS = {bands: ['B5', 'B6', 'B4'], min: 0, max: 0.47};
  
      // Display the results.
      Map.addLayer(composite,VIS ,"compt2");
  
  
  
  
      var params ={
            crs: 'EPSG:4326',
            maxPixels: 1e12,
            region:geometry2
          }
  
      Export.image(composite,'Guapi',params);
  
      Export.image.toDrive({
        image: composite,
        description: 'Guapi',
        scale: 30,
        region: geometry2,
        maxPixels: 1000000000
      });    
  </code></pre>