Move an image along a trajectory
Version 1.3.1 (2,68 MB) von
Peter Seibold
An (transparent or animated) image moves along a trajectory in front of a background image. Output is an animated GIF, PNG or MP4 file.
1 Features
- Move a small (partly transparent) image on top of a background image along a trajectory.
- Have two points of the small image glide along the trajectory.
- Rotate the small image accordingly.
- Process also animated GIF or APNG small images.
- Output as GIF or APNG file or MP4 video.
- All inputs for ‘moveImage’ are optional and explained in the file itself.
- No toolbox required
Six examples are included in the submission.
For details see the enclosed pdf document
2 Requirements
For reading and writing animated PNG files you need to download two exe-files:
and put the exe-files in the same folder as ‘moveImage.m’.
Zitieren als
Peter Seibold (2026). Move an image along a trajectory (https://de.mathworks.com/matlabcentral/fileexchange/180355-move-an-image-along-a-trajectory), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Erstellt mit
R2024b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxTags
Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
moveImage250331
moveImage250331/examples
| Version | Veröffentlicht | Versionshinweise | |
|---|---|---|---|
| 1.3.1 | New introduction image. |
||
| 1.3.0 | Removed bug for gay scaled images. |
||
| 1.2.0 | The interpolation for the rotation of the transparency is forced to 'nearest'. In most cases 'nearest' is visually better than 'bilinear' or 'cubic'. |
||
| 1.1.0 | Removed a major bug when a small image has no transparency. |
||
| 1.0.1 | removed a typing error in summary. |
||
| 1.0.0 |
