RESOLVED FIXED 4156
svg2png testing tool for SVG
https://bugs.webkit.org/show_bug.cgi?id=4156
Summary svg2png testing tool for SVG
Eric Seidel (no email)
Reported 2005-07-26 23:49:22 PDT
Attached is an simple svg2png testing tool for use with WebCore+SVG. This currently depends on the temporary WebCore+SVG SPIs added through bug 4155. Once SVG is better integrated into WebCore/ WebKit, this tool can be generalized into a simple web2png WebView png dump tool.
Attachments
svg2png test tool (14.49 KB, patch)
2005-07-27 17:36 PDT, Eric Seidel (no email)
eric: review-
Improved svg2png, better conforms to webkit coding style. (34.99 KB, patch)
2005-07-27 22:31 PDT, Eric Seidel (no email)
mjs: review+
Further improved svg2png w/ BSD licencse (18.22 KB, patch)
2005-07-28 01:23 PDT, Eric Seidel (no email)
ggaren: review+
Eric Seidel (no email)
Comment 1 2005-07-27 17:36:13 PDT
Created attachment 3127 [details] svg2png test tool
Eric Seidel (no email)
Comment 2 2005-07-27 22:31:29 PDT
Created attachment 3131 [details] Improved svg2png, better conforms to webkit coding style.
Maciej Stachowiak
Comment 3 2005-07-28 00:06:36 PDT
Comment on attachment 3131 [details] Improved svg2png, better conforms to webkit coding style. +APPLE PUBLIC SOURCE LICENSE Should use BSD, not APSL. + } else if ([argString hasPrefix:@"--parser"]) { + // ignored. + } else if ([argString hasPrefix:@"--device"]) { + // ignored. May as well remove these unless KDE compat is really important. + } else if ([argString isEqualToString:@"--dump"]) { Perhaps it would be better to require both input and output file as arguments, the case of omitting --dump seems like it won't be handled well. + NSLog(@"WARNING: did you mean to dump to: @ Or did you just forget the --dump argument?", outputPath); I think you meant %@ not just @ The mixing of char * and NSString * in the argument processing seems a little weird. r=me assuming you fix the license, do whatever you want on the other stuff.
Eric Seidel (no email)
Comment 4 2005-07-28 01:23:07 PDT
Created attachment 3134 [details] Further improved svg2png w/ BSD licencse
Note You need to log in before you can comment on or make changes to this bug.