Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help with PCX file.

I'm in real need of being able to display .PCX graphic files in my app. I am using Visual Studio 2013 .NET.

I've tried GDPicturedotnet but for some reason it is not showing up in the Toolbox and when I select 'Show all' it is greyed out. I've also tried IocompDotNet V4 SP3 but unable to find any help files or documents on how to use their commands.

Many, Many thanks for your help.
Unfortunately, I have never dealt with .PCX graphics before. After doing some Googling, I was able to come across the following thread:

You probably don't want to read it, so in the thread they mention that the .NET framework does not support loading .PCX images by default (Which you've already discovered). The recommended library is dotnetfireball, which can be found here:

Here is a code snippet presented on the linked forum thread that uses dotnetfireball to load a *.pcx

[code2=vbnet]Dim imageToSet As Image = Nothing
Dim image As New Fireball.Drawing.FreeImage("C:\text.pcx")
imageToSet = image.GetBitmap()
PictureBox1.Image = imageToSet

' Note, this code was translated from C#.NET and may contain a few errors.[/code2]
My Blog | My Setup | My Videos | Have a wonderful day.
Hi brandonio21

Sorry for the late reply, just saw this post while browsing. I managed to find gdpictures which supports .pcx files.

Thank you for your help.



Possibly Related Threads...
Thread Author Replies Views Last Post
  Protecting a file Covert2String 4 6,899 05-10-2012, 12:01 AM
Last Post: Covert2String
  Reading XML file Covert2String 5 8,760 04-30-2012, 06:01 PM
Last Post: brandonio21
  Create a new file Covert2String 5 8,647 04-11-2012, 02:47 PM
Last Post: brandonio21
  Apply a diff file to another file Covert2String 8 12,661 04-09-2012, 03:21 PM
Last Post: Covert2String

Forum Jump:

Users browsing this thread: 1 Guest(s)