B+ ImageAlter.transform problem data
By: a guest | Aug 25th, 2010 | Syntax:
None | Size: 0.85 KB | Hits: 51 | Expires: Never
>> Loaded a 600px by 800px PNG image.
>> Create a thumbnail
{
actions: [{ scale: { maxheight=75 }}],
file: { BrowserPlusType="BPTPath", more...},
format: "jpg"
quality: 65
}
>> Rotate the thumbnail right
{
actions: [
{ scale: { maxwidth=75 }},
{ rotate: 90}
],
file: { BrowserPlusType="BPTPath", more...},
format: "jpg"
quality: 65
}
>> Crop the thumbnail
{
actions: [
{ rotate: 90 },
{ crop: [0.08, 0.205, 0.44666666666666666, 0.405] },
{ scale: { maxwidth=75} }
],
file: { BrowserPlusType="BPTPath", more...}
format: "jpg"
quality: 65
}
>> The result of the crop is off and stretched vertically. Why?
>> If I load the same image and simply crop it, I get a good result, but the image is stretched vertically. Why?
>> When I rotate the image 90 or 270 degrees. The resulting image is completely off.