Is possible automaticaly change window size to loaded container?
I played with set_pizel size and resize but it is not what i need. window size is still 480x320.
2. How is PPI calculated. Change is posible using set_pixel_size. default is 110PPI but on my monitor is ~96.
I'm using this value for converting coords from image to real coords so 1px on my monitor is 0.2625mm not 0.2309.
I know its only 0.03mm difference but on 2000px width image is too much for me.
Any idea how to get real monitor resolution and hw size for calculating real PPI for monitor ?
Code: Select all
ret((25.4 / PPI) * $px