[gstreamer-bugs] [Bug 595215] PNM encoder doesn't support ASCII encoding

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Sep 15 11:30:32 PDT 2009


https://bugzilla.gnome.org/show_bug.cgi?id=595215
  GStreamer | gst-plugins-bad | git

Lutz Mueller <lutz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #143196|0                           |1
        is obsolete|                            |

--- Comment #2 from Lutz Mueller <lutz at topfrose.de> 2009-09-15 18:30:29 UTC ---
Created an attachment (id=143242)
 --> (https://bugzilla.gnome.org/attachment.cgi?id=143242)
Patch to add ASCII encoding support.

As requested, the decoder now refuses to handle ascii encoded files or files in
bitmap format (1 pixel = 1 bit). I'll add this functionality later.

By the way, the Gimp can load the ascii encoded files generated by this
encoder, therefore the ASCII encoding can't be that wrong... The '\n' is added
after 20 bytes (= 80 characters) to make the display on terminals easier. See
for instance Wikipedia for details on the PNM format.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.




More information about the Gstreamer-bugs mailing list