Image Manipulation in PHP with GD (Warren Uhrich)
Вставка
- Опубліковано 18 вер 2024
- Thursday, June 09, 2022 at 06:00 PM (Mountain Time)
Source: github.com/PHP...
For more information, please visit: phpadventures....
Topics:
‽ PHP's Graphics Draw (GD) Library
Resources:
‽ www.php.net/ma...)
‽ stackoverflow....)
‽ css-tricks.com...)
What do you want to see in our meetings? Please visit the phpadventures.com website and reach out via the contact form; let us know!
Thank you for putting so much effort into this! I'm working on a very specialised project that has me writing PHP for the first time in years. The project needs quite a bit of image processing and this has helped me get a good foundation on the topic and a good idea of where to go for the next steps!
sir, how about scaling down or compressing JPG images?
If someone didn't get an image in the *first example* maybe you got a typo in this line
define('ASSET_DIR', __DIR__ . DIRECTORY_SEPARATOR . 'assets');
after the __DIR__ there is a DOT [ . ], not a comma [ , ]🤦♂