Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

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

Members: 0
Guests: 88

more...

Support us!

Headlines


Recent Replied Topics
Topic Replies Last Post
AmigaOS4 Shaderjoy 1.16 [1][2] ... [14][15][16][17] 326 (26634) kas1e Today 21:10
Amiga General Forum Introducing the Rear Window blog 11 (763) noXLar Today 21:04
AmigaOS4 emotion media player [1][2][3][4] 68 (21905) noXLar Today 21:01
AmigaOS4 Is there shell command to open a workbench window with specified path ? 2 (180) nbache Yesterday 23:01
AmigaOS4 List of wanted Software [1][2][3][4] 68 (12110) jPV Yesterday 20:58
AmigaOS4 Company<->User communication...Is it still a thing today? [1][2] ... [7][8][9][10] 198 (10990) samo79 Yesterday 2:07
Amiga Classic vasmm68k project: How to find the line in the code. 1 (127) Kamelito 10/27 18:30
AmigaOS4 OpenAL-soft for AmigaOS [1][2] 21 (7440) salass00 10/27 11:03
AmigaOS4 The OpenGL ES 2.0 thread [1][2][3][4][5] 85 (18274) Capehill 10/26 8:07
AmigaOS4 Updater tool: latest releases and updates [1][2] ... [4][5][6][7] 121 (37637) Skateman 10/25 15:45
AmigaOS4 Kensington SlimBlade Trackball 8 (621) Daytona675x 10/25 13:25
AmigaOS4 Joystick/gamepad usable for os4 [1][2][3] 42 (11931) Capehill 10/25 11:51
AmigaOS4 The MiniGL thread [1][2] ... [8][9][10][11] 218 (28168) Daytona675x 10/24 16:56
Amiga General Forum Announcing David Pleasance to speak at Amiwest 2020 8 (705) nbache 10/23 23:22
Amiga General Forum IRC down? 17 (703) orgin 10/22 15:03
[View all topics]  [Forum Settings]
Internet News : Porter/Duff Image Compositing Article
Posted by Rogue on 2008/8/25 17:17:33 (2278 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: 1104
 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: 1841
 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: 206
 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: 391
 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: 1740
 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
  1492
Logged in last:
  24 hours, 47
  7 days, 87
  30 days, 138

Top Posters
1 kas1e
kas1e 6444
2 Raziel
Raziel 3773
3 ChrisH
ChrisH 3553
4 samo79
samo79 3369
5 Chris
Chris 3245
6 orgin
orgin 3199
7 LiveForIt
LiveForIt 2824
8 Antique
Antique 2485
9 328gts
328gts 2417
10 Hans
Hans 2310

New Members
zidz
zidz 10/19/2020
Bluewater41
Bluewater41 10/19/2020
Beajar
Beajar 10/17/2020
slygon
slygon 10/15/2020
OldGrump
OldGrump 09/28/2020
mid
mid 09/22/2020
landrock
landrock 09/21/2020
Jazzy_J
Jazzy_J 09/18/2020
Scodera
Scodera 09/14/2020
ChrisGNZ
ChrisGNZ 09/07/2020


Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project