You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Size and region parameters in pixels must be non-negative integers. Size and region parameters in percentages and the rotation parameter MUST be positive floating point numbers or integers.
However, the rotation parameter should instead be non-negative, as shown in the examples and stated elsewhere in the spec (e.g. s 4.3):
The numerical value represents the number of degrees of clockwise rotation, and may be any floating point number from 0 to 360.
Explicitly stating that 0 to 360 is inclusive (if 360 is valid) might also be beneficial.
(Although 0 is +0 in IEEE 754, the spec doesn't mandate use of signed zero floats and that interpretation doesn't address "or integers")
The text was updated successfully, but these errors were encountered:
Image API 3.0, s 4 contains the following:
However, the rotation parameter should instead be non-negative, as shown in the examples and stated elsewhere in the spec (e.g. s 4.3):
Explicitly stating that 0 to 360 is inclusive (if 360 is valid) might also be beneficial.
(Although
0
is+0
in IEEE 754, the spec doesn't mandate use of signed zero floats and that interpretation doesn't address "or integers")The text was updated successfully, but these errors were encountered: