PHP image processing
Image processing is also one of the things that PHP often encounters in actual work, which is processing pictures.
There are many scenarios for processing pictures:
- Generate verification code
- Picture scaling
- Picture watermark
- Secret password card
- Histogram
... ...Wait
1. Generate verification code
2. Image scaling
#Note: The avatar in the experiment was originally a large image, but became a small avatar in Weibo.