Welcome Guest, Not a member yet? Register   Sign In
Compress image with ci 4 library removes png transparency and Incorrect APP1 Exif
#1

(This post was last modified: 01-27-2021, 05:29 AM by Kohryu. Edit Reason: added more issue )

I am using compress image from codeigniter 4 library with below code :
Code:
\Config\Services::image()->withFile($this->request->getFile('storeimage'))->reorient()->save('images/store/test.png', 70)


But it removes transparency png image. Can i compress png image without losses the transparency in ci 4?

and also for some image i hit error below :
("exif_read_data(php3CBA.tmp):Incorrect APP1 Exif Identifier Code")
Reply


Messages In This Thread
Compress image with ci 4 library removes png transparency and Incorrect APP1 Exif - by Kohryu - 01-27-2021, 12:08 AM



Theme © iAndrew 2016 - Forum software by © MyBB