Search the Community
Showing results for tags 'jpeg'.
-
Hi. Can I ask why this happens? When I upload a jpg, the meta keywords and description of the file loses the accents and spanish symbols of the words. Original image on the left, and the image generated by PW on resize on the right. This happens on resize. The uploaded file is ok. How can I control which meta keep in the photo? Thanks a lot (and sorry for my English)...
-
Can I convert uploaded images to PNG, GIF, BMP -> JPEG? Is there any function in the API that I can change the file type?
-
Hi, I can't get this script to work. I'm simply trying to generate the first page of a PDF from a file fieldtype. I keep getting an error message like this: "Error: Exception: Unable to read the file: …". The path to the PDF seems correct to me. foreach($page->datei as $publikation){ if($publikation->ext === "pdf"){ $file = $publikation->url; $im = new Imagick(); $im->setResolution(300, 300); $im->readImage($file . '[0]'); $im->setImageFormat('jpg'); header('Content-Type: image/jpeg'); echo $im; } } Any idea what I'm doing wrong here? Thanks!
-
This may be of interest for anybody seeking for ways to compress images. Google open sourced a new JPEG encoder „Guetzli“ (catchy name): Announcement GitHub repository I am not quite sure, how this new JPEG encoder could be used except with the command line. Maybe some apps (f. e. ImageOptim) will implement it in their interfaces or maybe it could be used with an module? Haven't even tried it out yet and it sounds performance intensive, but I am glad that they sticked with JPEG and didn't introduced another exotic format. Regards, Andreas