Tagged articles
8 articles
Page 1 of 1
php Courses
php Courses
Jan 5, 2026 · Backend Development

Master PHP Image Processing: Crop, Resize, Rotate & Watermark with Code Samples

Learn how to use PHP's built-in image functions—imagecrop, imagecopyresized, imagecopyresampled, imagerotate, and imagestring—to crop, resize, rotate, and add watermarks to JPEG images, with clear code examples and memory‑management tips for reliable image manipulation.

Image ProcessingWatermarkcropping
0 likes · 4 min read
Master PHP Image Processing: Crop, Resize, Rotate & Watermark with Code Samples
Goodme Frontend Team
Goodme Frontend Team
Nov 18, 2024 · Frontend Development

Add Rotation and Scaling to Video Previews with React and Vime

This article explains how to implement video rotation, fullscreen handling, and proportional scaling in a React application using the Vime library and CSS transforms, covering container setup, control customization, and code examples for a seamless user experience.

CSS transformfrontendrotation
0 likes · 10 min read
Add Rotation and Scaling to Video Previews with React and Vime
DaTaobao Tech
DaTaobao Tech
Aug 8, 2022 · Game Development

2D Vector Rotation: Theory and Implementation

Rotating a 2‑D vector is performed by multiplying it with the matrix [[cos θ, ‑sin θ],[sin θ, cos θ]], yielding the new coordinates (x cos θ ‑ y sin θ, x sin θ + y cos θ); a short JavaScript function implements this, turning [3,2] into [‑2,3] for a 90° counter‑clockwise rotation and also rotates the basis vectors.

2DVectormath
0 likes · 8 min read
2D Vector Rotation: Theory and Implementation
MaGe Linux Operations
MaGe Linux Operations
Jun 5, 2021 · Game Development

How to Build a Missile Auto‑Tracking System in Python with Pygame

This article explains the mathematics and step‑by‑step Python implementation of a missile auto‑tracking algorithm for shooting games, covering time‑slice integration, angle calculation, coordinate updates, image rotation handling, and provides complete, runnable Pygame code.

Game DevelopmentMissile TrackingPygame
0 likes · 9 min read
How to Build a Missile Auto‑Tracking System in Python with Pygame
Meitu Technology
Meitu Technology
Apr 27, 2018 · Frontend Development

Front-End Image Processing: Scaling, Cropping, and Rotation with Canvas

This article explains how to perform essential front‑end image processing with the HTML5 canvas—handling cross‑origin loading, ensuring images are fully loaded, then scaling, cropping, and rotating them while preserving aspect ratio and exporting the results as base64 strings, laying groundwork for later composition techniques.

Canvascroppingfrontend
0 likes · 10 min read
Front-End Image Processing: Scaling, Cropping, and Rotation with Canvas
360 Quality & Efficiency
360 Quality & Efficiency
Jan 3, 2018 · Mobile Development

Analyzing and Extending Minicap for Dynamic Resolution and Rotation Handling

This article introduces the open‑source Android screen‑capture tool Minicap, examines its architecture and command‑line usage, and details code modifications that enable real‑time rotation detection, dynamic resolution changes, and inclusion of rotation metadata in the image stream for more reliable remote device display.

AndroidNDKclient-server
0 likes · 12 min read
Analyzing and Extending Minicap for Dynamic Resolution and Rotation Handling