title: php imagick paste images blur and soft after resize problem
body: <p>I tried use imagick class in laravel 8 and paste multi images but after one photo the others get blur and soft. i think filter problem but i could not find the correct way to fix. How can i solve this problem?</p>
  <pre><code>  use Imagine\Image\Box;
      use Imagine\Image\Palette\RGB;
      use Imagine\Image\Point;
      use Imagine\Image\Point\Center;
      use Imagine\Imagick\Imagine;
      use Imagick;  
  
    const COLLAGE_W = 1181;
    const COLLAGE_H = 1772;
    const IMAGE_W = 590;
    const IMAGE_H = 709;
    const IMAGE_1_Y = 90;
    const IMAGE_2_Y = 889;
    const FORMAT = 'jpeg';
  
          public function IkiliPhoto(){
  
              $path = &quot;upload/okul/gecici_dosya/&quot;;
  
              $images=[];
              $yazi = [];
              $fotograf = Fotograf::where(&quot;okul_id&quot;, session()-&gt;get('session_sinif_id'))-&gt;get();
  
              foreach($fotograf as $foto){
  
                  $images[] = $foto[&quot;resim&quot;];
                  $yazi[] = $foto[&quot;ogrenci&quot;][&quot;isim&quot;]. &quot; &quot;. $foto[&quot;ogrenci&quot;][&quot;soyisim&quot;];
  
              }
  
             $imagine = new Imagine;
  
               foreach (array_chunk($images, 2, true) as $imageRow) {
  
                  foreach ($imageRow as $key =&gt; $image_path) {
                      $collageBox = new Box(self::COLLAGE_W, self::COLLAGE_H);
                      $collageCenter = new Center($collageBox);
                      $collage = $imagine-&gt;create($collageBox);
  
                      $palette = new RGB();
  
                      $font = $imagine-&gt;font(public_path('/fonts/tahoma.ttf'), 30, $palette-&gt;color('#000'));
  
                      $y = self::IMAGE_1_Y;
                      $image = new Imagick($image_path);
                      $photo = $imagine-&gt;load($image-&gt;getImageBlob());
                      $photo-&gt;resize(new Box(self::IMAGE_W, self::IMAGE_H));
  
                      $collage-&gt;paste($photo, new Point(0, $y));
                      $collage-&gt;paste($photo, new Point($collageCenter-&gt;getX(), $y));
  
                      $collage-&gt;save($path .&quot;/&quot;. $key.'.jpg');
                      $y = self::IMAGE_2_Y;
  
                  }
              }
          }
  </code></pre>
  <p>i just want get clear photos by paste. Regards.</p>