[twitter-dev] What You Put In Not The Same As What You Get Back Out

2009-12-30 Thread Kyle Mulka
When uploading a background image, the image contents seems to get
modified. Seems like I should be able to do an MD5 sum on the file
before it is uploaded, upload the image to Twitter, and when I
download the image do another MD5 sum and the two should be the same.
But they aren't. Why?

--
Kyle Mulka
Founder, Congo Labs
http://twilk.com


Re: [twitter-dev] What You Put In Not The Same As What You Get Back Out

2009-12-30 Thread Zac Bowling
Twitter has to host those files. Pure guess here but like thunbnails, it's
not completely unresonable that they maybe want to optimize them for size to
save a few dollars on the hosting bills.

Why does it mater?

Zac Bowling


On Wed, Dec 30, 2009 at 1:27 PM, Kyle Mulka repalvigla...@yahoo.com wrote:

 When uploading a background image, the image contents seems to get
 modified. Seems like I should be able to do an MD5 sum on the file
 before it is uploaded, upload the image to Twitter, and when I
 download the image do another MD5 sum and the two should be the same.
 But they aren't. Why?

 --
 Kyle Mulka
 Founder, Congo Labs
 http://twilk.com



Re: [twitter-dev] What You Put In Not The Same As What You Get Back Out

2009-12-30 Thread Raffi Krikorian
we run all upcoming images through a few filters to make sure nothing
malicious is occurring before we save them to disk.

On Wed, Dec 30, 2009 at 2:02 PM, Zac Bowling zbowl...@gmail.com wrote:

 Twitter has to host those files. Pure guess here but like thunbnails, it's
 not completely unresonable that they maybe want to optimize them for size to
 save a few dollars on the hosting bills.

 Why does it mater?

 Zac Bowling



 On Wed, Dec 30, 2009 at 1:27 PM, Kyle Mulka repalvigla...@yahoo.comwrote:

 When uploading a background image, the image contents seems to get
 modified. Seems like I should be able to do an MD5 sum on the file
 before it is uploaded, upload the image to Twitter, and when I
 download the image do another MD5 sum and the two should be the same.
 But they aren't. Why?

 --
 Kyle Mulka
 Founder, Congo Labs
 http://twilk.com





-- 
Raffi Krikorian
Twitter Platform Team
http://twitter.com/raffi