aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTableContent.m
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2012-03-18 17:24:52 +0000
committerrowanbeentje <rowan@beent.je>2012-03-18 17:24:52 +0000
commitc70dc822c2b9d2d39a65bdde0ca7b61a1355b846 (patch)
treeecf5e56de73650232bc9f2ec85e4a6c935cfdd4a /Source/SPTableContent.m
parentefd7982171996f7ba448fba269a728f6ff1afccc (diff)
downloadsequelpro-c70dc822c2b9d2d39a65bdde0ca7b61a1355b846.tar.gz
sequelpro-c70dc822c2b9d2d39a65bdde0ca7b61a1355b846.tar.bz2
sequelpro-c70dc822c2b9d2d39a65bdde0ca7b61a1355b846.zip
- Add a base64Encoding method for convenience when the result should be all on one line, and use it in SPTableContent
Diffstat (limited to 'Source/SPTableContent.m')
-rw-r--r--Source/SPTableContent.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/SPTableContent.m b/Source/SPTableContent.m
index 11e19588..7afbfe84 100644
--- a/Source/SPTableContent.m
+++ b/Source/SPTableContent.m
@@ -2273,7 +2273,7 @@
@"<BR><IMG %@='%ld' SRC=\"data:image/auto;base64,%@\">",
maxSizeValue,
(long)imageWidth,
- [[image TIFFRepresentationUsingCompression:NSTIFFCompressionJPEG factor:0.01f] base64EncodingWithLineLength:0]];
+ [[image TIFFRepresentationUsingCompression:NSTIFFCompressionJPEG factor:0.01f] base64Encoding]];
}
[v release];
@@ -2289,7 +2289,7 @@
[tempRow addObject:[NSString stringWithFormat:
@"<IMG WIDTH='%ld' SRC=\"data:image/auto;base64,%@\">",
(long)imageWidth,
- [[image TIFFRepresentationUsingCompression:NSTIFFCompressionJPEG factor:0.01f] base64EncodingWithLineLength:0]]];
+ [[image TIFFRepresentationUsingCompression:NSTIFFCompressionJPEG factor:0.01f] base64Encoding]]];
}
else {
[tempRow addObject:@"&lt;BLOB&gt;"];