Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

.bmp oder .gif oder .jpeg oder .png in .pcx umwandeln

Empfohlene Antworten

Veröffentlicht

Hallo,

ich habe ein kleines Problem: Ich habe ein mobiles Endgerät ( Windows Mobile 6.1 ). Auf diesem Gerät erfass ich eine Unterschrift über ein Panel, diese Speicher ich entweder als .bmp, .gif, .jpeg oder .png ab.

Da ich einen mobilen Bluetoothdrucker habe, auf dem ich eine Grafik ausdrucken muss, und er nur mit .pcx Dateien arbeiten kann. Es handelt sich hierbei um einen Zebra QL 420 Drucker. Drucken selbst kann ich, auch statische Grafiken. Aber keine Dynamischen.

Ich benötige einen C# Code, wie ich eine von den 4 Formaten in .png umwandeln kann.

Vielen Dank

Liebe Grüße

errox

..er nur mit .pcx Dateien arbeiten kann..

.. in .png umwandeln kann..

Was nu? PCX oder PNG?

PNG nimmt man aus System.Drawing.Imaging (auch im Compact Framework):

Image testimg = Image.FromFile(@"test.gif");

	 testimg.Save(@"test.png", ImageFormat.Png);

Bei PCX: Zum einen ne Lib suchen, zum anderen sollte eine Konvertierung von BMP "per Hand" mit folgenden Angaben möglich sein:

PCX Graphic File Format

PCX - Wikipedia, the free encyclopedia

BMP file format - Wikipedia, the free encyclopedia

Zum Lernen kann ein Blick in die GrafikLibrary OpenIL nicht schaden: openil.sourceforge.net

Grüße

Ripper

Erstelle ein Konto oder melde dich an, um einen Kommentar zu schreiben.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.