What is the unit of measurement in the "size" field on the File table


#1

New to images in Graphcool and had a question regarding size.

I think I have images set up properly but looking everything over now and wanted to make sure my image was being compressed during the saving process.

My file (image) table has a field “size” and I am wondering what that is measured in. Is it bits, bytes, kilobytes (hopefully not), or megabytes (oh gosh, please no!).

I am pretty sure it is bytes but couldn’t find anything on the forum or documentation that said for certain.

Thanks :grinning: !


#2

For anyone that might come across this in the future. The size field on images is in bytes :ok_hand: