Saved images colors not accurate
Mostra commenti meno recenti
Hi, in R2010a, why when I save my figures in different image formats (png, jpg, bmp, etc.), my blue curves become purples? This is very annoying. Thanks for your help!
1 Commento
Roque Cespedes
il 13 Set 2012
Modificato: Roque Cespedes
il 13 Set 2012
Risposta accettata
Più risposte (2)
Walter Roberson
il 13 Set 2012
1 voto
How is the saving being done? Is it the figure or the plot that is saved or is it an image? In particular, if you are saving a pseudocolor image using imwrite() then you need to pass in the colormap to imwrite()
1 Commento
Roque Cespedes
il 13 Set 2012
Modificato: Roque Cespedes
il 13 Set 2012
Image Analyst
il 13 Set 2012
0 voti
The only way I can see that happening is with jpg files where the image is compressed and you get funny colors and jpeg artifacts. BMP and PNG are lossless so you won't notice any color changes. If you think you do, write a small script to prove it to me.
1 Commento
Roque Cespedes
il 13 Set 2012
Modificato: Roque Cespedes
il 13 Set 2012
Categorie
Scopri di più su Purple in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!