<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Webserver(jpeg erstellen)]]></title><description><![CDATA[<p>hi<br />
ich bekomme von einem webserver die daten von einem image geschickt(jpg) aber wie soll ich dieses image als jpg speichern???</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/149106/webserver-jpeg-erstellen</link><generator>RSS for Node</generator><lastBuildDate>Sat, 18 Jul 2026 22:05:54 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/149106.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 02 Jun 2006 12:26:02 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Webserver(jpeg erstellen) on Fri, 02 Jun 2006 12:26:02 GMT]]></title><description><![CDATA[<p>hi<br />
ich bekomme von einem webserver die daten von einem image geschickt(jpg) aber wie soll ich dieses image als jpg speichern???</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1070075</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1070075</guid><dc:creator><![CDATA[jokko1234]]></dc:creator><pubDate>Fri, 02 Jun 2006 12:26:02 GMT</pubDate></item><item><title><![CDATA[Reply to Webserver(jpeg erstellen) on Fri, 02 Jun 2006 12:42:48 GMT]]></title><description><![CDATA[<p><a href="http://de.wikipedia.org/wiki/Jpeg#Dateiformat" rel="nofollow">http://de.wikipedia.org/wiki/Jpeg#Dateiformat</a></p>
]]></description><link>https://www.c-plusplus.net/forum/post/1070079</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1070079</guid><dc:creator><![CDATA[DarthZiu]]></dc:creator><pubDate>Fri, 02 Jun 2006 12:42:48 GMT</pubDate></item><item><title><![CDATA[Reply to Webserver(jpeg erstellen) on Fri, 02 Jun 2006 12:46:09 GMT]]></title><description><![CDATA[<p>Datei öffnen<br />
Daten rein<br />
Datei schließen</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1070083</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1070083</guid><dc:creator><![CDATA[^^]]></dc:creator><pubDate>Fri, 02 Jun 2006 12:46:09 GMT</pubDate></item><item><title><![CDATA[Reply to Webserver(jpeg erstellen) on Fri, 02 Jun 2006 14:48:20 GMT]]></title><description><![CDATA[<p>jo des hab ich gemacht <img
      src="https://www.c-plusplus.net/forum/plugins/nodebb-plugin-emoji/emoji/emoji-one/1f61b.png?v=ab1pehoraso"
      class="not-responsive emoji emoji-emoji-one emoji--face_with_tongue"
      title=":P"
      alt="😛"
    /> mit fopen fwrite fclose Oo ging nich</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1070148</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1070148</guid><dc:creator><![CDATA[jokko1234]]></dc:creator><pubDate>Fri, 02 Jun 2006 14:48:20 GMT</pubDate></item><item><title><![CDATA[Reply to Webserver(jpeg erstellen) on Fri, 02 Jun 2006 14:51:13 GMT]]></title><description><![CDATA[<p>Was ging denn nicht? Fehlerbeschreibung??? Wenn du nur die Bilddaten in ne Datei schreibst wird dass auch nicht funktionieren. Du musst den Dateiheader des Bildes richtig generieren.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1070149</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1070149</guid><dc:creator><![CDATA[DarthZiu]]></dc:creator><pubDate>Fri, 02 Jun 2006 14:51:13 GMT</pubDate></item><item><title><![CDATA[Reply to Webserver(jpeg erstellen) on Fri, 02 Jun 2006 16:13:24 GMT]]></title><description><![CDATA[<p>du hast den http header mit in die datei geschrieben</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1070182</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1070182</guid><dc:creator><![CDATA[frequently asked error]]></dc:creator><pubDate>Fri, 02 Jun 2006 16:13:24 GMT</pubDate></item><item><title><![CDATA[Reply to Webserver(jpeg erstellen) on Fri, 02 Jun 2006 18:38:37 GMT]]></title><description><![CDATA[<p>den http header hab ich rausgenommen</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1070281</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1070281</guid><dc:creator><![CDATA[jokko1234]]></dc:creator><pubDate>Fri, 02 Jun 2006 18:38:37 GMT</pubDate></item><item><title><![CDATA[Reply to Webserver(jpeg erstellen) on Fri, 02 Jun 2006 18:40:58 GMT]]></title><description><![CDATA[<p>hast du auch keine fehlerchen gemacht mein junge?</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1070284</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1070284</guid><dc:creator><![CDATA[frequently asked error]]></dc:creator><pubDate>Fri, 02 Jun 2006 18:40:58 GMT</pubDate></item><item><title><![CDATA[Reply to Webserver(jpeg erstellen) on Sat, 03 Jun 2006 01:58:58 GMT]]></title><description><![CDATA[<pre><code class="language-cpp">void make_jpg(char *jpg,char *filename)
{

    char filename[200];
    char *info;
    char *kp;

    int size;
    kp=(char*)malloc(2000);
    FILE *fjpg;
    fjpg=fopen(filename,&quot;w&quot;);

    cout  &lt;&lt; std::endl &lt;&lt; &quot;MAKE JPG&quot; &lt;&lt; std::endl;
    if(jpg==0)return;
    cout &lt;&lt; jpg;
    strcpy(kp,jpg);

    kp=strstr(kp,&quot;Content-Length&quot;);
    kp=strchr(kp, ':');
    kp=strtok(kp,&quot;\n&quot;);

    if (kp)
    {     
         *kp='\0';
	kp=kp+2;
    }
    size=atoi(kp);    //UM an die länge zukommen
    info=strstr(jpg,&quot;jpeg&quot;); //UM an die jpg daten zukommen
    if (info)
    {
	   *info='\0';
	   info=info+8;
    }

    cout &lt;&lt; std::endl &lt;&lt; &quot;JPEG:&quot;&lt;&lt; std::endl;
    cout &lt;&lt; info  &lt;&lt; std::endl;
    cout &lt;&lt; &quot;Laenge:&quot;&lt;&lt; std::endl;
    cout &lt;&lt; size &lt;&lt; std::endl;

    fwrite(info, 1,size,fjpg); 
    fclose(fjpg);      
    free(kp);
}
</code></pre>
<p>es erzeugt jetzt ein bild das ich anschauen kann aber es ist nicht wie das original!!!</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1070519</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1070519</guid><dc:creator><![CDATA[jokko1234]]></dc:creator><pubDate>Sat, 03 Jun 2006 01:58:58 GMT</pubDate></item><item><title><![CDATA[Reply to Webserver(jpeg erstellen) on Sat, 03 Jun 2006 07:24:31 GMT]]></title><description><![CDATA[<p>Ein Fehler den man sofort sieht: Du öffnest die Datei nicht im Binär-Modus.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/1070549</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/1070549</guid><dc:creator><![CDATA[fehler1]]></dc:creator><pubDate>Sat, 03 Jun 2006 07:24:31 GMT</pubDate></item></channel></rss>