Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

Gee, Toto, I don't think we're in Kansas anymore.


devel / comp.os.ms-windows.programmer.win32 / Re: GDIPlus - add a webp image decoder ?

SubjectAuthor
* GDIPlus - add a webp image decoder ?R.Wieser
`* GDIPlus - add a webp image decoder ?JJ
 `* GDIPlus - add a webp image decoder ?R.Wieser
  `* GDIPlus - add a webp image decoder ?JJ
   `- GDIPlus - add a webp image decoder ?R.Wieser

1
GDIPlus - add a webp image decoder ?

<ujv0ga$372v7$1@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=1180&group=comp.os.ms-windows.programmer.win32#1180

  copy link   Newsgroups: alt.comp.os.windows-xp comp.os.ms-windows.programmer.win32
Path: i2pn2.org!i2pn.org!news.hispagatos.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: address@is.invalid (R.Wieser)
Newsgroups: alt.comp.os.windows-xp,comp.os.ms-windows.programmer.win32
Subject: GDIPlus - add a webp image decoder ?
Date: Sun, 26 Nov 2023 09:43:40 +0100
Organization: A noiseless patient Spider
Lines: 27
Message-ID: <ujv0ga$372v7$1@dont-email.me>
Injection-Date: Sun, 26 Nov 2023 08:43:54 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="b865edcda261a708b8002bb1a791d6bf";
logging-data="3378151"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+0Bi8SBx5R5rTxJQ33PuSpLwGpbzc+sMBnC3YYDQ4Tig=="
Cancel-Lock: sha1:EEvflRShQoACFP+g2VN7zLt+ugs=
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512
X-RFC2646: Format=Flowed; Original
X-Priority: 3
 by: R.Wieser - Sun, 26 Nov 2023 08:43 UTC

Hello all,

Some time ago I stumbled over a few webp images. After some some
websearching I found a dll which could decode them into a raw byte arrays,
and with help of GDI+ I was able to save that into a native format (jpg,
png, etc), allowing me to view the resulting images.

While doing the above I was (again) made aware that GDI+ has(?) installable
image decoders & encoders. So, I thought it would be an idea to see if I
could write-and-install a webp decoder to that list.

The thing is, I can't seem to find anything of worth regarding native GDI+
installable image decoders, and only very little about a WIC type of
decoder. At least not enough to be able to get a complete picture about
what needs to be done.

So, I'm wondering if anyone here knows anything about how to create,
preferrably, a native GDI+ decoder - though information about how to create
WIC type of decoder is quite welcome too. (I'm an Assembly programmer, which
is why I rather work with the former than the latter)

Regards,
Rudy Wieser

Re: GDIPlus - add a webp image decoder ?

<1q8racnbv5iri.1ka1hp7dv4rh9.dlg@40tude.net>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=1181&group=comp.os.ms-windows.programmer.win32#1181

  copy link   Newsgroups: alt.comp.os.windows-xp comp.os.ms-windows.programmer.win32
