Sunday, August 13, 2017

uploading - What is the best way to prevent logo distortion and poor quality when allowing users of an app to upload their own logo?


I'm not a fan of allowing any outside logos into an app but it is a Client requirement. The requirement is that a user can upload their logo and it will replace the app logo in a space that is 120px - 160px width. There are several problems to try to prevent when allowing the user to upload a logo:




  1. poor quality image that is pixelated when uploaded

  2. wrong size image that will be distorted when displayed

  3. unvectored text in logo font images ( which can't be prevented )

  4. wrong aspect ratio logos


I'd like to know what the best parameters to set for an uploaded logo. We can do a check with the code for the px width and height. But the code can not check if the text has been vectorized. Any insights would be nice in this problem. Thanks in advance.




No comments:

Post a Comment

technique - How credible is wikipedia?

I understand that this question relates more to wikipedia than it does writing but... If I was going to use wikipedia for a source for a res...