MESSAGE
DATE | 2021-08-30 |
FROM | Lee Shallis
|
SUBJECT | Subject: [Learn] [png-mng-implement] Own implementation loader/renderer
|
From learn-bounces-at-nylxs.com Mon Aug 30 10:47:48 2021 Return-Path: X-Original-To: archive-at-mrbrklyn.com Delivered-To: archive-at-mrbrklyn.com Received: from www2.mrbrklyn.com (www2.mrbrklyn.com [96.57.23.82]) by mrbrklyn.com (Postfix) with ESMTP id 262AC163FC0; Mon, 30 Aug 2021 10:47:48 -0400 (EDT) X-Original-To: learn-at-www2.mrbrklyn.com Delivered-To: learn-at-www2.mrbrklyn.com Received: by mrbrklyn.com (Postfix, from userid 1000) id 56457163FC0; Mon, 30 Aug 2021 10:47:39 -0400 (EDT) Resent-From: Ruben Safir Resent-Date: Mon, 30 Aug 2021 10:47:39 -0400 Resent-Message-ID: <20210830144739.GB21723-at-www2.mrbrklyn.com> Resent-To: learn-at-mrbrklyn.com X-Original-To: ruben-at-mrbrklyn.com Delivered-To: ruben-at-mrbrklyn.com Received: from lists.sourceforge.net (lists.sourceforge.net [216.105.38.7]) by mrbrklyn.com (Postfix) with ESMTP id D0EED163F9E for ; Mon, 30 Aug 2021 08:14:20 -0400 (EDT) Received: from [127.0.0.1] (helo=sfs-ml-2.v29.lw.sourceforge.com) by sfs-ml-2.v29.lw.sourceforge.com with esmtp (Exim 4.92.3) (envelope-from ) id 1mKgAg-0001rz-8h; Mon, 30 Aug 2021 12:13:50 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-2.v29.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.3) (envelope-from ) id 1mKgAe-0001rr-Lq for png-mng-implement-at-lists.sourceforge.net; Mon, 30 Aug 2021 12:13:48 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Type:To:Subject:Message-ID:Date:From: Reply-To:MIME-Version:Sender:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=kX0Mcsta6AhnLPJdKbKHcEcKHOXgTHeVrukpPS9gKYE=; b=h7q+1MkAoFg9ta7ylk9WKH68SJ fYLcxv1sklTzUzFLvVnyE4BDoj/GSSXbrZovKqk4EohRUCmlplIi4ZNpnNt5XhyyFHJyOY2R0aT9w zMKRKCzPoUf/jEYBjtR5J8QVNTM05GFRsuNtA9mbb6aElVBiraXLBTaCMF9gFmEMnRFQ=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Type:To:Subject:Message-ID:Date:From:Reply-To:MIME-Version:Sender :Cc:Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post: List-Owner:List-Archive; bh=kX0Mcsta6AhnLPJdKbKHcEcKHOXgTHeVrukpPS9gKYE=; b=l NuXhtTT4ghpE4zaiLesOVMcfYpGRzBQ7rXDgCDZ4k3YR2rGqno/NvcjsvcRsroB7mTfmLzJdBP8Uh DdO7agXWp1l15v9l/zy6dKQtpf3BiC22C/XLXPZ1dcjIQAVeLmQF67fc4IhbIgkcrZE21upWWZocY XAleWuXvvCO8p5mw=; Received: from mail-vs1-f41.google.com ([209.85.217.41]) by sfi-mx-1.v28.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.92.3) id 1mKgAM-007rhY-3a for png-mng-implement-at-lists.sourceforge.net; Mon, 30 Aug 2021 12:13:48 +0000 Received: by mail-vs1-f41.google.com with SMTP id i1so10331349vsk.8 for ; Mon, 30 Aug 2021 05:13:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:reply-to:from:date:message-id:subject:to; bh=kX0Mcsta6AhnLPJdKbKHcEcKHOXgTHeVrukpPS9gKYE=; b=hChh4lhjPJ87Tb7/ELpcsUppReLFGW18faH1SARnAMrRSGEf9qDx11A6tuHwBiNZvA KULkIj/HKvcNPvCoPN9KaG57ZvTpTLLeoYwlbJXx9X6Bc6421PtSMbpH8rk49H6ApnP1 SDY/7ZqNoEFhra+b7ttHyZ0X79BDpcbptbAtPSJLDU2BvEzqVmw8xUV8jZqmLD3HBPwZ SduF77XMEERfJzRufP6qB0JtK9nUUW6or4wTOzTHsaUDiA7axeGQmINeCK+7PP+qTanY P//AQ1m7pMbasKORLOz0fw4xMrDYjCcHANDeQ0u1nKbpk3J2s3Cz9EJQx37P5l8LLdUT vUiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:reply-to:from:date:message-id :subject:to; bh=kX0Mcsta6AhnLPJdKbKHcEcKHOXgTHeVrukpPS9gKYE=; b=d868ic9e6mu2TYO2vvH5YiT8Lp9L3BiuU1t7fCnn4MMy2r09PYDBoLdtKzDH41OyZy jHd7/HGHNrz9knC9henSfPy1nus6AYj9T1gu1p1AZwH7Uu4M2/CEASl2gjFA3D6lgLRr 6+w5Ov0+H5cF/9TlDVkF1UZDlLE119WtyDOJpDhHDYvoTtbFp9yLaIoaYj9kbZ+CUd5f 8mTG7ymWVHWPNwfuR0t5C/nvBDyTF2+Czedk29tCMdcCj1KWKeU721rx4df0RXkH1+gU ujrYdwgvR0NUQfueXMBpotBRjYGUjRXIKI0nmhmloPTWVDzkgbUaflMrSOj19Xm7jq8x sQSw== X-Gm-Message-State: AOAM531X3knQwmAUTdoWHfVSpg+WQq3UUjiisf5Z+8xVKVyBr5bJoGU0 9FBB1cwCRhs665im6ofzu9sq2sOm3s13HdSeU47m6HIEVzE= X-Google-Smtp-Source: ABdhPJwj//tcO9gUO5Q9tiwS+/TqdzmXnqH2flrWmE6R7urEmeMqvsR+OtoLhQCYzoMwsL/ySG17Ki7jstqrNZQEzYM= X-Received: by 2002:a67:31c6:: with SMTP id x189mr14316229vsx.52.1630325603773; Mon, 30 Aug 2021 05:13:23 -0700 (PDT) MIME-Version: 1.0 From: Lee Shallis Date: Mon, 30 Aug 2021 13:10:12 +0100 Message-ID: To: png-mng-implement-at-lists.sourceforge.net X-Spam-Score: 0.7 (/) X-Spam-Report: Spam detection software, running on the system "util-spamd-1.v13.lw.sourceforge.com", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: I've been implementing my own code for loading & rendering PNGs, I've managed to get the filters correct for 8 bit values (or working individually, or both) but when I went to test on a PNG made for 4 [...] Content analysis details: (0.7 points, 6.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.217.41 listed in wl.mailspike.net] 0.2 FREEMAIL_REPLYTO_END_DIGIT Reply-To freemail username ends in digit [gb2985[at]gmail.com] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.217.41 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider [gb2985[at]gmail.com] 0.0 T_SPF_HELO_TEMPERROR SPF: test of HELO record failed (temperror) 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit [gb2985[at]gmail.com] 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid 0.1 DKIM_INVALID DKIM or DK signature exists, but is not valid X-Headers-End: 1mKgAM-007rhY-3a X-BeenThere: png-mng-implement-at-lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list X-UID: 88900 Subject: [Learn] [png-mng-implement] Own implementation loader/renderer X-BeenThere: learn-at-nylxs.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: gb2985-at-gmail.com, PNG/MNG implementation discussion list Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: learn-bounces-at-nylxs.com Sender: "Learn"
I've been implementing my own code for loading & rendering PNGs, I've managed to get the filters correct for 8 bit values (or working individually, or both) but when I went to test on a PNG made for 4 bit values and using all filters in one file I get a corrupted image that resembles the target image, I've made a post about it here:
https://cboard.cprogramming.com/c-programming/180516-final-filter-test-failing-post1302846.html#post1302846
Since the other test images came out correctly I doubt it's my implementation of zlib but it could also be that, either way I'd like someone to take a look at my code here:
https://gitlab.com/awsdert/glengine/-/tree/main/view
And tell me if they see anything that would be a problem in regards defiltering the data
Btw the images I'm currently testing with are here:
http://www.schaik.com/pngsuite/pngsuite_fil_png.html
The one that fails is just the last one that looks like a ball
_______________________________________________ png-mng-implement mailing list png-mng-implement-at-lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/png-mng-implement _______________________________________________ Learn mailing list Learn-at-nylxs.com http://lists.mrbrklyn.com/mailman/listinfo/learn
|
|