- Import the gif file into the workspace.
- Grab the axes object of the gif.
- Set axes position something like below
How to increase gif quality or resolution in Matlab
11 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Dear friends, I was trying use imwrite to export the gif file, but I found it's hard to increase the resolution of it. How could I increase the quality of gif?
0 commentaires
Réponses (1)
Rishabh Mishra
le 2 Sep 2020
Hi,
GIF use a lossless compression. Therefore, you cannot change the "quality" of gifs. However, you can change the size of the frame of the gif with the steps below:
>> axes('Units', 'pixels', 'Position', [10, 10, 100, 200]);
The above code sets position units to ‘pixels’ & position as ‘[10, 10, 100, 200]’.
2 commentaires
Voir également
Catégories
En savoir plus sur Creating, Deleting, and Querying Graphics Objects dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!