Permalink
Browse files

smaller image files

  • Loading branch information...
1 parent 0decf38 commit 51c4396afb2b02ac6483636d4911073b5414d457 @jchris jchris committed May 14, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 OnTheSpot/RootViewController.m
@@ -355,7 +355,7 @@ - (void)storeImage:(UIImage*)anImage withMetaData:(NSDictionary*)metaData
NSData* parsedJSON = [[CJSONDeserializer deserializer] deserialize:createDoc error:&error];
// upload the photo
- NSData *photo = UIImageJPEGRepresentation(anImage, 0.75);
+ NSData *photo = UIImageJPEGRepresentation(anImage, 0.35);
contentLength = [NSNumber numberWithUnsignedInt: [photo length]];
NSString *urlString = [NSString stringWithFormat:@"%@/%@/%@?rev=%@",

0 comments on commit 51c4396

Please sign in to comment.