Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
101 user(s) are online (7 user(s) are browsing News)

Members: 0
Guests: 101

more...

Headlines


Recent Replied Topics
Internet News : Porter/Duff Image Compositing Article
Posted by Rogue on 2008/8/25 17:17:33 (2725 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: 1201
 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: 1883
 Re: Porter/Duff Image Compositing Article
Thanks ^_^
glames
Published: 2008/8/25 20:03  Updated: 2008/8/25 20:03
Just popping in
Joined: 11/28/2006
From: France, Nantes
Comments: 240
 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: 1878
 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
Advertise Here

Site statistics
Registered members
  1673
Logged in last:
  24 hours, 64
  7 days, 130
  30 days, 181

Top Posters
1 kas1e
kas1e 8950
2 Raziel
Raziel 5413
3 LiveForIt
LiveForIt 3776
4 samo79
samo79 3754
5 ChrisH
ChrisH 3582
6 Chris
Chris 3361
7 orgin
orgin 3266
8 328gts
328gts 3024
9 Hans
Hans 2673
10 Antique
Antique 2618

New Members
Djk83
Djk83 04/19/2024
akutra
akutra 04/08/2024
kishigo
kishigo 03/25/2024
amigait
amigait 03/21/2024
fordprefect
fordprefect 03/06/2024
brufnus
brufnus 02/21/2024
Sugo77
Sugo77 02/11/2024
tomkrk78
tomkrk78 02/01/2024
Radar103
Radar103 01/28/2024
alanb
alanb 01/21/2024


Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project