WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
VERIFIED FIXED
3840
Add an option to DumpRenderTree to render into a bitmap file
https://bugs.webkit.org/show_bug.cgi?id=3840
Summary
Add an option to DumpRenderTree to render into a bitmap file
mitz
Reported
2005-07-03 10:50:26 PDT
DumpRenderTree (or a separate WebKit tool) should have an option to render into a bitmap image and save it to disk. The user should be able to specify the bitmap's dimensions.
Attachments
add bitmap functinoality
(5.48 KB, patch)
2005-08-10 08:46 PDT
,
mitz
darin
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Joost de Valk (AlthA)
Comment 1
2005-07-03 22:47:54 PDT
Sounds reasonable, confirming. Made it an "enhancement" and moved to p3. Mitz: if you have any reason for it to be p2, please comment here on your reasons :).
mitz
Comment 2
2005-08-10 08:46:25 PDT
Created
attachment 3311
[details]
add bitmap functinoality This patch adds --width, --height, --(no)bitmap and --(no)tree options to DumpRenderTree. If you don't specify any of them, it behaves like it currently does. Following the options you can either give a list of filenames or a single "-", in which case the program reads filenames from stdin, one per line. This doesn't include any of the directory scanning, output filename construction and bitmap diffing that svg2png does. I don't think any of that stuff belongs in DumpRenderTree. It can either be left for the test scripts to do (requiring a separate bitmap diffing utility) or a separate tool should be written.
mitz
Comment 3
2005-08-10 08:47:42 PDT
Comment on
attachment 3311
[details]
add bitmap functinoality (See previous comment)
Eric Seidel (no email)
Comment 4
2005-08-10 09:15:34 PDT
Comment on
attachment 3311
[details]
add bitmap functinoality Hum... Ben was just fixing this same bug as part of:
http://bugzilla.opendarwin.org/show_bug.cgi?id=4299
... He's done with DumpKCanvasTree, and run-webkit-test changes... I had asked him to make corresponding changes to DumpRenderTree before commiting. You two actually took different approaches regarding who should actually dump the files (your change dumps them back over stdout, ben's dump's directly to a file). We should make sure to reconcile the changes and land one singular solution which works the same for DumpKCanvasTree as well as DumpRenderTreee and has corresponding run-webkit-test changes as well.
Darin Adler
Comment 5
2005-08-10 10:24:38 PDT
Comment on
attachment 3311
[details]
add bitmap functinoality I like the approach here. Even if we do more later, we should definitely land this patch.
Eric Seidel (no email)
Comment 6
2005-08-10 20:36:15 PDT
commited.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug