Xref: utzoo comp.sys.ibm.pc:14492 comp.sys.mac:15087 comp.sys.apple:5457 Path: utzoo!mnetor!uunet!husc6!tut.cis.ohio-state.edu!sarrel From: sarrel@tut.cis.ohio-state.edu (Marc Sarrel) Newsgroups: comp.sys.ibm.pc,comp.sys.mac,comp.sys.apple Subject: Re: Copyrighting Icons Message-ID: <10732@tut.cis.ohio-state.edu> Date: 15 Apr 88 16:37:40 GMT References: <24@imspw6.UUCP> <1522@dataio.Data-IO.COM> <1707@pixar.UUCP> <585@nvuxr.UUCP> <10441@tut.cis.ohio-state.edu> <7530@boring.cwi.nl> Organization: The Ohio State University Dept of Computer and Information Science Lines: 113 Keywords: calculation In article <7530@boring.cwi.nl> jurjen@cwi.nl (Jurjen N.E. Bos) writes: >I'm sorry for you, but if you include the mask, you get 2^(16*16*2) >instead of 2^(16*16+1) cases. This is a nice example of accumulation of >errors. I'm not going to show that I can produce big numbers also, >because I have at least three programs that can do that. By the way, it >will give you some three lines of digits. >-- > -- Jurjen N.E. Bos (jurjen@cwi.nl) Yes, I stand corrected. Now, if you assume that a color icon on the mac II is made up of an icon and a mask, both of which are 16x16 and have 8 bits per pixel, we get 2^(16*16*16) or 104438888141315250669175271071662438257996424904738378038423 348328395390797155745684882681193499755834089010671443926283 798757343818579360726323608785136527794595697654370999834036 159013438371831442807001185594622637631883939771274567233468 434458661749680790870580370407128404874011860911446797778359 802900668693897688178778594690563019026094059957945343282346 930302669644305902501597239986771421554169383555988529148631 823791443449673408781187263949647510018904134900841706167509 366833385055103297208826955076998361636941193301521379682583 718809183365675122131849284636812555022599830041234478486259 567449219461702380650591324561082573183538008760862210283427 019769820231316901767800667519548507992163641937028537512478 401490715913545998279051339961155179427110683113409058427288 427979155484978295432353451706522326906139490598769300212296 339568778287894844061600741294567491982305057164237715481632 138063104590291613692670834285644073044789997190178146576347 322385026725305989979599609079946920177462481771844986745565 925017832907047311943316555080756822184657174637329688491281 952031745700244092661691087414838507841192980452298185733897 764810312608590300130241346718972667321649151113160292078173 8033436090243804708340403154190336. Now, does anyone know whether those eight bits are really a color, or merely an index into a look-up table. It is quite common to use the look-up table format. In that format, the eight bits would point to one of 256 24-bit colors. The result is that you can display at most 256 distinct 24-bit colors. If they use the look-up table scheme, then 2^(16*16*16) would have to be multiplied by the nubmer of ways to choose 256 (not necesarily different) 24-bit numbers. This also brings up the question of whether two icons are the same if they look the same on the screen, but have different internal representations. Assuming that icons are considered different if and only if they have different internal representations, the number of icons on a mac II is (2^(16*16*16))*((2^24)^256) or: 352497141210838265713481483980028154643914213439664710603913 826057310702768547493650483302964736638624569681553952983739 732590494759431136198883386731161336668147068707652719076562 056460186083699855587212676703217390319386338332818891926201 584265318069231442392697268763999519611919803480232917034723 057637824103945897589345856311110781204353030326888187514464 352913713571717556327753629326947950763134366874696380043276 893902467353218558306108568659249137608267637760032658517165 573342106422773434757577997804990215598224124342750870843172 934551295704067075900020717046731355275335432173559875681076 975779467857964124560483600729656168710248662446500810590681 830381345185142229871868373945980198595129936003792361901975 768389050807333599890946870089994162477220200619925599314018 723573797084885850036669659306097304307741074074940180653658 450770943205347006923544001698241315783891536569167546822524 255627428950268220861122361857689319404333240786923864636423 780292915823845509040122842652771246674528169856593374975809 915925102014797665008774278345666191563143881075857435462890 675510524340756781953453733639195713232101136226155117651343 296272079557936053768928759383576728708813056793055212933599 754278019219975348914740908681134673577843597833830910857171 008072284250312267769851973643594046830415066139436466661994 548993636858018487767296858378032282161138338547424434092214 804502325631304177096253207949716727377373859839755200477399 781651249069168579319609024073978415366576503787580124091572 059395130853242824392901089090690365154306903599631529865877 499305168806703261450369876070529616967815564185509662018228 218579780200625368240156976209572227380655388321870974098595 026691965890259611994487589973737929731917233355497723948788 740508545327859224758228364037939866231931740209314323814184 370227604126822763829893548396254532412898071082609051342346 791309548675704473545497601746910070785284527450279949438532 294805445123688313787611196816167193276373081423151051205287 046835151820383202250786653139117317493642556212844343049454 372146094060086405209720295099554355680948888157014704194108 891565239711821728144232741409554280705943283816670482867719 728577034355258035447078345677740272066141434199824101092619 306983110108578748668407438514728576453309291695484037510844 947258937293554504737710599868010583420219027353676279009748 723681378389963973798981614548259709107328582027812829739376 428479733818386729806933990394293426130015951489680820100160 610223162428423676727412654054345531072966235596044133263521 405296181711754506578842550993346187227316979201855824371823 913976733011681606825166392147065669814659617313748089491317 423647529930783263677141170014042109302515381324422193350726 720968651846913030271569624397770537072865839497640551512918 164025464624527191347971790992102335775962779256460318241722 748740845621134400433973951910654736207171042506860408965809 287008425939191732838445314709522056008744823024885238670745 329077812649908653518446848070122080391082875645348545004863 915388760636114766656202302948114683518353740720605302159079 09311281816131942219776. OK, anybody want to figure out how many different _looking_ icons there are assuming the 8-bit look-up table described above??? Also, I ask to be corrected (gently) if I'm wrong. Thanks... :-) :-) :-) -- Marc Sarrel The Ohio State University 611 Harely Dr #1 Department of Computer and Information Science Columbus, OH 43202-1835 sarrel@cis.ohio-state.edu In San Francisco, you can bay at the moon or moon at the Bay, but it doesn't make much difference which. Disclaimer: Hey, what do I know? I'm only a grad student.