From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/71119 Path: news.gmane.org!not-for-mail From: Otso Helenius Newsgroups: gmane.comp.tex.context Subject: Re: MKIV strange results in Adobe Reader Date: Sun, 11 Sep 2011 17:48:40 +0300 Message-ID: <5142a0d6d10452c01b5134c31a03c07a@pi-xi.net> References: <4E688B8E.6010606@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1315752535 20713 80.91.229.12 (11 Sep 2011 14:48:55 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 11 Sep 2011 14:48:55 +0000 (UTC) To: Original-X-From: ntg-context-bounces@ntg.nl Sun Sep 11 16:48:51 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1R2lL0-0004OE-QT for gctc-ntg-context-518@m.gmane.org; Sun, 11 Sep 2011 16:48:50 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8E327CAF83; Sun, 11 Sep 2011 16:48:50 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id qZOT7CFjj6Wg; Sun, 11 Sep 2011 16:48:50 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 435AACAF7B; Sun, 11 Sep 2011 16:48:47 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2328BCAF7B for ; Sun, 11 Sep 2011 16:48:46 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id QGIwTQxYdv4r for ; Sun, 11 Sep 2011 16:48:44 +0200 (CEST) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id 0E6D7CAF78 for ; Sun, 11 Sep 2011 16:48:44 +0200 (CEST) Original-Received: from innsmouth.pi-xi.net (pi-xi.net [83.145.207.200]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p8BEmhB5017979 for ; Sun, 11 Sep 2011 16:48:43 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by innsmouth.pi-xi.net (Postfix) with ESMTP id C03C41C0D30 for ; Sun, 11 Sep 2011 17:48:42 +0300 (EEST) Original-Received: from innsmouth.pi-xi.net ([127.0.0.1]) by localhost (innsmouth.pi-xi.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id n7YvGyBVznpu for ; Sun, 11 Sep 2011 17:48:41 +0300 (EEST) Original-Received: from pi-xi.net (innsmouth.pi-xi.net [192.168.1.100]) by innsmouth.pi-xi.net (Postfix) with ESMTPSA id 0FDFC1C00CB for ; Sun, 11 Sep 2011 17:48:41 +0300 (EEST) In-Reply-To: <4E688B8E.6010606@wxs.nl> X-Sender: context@pi-xi.net User-Agent: Roundcube Webmail/0.5.3 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=83.145.207.200; country=FI; region=13; city=Espoo; latitude=60.2167; longitude=24.6667; http://maps.google.com/maps?q=60.2167,24.6667&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0cFvqMHvX - 5e7f8f12f194 - 20110911 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.71 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:71119 Archived-At: Hi, I have now investigated the color errors in Adobe Reader further. I produced a test PDF without simpleslides with MKIV (mtx-context | current version: 2011.09.10 12:55). Here is the source: \language[fi] \setupcolors[rgb] \usemodule[metafun] \setupbackgrounds[page][background=color,backgroundcolor=black] \startreusableMPgraphic{variympyrat} vardef ColorCircle (expr method, factor, ca, cb, cc) = save u, p ; path p ; p := fullcircle shifted (1/4,0); image (fill p rotated 90 withcolor transparent(method,factor,ca); fill p rotated 210 withcolor transparent(method,factor,cb); fill p rotated 330 withcolor transparent(method,factor,cc)) enddef; draw ColorCircle ("normal", 1, cyan, magenta, yellow) xsized 6cm; draw ColorCircle ("darken", .85, cyan, magenta, yellow) xsized 6cm; currentpicture := currentpicture shifted (0,-6cm); draw ColorCircle ("exclusion", 1, red, green, blue) xsized 6cm; \stopreusableMPgraphic \starttext \startcolor[white] \title{metafun} \includeMPgraphic{variympyrat} \title{svg} \externalfigure[variympyrat.svg] \title{png} \externalfigure[variympyrat.png] \stoptext and here is the output: https://pi-xi.net/share/context_reader_test.png https://pi-xi.net/share/context_reader_test.pdf You can also see the original files used in the test here: https://pi-xi.net/share/variympyrat.png https://pi-xi.net/share/variympyrat.svg The gray background effect happens randomly even with only using svg images straight from inkscape. When using png images, I noticed it happens more often when there are multiple layers in the png. With metafun graphics, the image colors are messed up in addition to the gray background. I would like to know: a) How to avoid it with metafun, png AND svg graphics? b) What is the cause (Adobe reader bugs? Errors in my source? Erroneous image files? ConTeXt bug?) Best regards, Otso Helenius ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________