Closed Bug 590792 Opened 14 years ago Closed 12 years ago

Make VectorImage::ExtractFrame() return an un-animated VectorImage

Categories

(Core :: Graphics: ImageLib, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: dholbert, Assigned: seth)

References

Details

Quoting VectorImage::ExtractFrame() from my patch for bug 276431: (attachment 469209 [details] [diff] [review]) >+ // XXXdholbert This method also doesn't actually freeze animation in the >+ // returned imgIContainer, because it shares our helper-document. If that's >+ // important, we'll need to duplicate the helper-document, or rasterize to a >+ // RasterImage and return that instead. roc suggests that we duplicate the helper-doc in bug 276431 comment 161. Filing this bug on doing that (or something equivalent).
Bug 808189 involves a reworking of the implementation of ExtractImage, and this issue will be taken care of there.
Assignee: nobody → seth
Depends on: 808189
Sorry, ExtractFrame, not ExtractImage.
Sorry, actually bug 826093 is taking care of this.
Depends on: 826093
No longer depends on: 808189
This is done. The solution is that clipping an image is now handled by ClippedImage and freezing the animation of an image is now handled by FrozenImage, so you can get either or both of those behaviors as required. ExtractFrame no longer exists.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.