Skip to content

Commit

Permalink
Fix UIImageJPEGRepresentation only takes in compression ratio from 0.…
Browse files Browse the repository at this point in the history
…0 to 1.0
  • Loading branch information
innopage authored and ideashower committed Aug 25, 2010
1 parent b9fb96a commit dd09d50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/ShareKit/Sharers/Services/Facebook/SHKFacebook.m
Expand Up @@ -182,7 +182,7 @@ - (void)sendImage

[[FBRequest requestWithDelegate:self] call:@"facebook.photos.upload"
params:[NSDictionary dictionaryWithObjectsAndKeys:item.title, @"caption", nil]
dataParam:UIImageJPEGRepresentation(item.image,100)];
dataParam:UIImageJPEGRepresentation(item.image,1.0)];
}

- (void)dialogDidSucceed:(FBDialog*)dialog
Expand Down

0 comments on commit dd09d50

Please sign in to comment.