Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
154 user(s) are online (6 user(s) are browsing News)

Members: 1
Guests: 153

AmigaSociety, more...

Support us!

Headlines


Recent Replied Topics
Internet News : Porter/Duff Image Compositing Article
Posted by Rogue on 2008/8/25 17:17:33 (2826 reads) News by the same author
Internet News

Since Porter/Duff style image compositing will be part of AmigaOS 4.1, I've decided to try and start a series of articles on the topic. Part one is now up, and can be found here. I want to extend this series in the future, and also go into the programming itself, including sample code.

Part one is just a general overview of the concept of Porter/Duff image compositing, with no programming knowledge required. Part 2 will go into the theory of operation and explain the basic usage in AmigaOS 4.1.

Feedback is appreciated.

Printer friendly page Send this story to a friend
The comments are owned by the author. We aren't responsible for their content.
Author Thread
TSK
Published: 2008/8/25 17:49  Updated: 2008/8/25 17:49
Just can't stay away
Joined: 02/23/2007
From: Finland, the land of Santa, sauna, sisu and salmiakki
Comments: 1209
 Re: Porter/Duff Image Compositing Article
@Rogue
Thanks making this article !

(Pole)
TMTisFree
Published: 2008/8/25 17:49  Updated: 2008/8/25 17:49
Just popping in
Joined: 12/05/2006
From: Nice, so nice
Comments: 163
 Re: Porter/Duff Image Compositing Article
Ah, at least some doc. about features of OS4.1. Much appreciated, thank you.

Bye,
TMTisFree
nubechecorre
Published: 2008/8/25 18:03  Updated: 2008/8/25 18:03
Just can't stay away
Joined: 11/24/2006
From: Sanremo
Comments: 1899
 Re: Porter/Duff Image Compositing Article
Thanks ^_^
glames
Published: 2008/8/25 20:03  Updated: 2008/8/25 20:03
Not too shy to talk
Joined: 11/28/2006
From: France, Nantes
Comments: 252
 Re: Porter/Duff Image Compositing Article
@Rogue,

Thanks!

glames
ZeroG
Published: 2008/8/25 20:07  Updated: 2008/8/25 20:07
Not too shy to talk
Joined: 12/08/2006
From: Germany
Comments: 394
 Re: Porter/Duff Image Compositing Article
@Rogue
Nice article.

Does 4.1 has its own PDIC-API, or does the system use Cairo internally to do PDIC?
Menthos
Published: 2008/8/25 20:12  Updated: 2008/8/25 20:12
Just popping in
Joined: 11/29/2006
From: Bure�, Sweden
Comments: 103
 Re: Porter/Duff Image Compositing Article
Thanks! Looking forward to the next chapter!
noelfuller
Published: 2008/8/26 8:25  Updated: 2008/8/26 8:25
Just popping in
Joined: 07/21/2008
From: Auckland, New Zealand
Comments: 19
 Re: Porter/Duff Image Compositing Article
Now that is an excellent introduction. I hope everyone reads it.

Noel
Atheist
Published: 2008/8/26 10:15  Updated: 2008/8/26 10:15
Quite a regular
Joined: 11/28/2006
From: Vancouver, B.C., Canada
Comments: 759
 Re: Porter/Duff Image Compositing Article
Thank you Rogue. I'm not a programmer, but it's appreciated that you've gone to this trouble.

Hey, if it's not taught by you (or any from AOS4.x dev team), they'll learn it in the streets, and we all know how that turns out.
DBAlex
Published: 2008/8/26 12:45  Updated: 2008/8/26 12:46
Just popping in
Joined: 07/20/2008
From: UK
Comments: 34
 Re: Porter/Duff Image Compositing Article
@Rogue

Cool!

I've seen demos of Cairo on Linux before... very impressive stuff... and this also opens up the possibility for scalable icons (SVG) etc (Infact SVG datatypes are allready available for AmigaOS)

One thing I would like to ask though... are the OS4 interface elements (Window "Gradient" & Style etc) Now drawn with Cairo completely or are they still bitmaps?

And if they aren't, are there any plans to draw them with Cairo in the future?

Cheers, Alex.
salass00
Published: 2008/8/26 13:26  Updated: 2008/8/26 13:26
Just can't stay away
Joined: 11/30/2006
From: Finland
Comments: 1890
 Re: Porter/Duff Image Compositing Article
@DBAlex

Note that there are actually two "svg" formats.

First there is the rather obscure SuperView Graphics format which is supported by Andreas Kleinert's svg datatype and is a bitmap format.

Then there is the Scalable Vector Graphics format which is supported by my svg.datatype for OS4, which makes use of libsvg/libsvg-cairo and afxgroup's cairo port (on OS4Depot) to render the svg vector graphics.
Rogue
Published: 2008/8/26 13:49  Updated: 2008/8/26 13:49
Quite a regular
Joined: 11/24/2006
From:
Comments: 624
 Re: Porter/Duff Image Compositing Article
Compositing is implemented as a single call in graphics.library. You can use it without touching Cairo, in fact, I've written two programs that make use of it. One displays a real-time thumbnail preview of the screen, the other is a lens that can zoom the screen with the mouse wheel.

Should make commodities out of them, really.
Rogue
Published: 2008/8/26 13:51  Updated: 2008/8/26 13:51
Quite a regular
Joined: 11/24/2006
From:
Comments: 624
 Re: Porter/Duff Image Compositing Article
@DBAlex

Cairo isn't used internally yet, only the compositing. Cairo was included mostly to have it available; in the future, more and more stuff will make use of it though.
Snuffy
Published: 2008/8/28 19:36  Updated: 2008/8/28 19:36
Just can't stay away
Joined: 12/06/2006
From: Michigan
Comments: 1027
 Re: Porter/Duff Image Compositing Article
Thanks for article. If I read again three more times I might learn something!
General
Site sponsors
 
Contact us on discord to advertise here.

Site statistics
Registered members
  1722
Logged in last:
  24 hours, 73
  7 days, 132
  30 days, 188

Random Photo
WB

New Articles List

New Members
Amigafreak02
Amigafreak02 11/15/2024
Drakken
Drakken 11/14/2024
ybbasepiw
ybbasepiw 11/11/2024
Mr_byte
Mr_byte 11/06/2024
ghettofinger
ghettofinger 10/30/2024
VaultDweller
VaultDweller 10/30/2024
Greenslade
Greenslade 10/11/2024
komyash
komyash 09/20/2024
Correine
Correine 09/16/2024
Falke_34
Falke_34 09/14/2024


Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project