Questions tagged [pcx]

PCX is an images file format that stands for Personal Computer eXchange. It uses run length encoding to achieve lossless compression.

17 questions
6
votes
1 answer

convert a png file to a pcx file using c#

I'm trying to convert a .png file to a .pcx file. The scenario is the following: I'm using a TSC TTP-343C label printer. On the labels I have to print images. TSC provides a library documentation for developers. Since I can only print images on…
roemel
  • 3,247
  • 4
  • 29
  • 52
4
votes
1 answer

Printing PCX images on Zebra Printers using CPCL

I spent really a lot of time to understand how to print a PCX image using CPCL on a Zebra Printer (via network) without downloading the image to the printer. The sample on the documentation, in my opinion, is quite obscure. I attach a sample class…
Stefano Bertini
  • 292
  • 3
  • 11
3
votes
4 answers

Image (PCX) for EPL2 Zebra printer

I am having trouble producing and uploading graphics to an EPL2 printer. Having tired quite literally any pieces of software available and trawled the internet, I am at a loss. I have a 1 bit file which I try to upload with the following…
Gavin
  • 1,233
  • 17
  • 30
2
votes
2 answers

Zebra CPCL PCX command puts printer into receiving mode indefinitely

Trying to print to Brother RJ-4230B printer using CPCL Line Mode via the Brother Print SDK. Printer gets stuck on "Receiving" when I send these bytes using driver.sendRawData(bytes): ! 0 200 200 2596 1 PW 575 TONE 0 SPEED 3 ON-FEED…
Chuck Krutsinger
  • 2,830
  • 4
  • 28
  • 50
2
votes
2 answers

Decoding a PCX image in c# to display as bitmap

I have been trying to create a decoder that will stream through a pcx file and display it on screen as a bitmap. I have managed to get the information from the image header by using a binary reader, but I have now reached the part that seems to take…
jbroun
  • 21
  • 1
  • 2
2
votes
1 answer

How to Convert bmp file to pcx file

Any method or dll found to convert the image format bpm to pcx? I have been trying to following code. public static void ConvertBMP2PCX(string bmpFilePath) { List listBytePCX = new List(); Bitmap bmp = new…
Andy Fong
  • 428
  • 6
  • 15
2
votes
2 answers

Image data of PCX file

I have a big binary file with lots of files stored inside it. I'm trying to copy the data of a PCX image from the file and write it to a new file which I can then open in an image editor. After obtaining the specs for the header of a PCX file I…
links77
  • 211
  • 4
  • 7
1
vote
2 answers

PHP - Convert single byte to Integer (PCX Graphic Format)

I'm working on a project that involves talking directly with Zebra printers. Currently, I am trying to convert images to the GRF format using something called "ztools". ZTools appears to be ancient and doesn't always convert the graphic…
teynon
  • 7,540
  • 10
  • 63
  • 106
1
vote
1 answer

Don't understand what's wrong with my PCX code

I have a code that shows a PCX using assembly By its width Example image 320x200 x=0, y=0 But if X (StartPictX) and Y (StartPictY) are unequal to 0, it ruins the picture. And I need to fix that... The original…
Gad
  • 154
  • 8
1
vote
0 answers

Is is possible to determine from the header of a 1 bit PCX, if the palette should be used or not?

I've written a PCX decoder (an ImageIO plug-in in Java) and it works just fine, except for one detail: I don't understand if and/or when I should use the two first colors of the palette in the header, or just use a fixed B/W palette for 1 bit…
Harald K
  • 26,314
  • 7
  • 65
  • 111
1
vote
1 answer

Trouble making a 1bpp PCX from a 1bpp bitmap

I have this class that worked for 8 bpp bitmaps to pcx, but I am having trouble making it work for 1 bpp. The image starts off like this: But the resulting PCX is black after line 27, as seen in IrfanView: Can anyone help me spot the glaring…
weston
  • 54,145
  • 21
  • 145
  • 203
0
votes
0 answers

how to convert a picture(a.jpg or a.png) to "PCX"(a.pcx) format , using Objective-C in iOS?

I want to use my iPad to print a picture through a POSTEK printer,but it's not support "PNG" or "JPG". How to convert a picture to "PCX" format?
sean
  • 11
  • 3
0
votes
1 answer

8-bit indexed images for games developed in the 90s

I am currently working on an old classic PC game. The programming face a lot of issues as I go along, mostly because I am not educated as a programmer nor designer. Although my passion for this particular game makes it wort it. I am currently trying…
Thomas
  • 1
  • 4
0
votes
1 answer

Print UIImage with Zerba iMZ320 printer in CPCL Language

I tried to convert UIImage to bytes(NSData) and then converted it to hex string but no use. it prints only a black bar instead of image.I thought of converting UIImage to PCX format but unable to find good tutorials. Let me know a way to print…
Mahesh
  • 29
  • 1
  • 7
0
votes
0 answers

Python3 Pillow2.3.0 does not decode correctly some pcx files

Hi everyone I need help with python pillow. I'm currently using v2.3.0 and python 3.3. I'm trying to use pcx images extracted from an old game (Might and Magic VI) as textures. (The game has 2D UI over the 3D environment. This 2D UI is composed by…
roarc
  • 99
  • 1
  • 1
  • 7
1
2