Page 3 of 5

Posted: Wed Apr 28, 2004 12:06 pm
by dige
YEAH!! :D Damn it ... it works now!!!
Very big thanks to the great El_Choni!

cya dige

Posted: Wed Apr 28, 2004 12:39 pm
by gnozal
Is this new lib version still compatible with Win98 ?

Re: New Image plugin available for beta-testing

Posted: Wed Apr 28, 2004 12:48 pm
by NoahPhense
Hey El,

Where are you at with this Image Plugin? Just a few questions. What are
the advantages of this plugin over using the standard IncludeBinary/
CatchImage commands.

Also, where can the latest version be downloaded?

- np

Posted: Wed Apr 28, 2004 1:21 pm
by El_Choni
Is this new lib version still compatible with Win98 ?
It should; I only have Windows 98 SE installed here XD
Where are you at with this Image Plugin?
Finished version 2.2.
What are
the advantages of this plugin over using the standard IncludeBinary/
CatchImage commands.
This is an image plugin, so you can use it the same way you use UseImageDecoderTGA(), i.e., but for gif, jpg, wmf, cur, etc.
Also, where can the latest version be downloaded?
Latest version is in the link of my last post, but I'll upload it with a help file to PureArea soon (today). But remember it's only a decoder, not an encoder.

Regards,

..

Posted: Fri Apr 30, 2004 3:59 pm
by NoahPhense
Is that all that's too it?

I just added the following line to my project:

Code: Select all

UseEC_OLEImageDecoder()
and changed my file to a gif..

Code: Select all

;- Images
DataSection
Image0:
  IncludeBinary "C:\source\purebasic\Projects\Image & Sound\JL_BADGE_1024.gif"
EndDataSection
and it works? lol.. am i missing something?

- np

Posted: Fri Apr 30, 2004 6:04 pm
by El_Choni
Yes. It doesn't work for you?

..

Posted: Fri Apr 30, 2004 7:14 pm
by NoahPhense
El_Choni wrote:Yes. It doesn't work for you?
El, it works GREAT... I'm just in awe, that -- that is all I had to do...

You kick as$!!

Freakin great.. now I can use small files again, GIF..

Becuase we're not allowed to use JPG anymore right.. I mean by 'law'..

In our commercial applications..?

- np

Posted: Tue May 11, 2004 9:49 am
by dige
@ EL ... found a new bug! Your OLE Loader cant read this nice GIF image:

Image

Using WinXP_SP1 and PB3.90 (EC_OLEImageplugin v2.3 )
While trying to load the image ... the loader hangs up ...

You can download a sample source incl. the image here (28KB)

Greetz dige

Posted: Tue May 11, 2004 12:02 pm
by El_Choni
You're right, OleLoadPicture hangs when trying to load it. You can't even say it's a Microsoft bug, because they clearly say in the SDK that this function only loads WMF, ICO and CUR files.

But I wouldn't worry too much: Photoshop also hangs when trying to load it XD, although Mozilla does not. I think your gifs are somewhat evil...

Now, seriously, is it possible that this image is corrupted or something?

Posted: Tue May 11, 2004 12:19 pm
by dige
may be the image is corrupt or something else ... but its better the OLELoader does not load it instead of making a coffee break for some
hours ;-)

do you have an idea? .. if not I have to box the loader in a thread wich will
killed after a timeout ... but this is very dirty :-\

Posted: Tue May 11, 2004 12:42 pm
by El_Choni
The function doesn't even return, so I can't do anything about it. I've posted the problem in the masm forum, just in case someone can give a workaround.

I would also use the thread trick. What else can you do? :roll:

Posted: Fri Jul 16, 2004 4:28 pm
by newbie
Absolutly great work !

Very nice plugin, I even use it to replace the JPEG PB decoder, the exe is smaller this way, very nice job ;)

..

Posted: Fri Jul 16, 2004 5:20 pm
by NoahPhense
newbie wrote:Absolutly great work !

Very nice plugin, I even use it to replace the JPEG PB decoder, the exe is smaller this way, very nice job ;)
Yeah, El rulez.. check out his TailBite Application.. creates PB libraries..

download http://inicia.es/de/elchoni/TailBite/

support page viewtopic.php?t=9788&start=120

- np

Very late response

Posted: Wed Jul 27, 2005 11:24 am
by pantsonhead
Just found this plug-in and wanted to say thanks and well done. :D

Set Transparency Colour?

Posted: Tue Aug 16, 2005 10:16 am
by pantsonhead
Hi there

I've been using this plugin for a gif2jpg application.

Is there a way to set the transparency colour?
When a gif image is loaded the transparent area is black.
I would like to set it to white in this project - Any ideas?

Thanks.