offset_y
トリミングされた画像の上部領域と下部領域の間のスペースの比率です。
したがって、実際のピクセルオフセットは次のようになります。
y = (offset_y / 100) * (upperArea_of_cropImage.height + lowerArea_of_cropImage.height)
編集:
// where y is the actual pixels from the upper left corner of the real image to
// upper left corner of the cropped image
-- ================================ --
y { || || } a
--||..............................|| --
|| ||
|| ||
|| Cover ||
|| ||
||..............................|| --
|| || } b
|| || |
================================ --
offset_y that Facebook send to you actually was a/b not y