Size of a CompressedImage
I have a compressed image in a bagfile. I am subscribed to the topic with :
sub=rospy.Subscriber("irat_red/camera/image/compressed",CompressedImage,image_callback,pub_vt)
I want to get the width and the hight of this CompressedImage to using it in a callback. What should I do