Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/07/24 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Il n'y a pas l'information dont j'ai besoin","missingTheInformationINeed","thumb-down"],["Trop compliqué/Trop d'étapes","tooComplicatedTooManySteps","thumb-down"],["Obsolète","outOfDate","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Mauvais exemple/Erreur de code","samplesCodeIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2025/07/24 (UTC)."],[],[],null,["# ImageProperties\n\npublic abstract class **ImageProperties** \nGroups a set of properties to describe how an image is stored. \n\n### Public Methods\n\n|--------------|----------------------------------------------------------------------------------------------------------------------------------------------|\n| abstract int | [getImageFormat](/edge/api/tflite/java/com/google/android/odml/image/ImageProperties#getImageFormat())() Gets the pixel format of the image. |\n| abstract int | [getStorageType](/edge/api/tflite/java/com/google/android/odml/image/ImageProperties#getStorageType())() Gets the storage type of the image. |\n| abstract int | [hashCode](/edge/api/tflite/java/com/google/android/odml/image/ImageProperties#hashCode())() |\n\n### Inherited Methods\n\nFrom class java.lang.Object \n\n|----------------------------------------------------------------------------------|--------------------------------------------------------------------------------------|\n| boolean | equals([Object](https://developer.android.com/reference/java/lang/Object.html) arg0) |\n| final [Class](https://developer.android.com/reference/java/lang/Class.html)\\\u003c?\\\u003e | getClass() |\n| int | hashCode() |\n| final void | notify() |\n| final void | notifyAll() |\n| [String](https://developer.android.com/reference/java/lang/String.html) | toString() |\n| final void | wait(long arg0, int arg1) |\n| final void | wait(long arg0) |\n| final void | wait() |\n\nPublic Methods\n--------------\n\n#### public abstract int\n**getImageFormat**\n()\n\nGets the pixel format of the image. \n\n##### See Also\n\n- [MlImage.ImageFormat](/edge/api/tflite/java/com/google/android/odml/image/MlImage.ImageFormat) \n\n#### public abstract int\n**getStorageType**\n()\n\nGets the storage type of the image. \n\n##### See Also\n\n- [MlImage.StorageType](/edge/api/tflite/java/com/google/android/odml/image/MlImage.StorageType) \n\n#### public abstract int\n**hashCode**\n()\n\n\u003cbr /\u003e"]]