summaryrefslogtreecommitdiff
path: root/test/mime-data.c
AgeCommit message (Collapse)AuthorFilesLines
2018-04-02Cairo trivial typosUnknown1-1/+1
Found using `codespell -q 3 -I cairo-whitelist.txt` whereby whitelist contained: ``` amin iff lod writen ``` Reviewed-by: Bryce Harrington <bryce@osg.samsung.com>
2017-10-22Add CCITT_FAX mime type for PDF and PS surfacesAdrian Johnson1-1/+55
This completes the full set of PDF/PS image filters allowing image data to be passed though without decompressing then recompresssing in a less efficient format. The difficulty with CCITT_FAX is it needs some decoding parameters that are not stored inside the image data. This is achieved by using an additional mime type CCITT_FAX_PARAMS that contains the params in key=value format.
2013-09-15test: update mime-data to test jbig2 mime typesAdrian Johnson1-1/+96
2009-01-29[test] Trivial fixes for error paths.Chris Wilson1-0/+4
Kill a few leaks along error paths in the test code.
2008-11-24Add image/jp2 to mime-data testAdrian Johnson1-1/+6
2008-11-07[surface] Pass a separate closure for the mime-type destroy notifier.Chris Wilson1-1/+2
A limitation of the current API was that the destroy notifier was called on the mime-data block. This prevents the user from passing in a pointer to a managed block, for example a mime-data block belonging to a ref-counted object. We can overcome this by allowing the user to specify the closure to be used with the destroy notifier.
2008-11-05[test] Update mime-data to check image/pngChris Wilson1-23/+44
Add a "image/png" mime-type test.
2008-11-04[test] Update mime-data jpeg reference data.Chris Wilson1-3/+3
<adrianj> ickle_: If we are going to use a different image for jpeg in mime-data maybe we could create a jpg that contains the text "jpeg". That way when support for the other image formats is added the mime-data test could have one image for each type with each image and it is easy to see that each image is the correct one.
2008-11-04[test] Use a different jpeg image for mime-dataChris Wilson1-1/+5
Detect when we successfully encode the JPEG data from the mime-type by using a completely image.
2008-11-03[mime-data] Allow embedding of arbitrary mime-types.Chris Wilson1-0/+111
Use the surface user-data array allow to store an arbitrary set of alternate image representations keyed by an interned string (which ensures that it has a unique key in the user-visible namespace). Update the API to mirror that of cairo_surface_set_user_data() [i.e. return a status indicator] and switch internal users of the mime-data to the public functions.