Akelos Framework v1 forum archive. This forum is no longer maintained. To report bugs please visit https://github.com/akelos/akelos/issues
    • CommentAuthorkkrzyzak
     
    Hi.
    I'm trying to resize .png image with transparent background - however, thumbnail has black background.
    My code:

    $Image = new AkImage();
    $Image->load($this->image_path);
    $Image->transform('resize',array('size'=>'46x'));
    $Image->save();

    Any hints will be greatly appreciated
    Sorry for my language errors - English isn't my native lang.
    •  
      CommentAuthorbermi
     

    Akelos does not keep png transparency on Image transformations yet. On the mean time you might use this simple function