<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta name=Titel content=""><meta name=Stichwörter content=""><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:-webkit-standard;
        panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:Calibri;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.E-Mail-Formatvorlage17
        {mso-style-type:personal-compose;
        font-family:Calibri;
        color:windowtext;}
span.msoIns
        {mso-style-type:export-only;
        mso-style-name:"";
        text-decoration:underline;
        color:teal;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:Calibri;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:595.0pt 842.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style></head><body bgcolor=white lang=DE link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt'>Hi all,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>does petsc provide some functionality to read images files (png, pgm, jpg, ...) and also to write such files? I’d like to do some low level image processing tasks where I need direct access to the pixel values. So anything that gives me a vector or matrix with this data would be perfect.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>Best regards,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'>Laurent<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:10.5pt;font-family:"-webkit-standard","serif";color:black;mso-fareast-language:DE'>% ------------------------------------------------------------- %<o:p></o:p></span></p><div><p class=MsoNormal><span style='font-size:10.5pt;font-family:"-webkit-standard","serif";color:black;mso-fareast-language:DE'>Dr. Laurent Hoeltgen<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.5pt;font-family:"-webkit-standard","serif";color:black;mso-fareast-language:DE'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.5pt;font-family:"-webkit-standard","serif";color:black;mso-fareast-language:DE'>Chair for Applied Mathematics<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.5pt;font-family:"-webkit-standard","serif";color:black;mso-fareast-language:DE'>Brandenburg University of Technology<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.5pt;font-family:"-webkit-standard","serif";color:black;mso-fareast-language:DE'>Platz der Deutschen Einheit 1, HG 3.26<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.5pt;font-family:"-webkit-standard","serif";color:black;mso-fareast-language:DE'>03046 Cottbus, Germany<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.5pt;font-family:"-webkit-standard","serif";color:black;mso-fareast-language:DE'><o:p> </o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.5pt;font-family:"-webkit-standard","serif";color:black;mso-fareast-language:DE'>Email: <a href="mailto:hoeltgen@b-tu.de"><span style='color:blue'>hoeltgen@b-tu.de</span></a><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.5pt;font-family:"-webkit-standard","serif";color:black;mso-fareast-language:DE'>Web.   <a href="http://www-user.tu-cottbus.de/~hoeltgen/"><span style='color:blue'>http://www-user.tu-cottbus.de/~hoeltgen/</span></a><o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.5pt;font-family:"-webkit-standard","serif";color:black;mso-fareast-language:DE'>Tel.   +49 (0) 355 69 20 77<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.5pt;font-family:"-webkit-standard","serif";color:black;mso-fareast-language:DE'>Fax.   +49 (0) 355 69 27 10<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:10.5pt;font-family:"-webkit-standard","serif";color:black;mso-fareast-language:DE'>% ------------------------------------------------------------- %<o:p></o:p></span></p></div><p class=MsoNormal><span style='font-size:11.0pt'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt'><o:p> </o:p></span></p></div></body></html>