Path: i2pn2.org!i2pn.org!paganini.bofh.team!not-for-mail
From: jj4public@outlook.com (JJ)
Newsgroups: alt.comp.os.windows-xp,comp.os.ms-windows.programmer.win32
Subject: Re: GDIPlus - add a webp image decoder ?
Date: Mon, 27 Nov 2023 10:59:09 +0700
Organization: To protect and to server
Message-ID: <1q8racnbv5iri.1ka1hp7dv4rh9.dlg@40tude.net>
References: <ujv0ga$372v7$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Injection-Info: paganini.bofh.team; logging-data="3061974"; posting-host="0cZ2msrGlotfFhjlzGKXWw.user.paganini.bofh.team"; mail-complaints-to="usenet@bofh.team"; posting-account="9dIQLXBM7WM9KzA+yjdR4A";
User-Agent: 40tude_Dialog/2.0.15.84
Cancel-Lock: sha256:FZ0rzXg7VZ4UjrdknY/bT4ih2C4jAxfU7VV2wDjQRCA=
X-Face: \*\`0(1j~VfYC>ebz[&O.]=,Nm\oRM{of,liRO#7Eqi4|!]!(Gs=Akgh{J)605>C9Air?pa d{sSZ09u+A7f<^paR"/NH_#<mE1S"hde\c6PZLUB[t/s5-+Iu5DSc?P0+4%,Hl
X-Bitcoin: 1LcqwCQBQmhcWfWsVEAeyLchkAY8ZfuMnS
X-Notice: Filtered by postfilter v. 0.9.3
 by: JJ - Mon, 27 Nov 2023 03:59 UTC

On Sun, 26 Nov 2023 09:43:40 +0100, R.Wieser wrote:
> Hello all,
>
> Some time ago I stumbled over a few webp images. After some some
> websearching I found a dll which could decode them into a raw byte arrays,
> and with help of GDI+ I was able to save that into a native format (jpg,
> png, etc), allowing me to view the resulting images.
>
> While doing the above I was (again) made aware that GDI+ has(?) installable
> image decoders & encoders. So, I thought it would be an idea to see if I
> could write-and-install a webp decoder to that list.
>
> The thing is, I can't seem to find anything of worth regarding native GDI+
> installable image decoders, and only very little about a WIC type of
> decoder. At least not enough to be able to get a complete picture about
> what needs to be done.
>
> So, I'm wondering if anyone here knows anything about how to create,
> preferrably, a native GDI+ decoder - though information about how to create
> WIC type of decoder is quite welcome too. (I'm an Assembly programmer, which
> is why I rather work with the former than the latter)
>
> Regards,
> Rudy Wieser

You can learn from examples, such as below PGM WIC codec.

https://github.com/vbaderks/netpbm-wic-codec

Re: GDIPlus - add a webp image decoder ?

<uk1ug1$3o8ap$1@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=1182&group=comp.os.ms-windows.programmer.win32#1182

  copy link   Newsgroups: alt.comp.os.windows-xp comp.os.ms-windows.programmer.win32
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: address@is.invalid (R.Wieser)
Newsgroups: alt.comp.os.windows-xp,comp.os.ms-windows.programmer.win32
Subject: Re: GDIPlus - add a webp image decoder ?
Date: Mon, 27 Nov 2023 08:08:45 +0100
Organization: A noiseless patient Spider
Lines: 29
Message-ID: <uk1ug1$3o8ap$1@dont-email.me>
References: <ujv0ga$372v7$1@dont-email.me> <1q8racnbv5iri.1ka1hp7dv4rh9.dlg@40tude.net>
Injection-Date: Mon, 27 Nov 2023 11:28:01 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="287b7beea169dea9296de0a9c3460bfc";
logging-data="3940697"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18IHfCrXV21BzpZg8vGwNWcHzi0s+9r7OdkFkrYfr7qMQ=="
Cancel-Lock: sha1:ZDhZFlB+hjccFOcHoc/JYXicg2M=
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512
X-Priority: 3
X-RFC2646: Format=Flowed; Original
X-MSMail-Priority: Normal
 by: R.Wieser - Mon, 27 Nov 2023 07:08 UTC

JJ,

>> So, I'm wondering if anyone here knows anything about how to create,
>> preferrably, a native GDI+ decoder - though information about how to
>> create
>> WIC type of decoder is quite welcome too. (I'm an Assembly programmer,
>> which
>> is why I rather work with the former than the latter)

> You can learn from examples, such as below PGM WIC codec.
>
> https://github.com/vbaderks/netpbm-wic-codec

Thanks for the link.

Thoug part of the problem with the WIC style approach is that I would need
to figure out what the methods and properties of each of the used objects is
(in vtable order!) - which is normally not something thats part of such an
example.

(I've had to do similar often enough to know its a hit-or-miss kind of thing
trying to google for it ...)

Nonetheless, its more than I had before. :-)

Regards,
Rudy Wieser

Re: GDIPlus - add a webp image decoder ?

<12ssuf0y9ikbi.g1gsa3gw55gr$.dlg@40tude.net>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=1184&group=comp.os.ms-windows.programmer.win32#1184

  copy link   Newsgroups: alt.comp.os.windows-xp comp.os.ms-windows.programmer.win32
Path: i2pn2.org!i2pn.org!news.1d4.us!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!paganini.bofh.team!not-for-mail
From: jj4public@outlook.com (JJ)
Newsgroups: alt.comp.os.windows-xp,comp.os.ms-windows.programmer.win32
Subject: Re: GDIPlus - add a webp image decoder ?
Date: Tue, 28 Nov 2023 08:12:04 +0700
Organization: To protect and to server
Message-ID: <12ssuf0y9ikbi.g1gsa3gw55gr$.dlg@40tude.net>
References: <ujv0ga$372v7$1@dont-email.me> <1q8racnbv5iri.1ka1hp7dv4rh9.dlg@40tude.net> <uk1ug1$3o8ap$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Injection-Info: paganini.bofh.team; logging-data="3337676"; posting-host="A7yS1XfBy/rxj9GpkV7f+w.user.paganini.bofh.team"; mail-complaints-to="usenet@bofh.team"; posting-account="9dIQLXBM7WM9KzA+yjdR4A";
User-Agent: 40tude_Dialog/2.0.15.84
Cancel-Lock: sha256:5vAL2fbGcoEFCRIH9K0spTWjktJA2Eg2w0EBxbxHLig=
X-Bitcoin: 1LcqwCQBQmhcWfWsVEAeyLchkAY8ZfuMnS
X-Notice: Filtered by postfilter v. 0.9.3
X-Face: \*\`0(1j~VfYC>ebz[&O.]=,Nm\oRM{of,liRO#7Eqi4|!]!(Gs=Akgh{J)605>C9Air?pa d{sSZ09u+A7f<^paR"/NH_#<mE1S"hde\c6PZLUB[t/s5-+Iu5DSc?P0+4%,Hl
 by: JJ - Tue, 28 Nov 2023 01:12 UTC

On Mon, 27 Nov 2023 08:08:45 +0100, R.Wieser wrote:
>
> Thanks for the link.
>
> Thoug part of the problem with the WIC style approach is that I would need
> to figure out what the methods and properties of each of the used objects is
> (in vtable order!) - which is normally not something thats part of such an
> example.
>
> (I've had to do similar often enough to know its a hit-or-miss kind of thing
> trying to google for it ...)
>
> Nonetheless, its more than I had before. :-)

AFAIK, in the reference part of Microsoft SDK documentations, the list of
methods of an interface is always in VTable order. You can still check the
relevant C header file if you have doubts.

Re: GDIPlus - add a webp image decoder ?

<uk43sf$6ckp$1@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=1185&group=comp.os.ms-windows.programmer.win32#1185

  copy link   Newsgroups: alt.comp.os.windows-xp comp.os.ms-windows.programmer.win32
Path: i2pn2.org!i2pn.org!nntp.comgw.net!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: address@is.invalid (R.Wieser)
Newsgroups: alt.comp.os.windows-xp,comp.os.ms-windows.programmer.win32
Subject: Re: GDIPlus - add a webp image decoder ?
Date: Tue, 28 Nov 2023 07:54:55 +0100
Organization: A noiseless patient Spider
Lines: 22
Message-ID: <uk43sf$6ckp$1@dont-email.me>
References: <ujv0ga$372v7$1@dont-email.me> <1q8racnbv5iri.1ka1hp7dv4rh9.dlg@40tude.net> <uk1ug1$3o8ap$1@dont-email.me> <12ssuf0y9ikbi.g1gsa3gw55gr$.dlg@40tude.net>
Injection-Date: Tue, 28 Nov 2023 07:12:15 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="058bed97c5107bc7298b3904ce68b6e6";
logging-data="209561"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+EVNRFQ9xyIZwYLY2igUbACV2WWE3AO+9MghqIPutEyA=="
Cancel-Lock: sha1:x+GDY5kFtevlXlTcKfAylDJlQpE=
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512
X-RFC2646: Format=Flowed; Original
 by: R.Wieser - Tue, 28 Nov 2023 06:54 UTC

JJ,

> AFAIK, in the reference part of Microsoft SDK documentations, the
> list of methods of an interface is always in VTable order. You can
> still check the relevant C header file if you have doubts.

As mentioned, I've googled quite a bit in search of how to "talk to"
objects. And it always was a problem finding the vtbale information, even
for common MS objects.

But if you know where I can find on-line Microsoft SDK documentation I would
be much obliged.

Currently the most pertinent information I can find is learn.microsoft.com,
but even that one has its problems. Just yesterday I was having a problem
with a standard GDI+ function, GdipCreateBitmapFromScan0 . Try to find some
MS documentation about it (and its sibblings) and you get nowhere fast. :-(

Regards,
Rudy Wieser

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor