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:Rangechecks size + pixel representation,Sizechecks size only. choose wisely, queen π
π SEE ALSO π
π 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 πππ¦
π¦ where this page comes from
- debian bookworm: libvistaio-dev 1.2.19-3 Β· libvista-orig
- debian trixie: libvistaio-dev 1.2.19-3+b2 Β· libvista-orig
- ubuntu jammy: libvistaio-dev 1.2.19-3 Β· libvista-orig
- ubuntu noble: libvistaio-dev 1.2.19-3 Β· libvista-orig
- ubuntu questing: libvistaio-dev 1.2.19-4
- ubuntu resolute: libvistaio-dev 1.2.19-4build1 Β· libvista-orig
- ubuntu stonking: libvistaio-dev 1.2.19-4build1 Β· libvista-orig
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms