VistaIOSameImage(3)

πŸ’– VistaIOSameImage β€” the "are these two images twins?" check πŸ’–

okay so bestie, welcome to the Library Functions Manual corner of the universe πŸŽ€ this is page VistaIOSameImage(3) and it's literally just two tiny macros that go "hmm, are these two images the same tho?" and honestly? iconic of them.


✨ NAME ✨

VistaIOSameImageRange, VistaIOSameImageSize β€” test whether two images share certain properties πŸ¦‹


🌸 SYNOPSIS 🌸

#include <vistaio.h>

VistaIOBoolean VistaIOSameImageRange (image1, image2)
       VistaIOImage image1, image2;

VistaIOBoolean VistaIOSameImageSize (image1, image2)
       VistaIOImage image1, image2;

like, yes, that's the whole vibe. two macros, both hanging out in <vistaio.h>. no cap. πŸ’…


🫢 ARGUMENTS 🫢

  • image1, image2 β€” the two images whose properties are about to get compared. that's it, that's the whole job, they just sit there and get examined πŸ”βœ¨

πŸ’œ DESCRIPTION πŸ’œ

okay so here's the tea, bestie. β˜•

VistaIOSameImageRange hands you back TRUE when image1 and image2 have the same number of bands, rows, and columns, and the same pixel representation. anything off? it says FALSE. periodt. πŸŽ€

VistaIOSameImageSize is the chiller sibling β€” it returns TRUE when image1 and image2 have the same number of bands, rows, and columns. that's it. it does not care about pixel representation. if those three counts don't line up, you get FALSE. πŸ™ˆ

and here's the plot twist that lowkey matters: both of these are macros defined in <vistaio.h> β€” not full functions, macros. so don't go taking their address or anything weird, they're built different. πŸ’€

πŸ’‘ tiny summary for the girlies in a hurry: Range checks size + pixel representation, Size checks size only. choose wisely, queen πŸ‘‘

🌈 SEE ALSO 🌈

VistaIOImage(3),


πŸ‘‘ AUTHOR πŸ‘‘

Art Pope <pope@cs.ubc.ca> πŸ’–

Adaption to vistaio: Gert Wollny <gw.fossdev@gmail.com> 🫢


and that's the whole page babes!! this was VistaIO Version 1.2.14, dated 24 April 1993 (yes she's vintage, yes she still slays πŸ’…βœ¨), from the VistaIOSameImage(3) girlies with love. mwah πŸŽ€πŸ’–πŸ¦‹