FAQ
Thanks, but I don't get an error from png.Encode. (I should have put the
check in the given example, though I had it in an earlier version.) Adding
the check to this example shows the returned value from png.Encode is nil.
On Thursday, 5 December 2013 00:02:28 UTC, Jesse McNelis wrote:

On Thu, Dec 5, 2013 at 10:58 AM, Graham MacDonald <grahamam...@gmail.com<javascript:>
wrote:
Hi

I've got some simple code to write out the same image in 3 different
formats: png, jpeg and gif. The image is correctly written for jpeg and
gif, but I get a zero length file for the png. Any idea why this would
happen, or does it look like a bug?
The error returned from png.Encode() might point you in the right
direction.




--
=====================
http://jessta.id.au
--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 3 of 8 | next ›
Discussion Overview
groupgolang-nuts @
categoriesgo
postedDec 4, '13 at 11:58p
activeDec 5, '13 at 2:18p
posts8
users4
websitegolang.org

People

Translate

site design / logo © 2021 Grokbase