Page 5 of 5
					
				
				Posted: Fri Apr 07, 2006 3:12 am
				by netmaestro
				El_Choni, thanks for a fabulous tool. I just downloaded the 2.3 version and compiled it for PB v4.0 b9, and it works great. only adds a couple k to the exe size too! Absolutely excellent imagedecoder, man. Thanks again.
			 
			
					
				
				Posted: Fri Apr 07, 2006 10:00 am
				by El_Choni
				Fang: which plugins do you need?
			 
			
					
				
				Posted: Fri Oct 20, 2006 7:22 pm
				by Thorsten1867
				Where can I get the plugin for PB 4.00?
			 
			
					
				
				Posted: Fri Oct 20, 2006 8:27 pm
				by Shannara
				The last download link works for PB4, using it now.
			 
			
					
				
				Posted: Sat Oct 21, 2006 1:31 pm
				by NoahPhense
				Thorsten1867 wrote:Where can I get the plugin for PB 4.00?
Yeah, where can I get the 4.0 plugin?
- np
 
			 
			
					
				
				Posted: Sat Oct 21, 2006 7:40 pm
				by Thorsten1867
				I have some problems with the plugin. So I use 
wxCmmImgPlugin. PNG doesn't work, but JPG and other formats.
 
			 
			
					
				
				Posted: Tue Nov 07, 2006 9:32 pm
				by dige
				What is the latest release from the OLEImagePlugin?
I use the lib from 29/03/2006 ... and have some problems
with catchimage and jpeg images.
			 
			
					
				
				Posted: Wed Mar 21, 2007 9:18 pm
				by Dreamland Fantasy
				I can't get the PPM decoder to work. It just fails when I try to load a PPM image.
The other decoders work okay.
Kind regards,
Francis.
			 
			
					
				
				Posted: Thu Mar 22, 2007 1:08 am
				by Dreamland Fantasy
				I haven't solved the problem, but I seem to have found a workaround.
It would appear that the order that you call the various encoders and decoders matters. For instance, the following seems to work okay:
Code: Select all
UseEC_PPMImageDecoder()
UseTGAImageDecoder()
FileName$ = OpenFileRequester("Pick a PPM file", "", "Portable Pixmap File (*.ppm)|*.ppm", 0)
If LoadImage(0, FileName$)
  MessageRequester("", "Image loaded successfully")
Else
  MessageRequester("", "Failed to load image")
EndIf
Now if I swap the first two lines around it fails:
Code: Select all
UseTGAImageDecoder()
UseEC_PPMImageDecoder()
FileName$ = OpenFileRequester("Pick a PPM file", "", "Portable Pixmap File (*.ppm)|*.ppm", 0)
If LoadImage(0, FileName$)
  MessageRequester("", "Image loaded successfully")
Else
  MessageRequester("", "Failed to load image")
EndIf
Strange!  
 
Does anyone else have this problem?
Kind regards,
Francis.
 
			 
			
					
				
				Posted: Thu Mar 22, 2007 1:33 am
				by Dreamland Fantasy
				After a lot of playing around this arrangement seems to work:
Code: Select all
UsePNGImageDecoder()
UseEC_PPMImageDecoder()
UseTGAImageDecoder()
UseTIFFImageDecoder()
UseEC_OLEImageDecoder()
UseEC_IFFImageDecoder()
Any other arrangement that I've tried ends up with either the 'failure loading image' message with my example code or an 'invalid memory access' debugger error during the LoadImage().
*** Edit: I've discovered that with this arrangement I seem to have an intermittent problem when I load TIFFs. Sometimes it works, sometimes it doesn't.
Kind regards,
Francis.
 
			 
			
					
				
				Posted: Thu Mar 22, 2007 8:40 am
				by dige
				Works fine here. May be you have'nt the latetest releases from el_choni?
I've put it here for download:
http://www.kram-hochladen.de/download.php?id=NTM5Nzg= 
			 
			
					
				
				Posted: Thu Mar 22, 2007 10:18 am
				by Dreamland Fantasy
				Hi dige,
Those libraries that you posted are different to the ones I have, so maybe I wasn't using the latest versions.
Unfortunately it doesn't cure my problem. I still get the 'failed to load image' message using the following example code, where swapping the first two lines seems to correct it.
Code: Select all
UseTGAImageDecoder() 
UseEC_PPMImageDecoder() 
FileName$ = OpenFileRequester("Pick a PPM file", "", "Portable Pixmap File (*.ppm)|*.ppm", 0) 
If LoadImage(0, FileName$) 
  MessageRequester("", "Image loaded successfully") 
Else 
  MessageRequester("", "Failed to load image") 
EndIf
I thought that it may have been something to do with me running the x64 version of Windows XP, but I have now tried it on another PC with the 32-bit version of Windows XP and I get the same problem.
Kind regards,
Francis.
 
			 
			
					
				
				Posted: Fri May 04, 2007 9:30 pm
				by Karbon
				dige - can you re-post somewhere? I get an error message at that link (and I can't tell you what it says as I don't speak or read German!).
If anyone else has a link to the latest version of this lib please send it to me!
Thanks!
			 
			
					
				
				Posted: Sat May 05, 2007 11:55 am
				by dige
				
			 
			
					
				
				Posted: Tue Aug 04, 2009 6:04 pm
				by Xombie
				Hate to resurrect an old thread but does anyone have the latest file?