We are seeing issues with some of the .jpeg files dimensions getting chnaged when uploaded into CQ5.4. For e.g. I have an W-Training-Shoes-hotspot-1b-140x140.2.jpeg of140x140 dimension. When I upload it in CQ it saves with width=1600 & height=140. Did anybody saw this issue before?
If I copy the original file & resave it with 140x140 size & reload in CQ, it will load fine with width=140 & height=140.
It looks like the assets has wrong metadata. As a workaround add a process step right after "Metadata extraction" to the update asset workflow and have a script updates with correct dimensions.