mirror of
				https://git.code.sf.net/p/libpng/code.git
				synced 2025-07-10 18:04:09 +02:00 
			
		
		
		
	[libpng17] Document new png_image_write_to_memory() API
This commit is contained in:
		
							parent
							
								
									443694d7ac
								
							
						
					
					
						commit
						55d3b3226e
					
				@ -1,6 +1,6 @@
 | 
				
			|||||||
libpng-manual.txt - A description on how to use and modify libpng
 | 
					libpng-manual.txt - A description on how to use and modify libpng
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 libpng version 1.7.0beta78 - January 16, 2016
 | 
					 libpng version 1.7.0beta78 - January 23, 2016
 | 
				
			||||||
 Updated and distributed by Glenn Randers-Pehrson
 | 
					 Updated and distributed by Glenn Randers-Pehrson
 | 
				
			||||||
 <glennrp at users.sourceforge.net>
 | 
					 <glennrp at users.sourceforge.net>
 | 
				
			||||||
 Copyright (c) 1998-2015 Glenn Randers-Pehrson
 | 
					 Copyright (c) 1998-2015 Glenn Randers-Pehrson
 | 
				
			||||||
@ -11,7 +11,7 @@ libpng-manual.txt - A description on how to use and modify libpng
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
 Based on:
 | 
					 Based on:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 libpng versions 0.97, January 1998, through 1.7.0beta78 - January 16, 2016
 | 
					 libpng versions 0.97, January 1998, through 1.7.0beta78 - January 23, 2016
 | 
				
			||||||
 Updated and distributed by Glenn Randers-Pehrson
 | 
					 Updated and distributed by Glenn Randers-Pehrson
 | 
				
			||||||
 Copyright (c) 1998-2015 Glenn Randers-Pehrson
 | 
					 Copyright (c) 1998-2015 Glenn Randers-Pehrson
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -4070,6 +4070,13 @@ be written:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
      Write the image to the named file.
 | 
					      Write the image to the named file.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					   int png_image_write_to_memory (png_imagep image, void *memory,
 | 
				
			||||||
 | 
					      png_alloc_size_t * PNG_RESTRICT memory_bytes,
 | 
				
			||||||
 | 
					      int convert_to_8_bit, const void *buffer, ptrdiff_t row_stride,
 | 
				
			||||||
 | 
					      const void *colormap));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      Write the image to memory.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
   int png_image_write_to_stdio(png_imagep image, FILE *file,
 | 
					   int png_image_write_to_stdio(png_imagep image, FILE *file,
 | 
				
			||||||
      int convert_to_8_bit, const void *buffer,
 | 
					      int convert_to_8_bit, const void *buffer,
 | 
				
			||||||
      png_int_32 row_stride, const void *colormap)
 | 
					      png_int_32 row_stride, const void *colormap)
 | 
				
			||||||
@ -4981,6 +4988,7 @@ includes the following:
 | 
				
			|||||||
     png_image_free()
 | 
					     png_image_free()
 | 
				
			||||||
   write functions
 | 
					   write functions
 | 
				
			||||||
     png_image_write_to_file()
 | 
					     png_image_write_to_file()
 | 
				
			||||||
 | 
					     png_image_write_to_memory()
 | 
				
			||||||
     png_image_write_to_stdio()
 | 
					     png_image_write_to_stdio()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Starting with libpng-1.6.0, you can configure libpng to prefix all exported
 | 
					Starting with libpng-1.6.0, you can configure libpng to prefix all exported
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										22
									
								
								libpng.3
									
									
									
									
									
								
							
							
						
						
									
										22
									
								
								libpng.3
									
									
									
									
									
								
							@ -1,4 +1,4 @@
 | 
				
			|||||||
.TH LIBPNG 3 "January 16, 2016"
 | 
					.TH LIBPNG 3 "January 23, 2016"
 | 
				
			||||||
.SH NAME
 | 
					.SH NAME
 | 
				
			||||||
libpng \- Portable Network Graphics (PNG) Reference Library 1.7.0beta78
 | 
					libpng \- Portable Network Graphics (PNG) Reference Library 1.7.0beta78
 | 
				
			||||||
.SH SYNOPSIS
 | 
					.SH SYNOPSIS
 | 
				
			||||||
@ -225,6 +225,8 @@ libpng \- Portable Network Graphics (PNG) Reference Library 1.7.0beta78
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
\fBint png_image_write_to_file (png_imagep \fP\fIimage\fP\fB, const char \fP\fI*file\fP\fB, int \fP\fIconvert_to_8bit\fP\fB, const void \fP\fI*buffer\fP\fB, png_int_32 \fP\fIrow_stride\fP\fB, void \fI*colormap\fP\fB);\fP
 | 
					\fBint png_image_write_to_file (png_imagep \fP\fIimage\fP\fB, const char \fP\fI*file\fP\fB, int \fP\fIconvert_to_8bit\fP\fB, const void \fP\fI*buffer\fP\fB, png_int_32 \fP\fIrow_stride\fP\fB, void \fI*colormap\fP\fB);\fP
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					\fBint png_image_write_to_memory (png_imagep \fP\fIimage\fP\fB, void \fP\fI*memory\fP\fB, png_alloc_size_t * PNG_RESTRICT \fP\fImemory_bytes\fP\fB, int \fP\fIconvert_to_8_bit\fP\fB, const void \fP\fI*buffer\fP\fB, png_int_32 \fP\fIrow_stride\fP\fB, const void \fI*colormap)\fP\fB);\fP
 | 
				
			||||||
 | 
					
 | 
				
			||||||
\fBint png_image_write_to_stdio (png_imagep \fP\fIimage\fP\fB, FILE \fP\fI*file\fP\fB, int \fP\fIconvert_to_8_bit\fP\fB, const void \fP\fI*buffer\fP\fB, png_int_32 \fP\fIrow_stride\fP\fB, void \fI*colormap)\fP\fB);\fP
 | 
					\fBint png_image_write_to_stdio (png_imagep \fP\fIimage\fP\fB, FILE \fP\fI*file\fP\fB, int \fP\fIconvert_to_8_bit\fP\fB, const void \fP\fI*buffer\fP\fB, png_int_32 \fP\fIrow_stride\fP\fB, void \fI*colormap)\fP\fB);\fP
 | 
				
			||||||
 | 
					
 | 
				
			||||||
\fBvoid png_init_io (png_structp \fP\fIpng_ptr\fP\fB, FILE \fI*fp\fP\fB);\fP
 | 
					\fBvoid png_init_io (png_structp \fP\fIpng_ptr\fP\fB, FILE \fI*fp\fP\fB);\fP
 | 
				
			||||||
@ -498,7 +500,7 @@ Following is a copy of the libpng-manual.txt file that accompanies libpng.
 | 
				
			|||||||
.SH LIBPNG.TXT
 | 
					.SH LIBPNG.TXT
 | 
				
			||||||
libpng-manual.txt - A description on how to use and modify libpng
 | 
					libpng-manual.txt - A description on how to use and modify libpng
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 libpng version 1.7.0beta78 - January 16, 2016
 | 
					 libpng version 1.7.0beta78 - January 23, 2016
 | 
				
			||||||
 Updated and distributed by Glenn Randers-Pehrson
 | 
					 Updated and distributed by Glenn Randers-Pehrson
 | 
				
			||||||
 <glennrp at users.sourceforge.net>
 | 
					 <glennrp at users.sourceforge.net>
 | 
				
			||||||
 Copyright (c) 1998-2015 Glenn Randers-Pehrson
 | 
					 Copyright (c) 1998-2015 Glenn Randers-Pehrson
 | 
				
			||||||
@ -509,7 +511,7 @@ libpng-manual.txt - A description on how to use and modify libpng
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
 Based on:
 | 
					 Based on:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 libpng versions 0.97, January 1998, through 1.7.0beta78 - January 16, 2016
 | 
					 libpng versions 0.97, January 1998, through 1.7.0beta78 - January 23, 2016
 | 
				
			||||||
 Updated and distributed by Glenn Randers-Pehrson
 | 
					 Updated and distributed by Glenn Randers-Pehrson
 | 
				
			||||||
 Copyright (c) 1998-2015 Glenn Randers-Pehrson
 | 
					 Copyright (c) 1998-2015 Glenn Randers-Pehrson
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -4568,6 +4570,13 @@ be written:
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
      Write the image to the named file.
 | 
					      Write the image to the named file.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					   int png_image_write_to_memory (png_imagep image, void *memory,
 | 
				
			||||||
 | 
					      png_alloc_size_t * PNG_RESTRICT memory_bytes,
 | 
				
			||||||
 | 
					      int convert_to_8_bit, const void *buffer, ptrdiff_t row_stride,
 | 
				
			||||||
 | 
					      const void *colormap));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      Write the image to memory.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
   int png_image_write_to_stdio(png_imagep image, FILE *file,
 | 
					   int png_image_write_to_stdio(png_imagep image, FILE *file,
 | 
				
			||||||
      int convert_to_8_bit, const void *buffer,
 | 
					      int convert_to_8_bit, const void *buffer,
 | 
				
			||||||
      png_int_32 row_stride, const void *colormap)
 | 
					      png_int_32 row_stride, const void *colormap)
 | 
				
			||||||
@ -5479,6 +5488,7 @@ includes the following:
 | 
				
			|||||||
     png_image_free()
 | 
					     png_image_free()
 | 
				
			||||||
   write functions
 | 
					   write functions
 | 
				
			||||||
     png_image_write_to_file()
 | 
					     png_image_write_to_file()
 | 
				
			||||||
 | 
					     png_image_write_to_memory()
 | 
				
			||||||
     png_image_write_to_stdio()
 | 
					     png_image_write_to_stdio()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Starting with libpng-1.6.0, you can configure libpng to prefix all exported
 | 
					Starting with libpng-1.6.0, you can configure libpng to prefix all exported
 | 
				
			||||||
@ -5991,7 +6001,7 @@ possible without all of you.
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
Thanks to Frank J. T. Wojcik for helping with the documentation.
 | 
					Thanks to Frank J. T. Wojcik for helping with the documentation.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Libpng version 1.7.0beta78 - January 16, 2016:
 | 
					Libpng version 1.7.0beta78 - January 23, 2016:
 | 
				
			||||||
Initially created in 1995 by Guy Eric Schalnat, then of Group 42, Inc.
 | 
					Initially created in 1995 by Guy Eric Schalnat, then of Group 42, Inc.
 | 
				
			||||||
Currently maintained by Glenn Randers-Pehrson (glennrp at users.sourceforge.net).
 | 
					Currently maintained by Glenn Randers-Pehrson (glennrp at users.sourceforge.net).
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -6016,7 +6026,7 @@ this sentence.
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
This code is released under the libpng license.
 | 
					This code is released under the libpng license.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
libpng versions 1.0.7, July 1, 2000, through 1.7.0beta78, January 16, 2016, are
 | 
					libpng versions 1.0.7, July 1, 2000, through 1.7.0beta78, January 23, 2016, are
 | 
				
			||||||
Copyright (c) 2000-2002, 2004, 2006-2016 Glenn Randers-Pehrson, are
 | 
					Copyright (c) 2000-2002, 2004, 2006-2016 Glenn Randers-Pehrson, are
 | 
				
			||||||
derived from libpng-1.0.6, and are distributed according to the same
 | 
					derived from libpng-1.0.6, and are distributed according to the same
 | 
				
			||||||
disclaimer and license as libpng-1.0.6 with the following individuals
 | 
					disclaimer and license as libpng-1.0.6 with the following individuals
 | 
				
			||||||
@ -6115,7 +6125,7 @@ the additional disclaimers inserted at version 1.0.7.
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
Glenn Randers-Pehrson
 | 
					Glenn Randers-Pehrson
 | 
				
			||||||
glennrp at users.sourceforge.net
 | 
					glennrp at users.sourceforge.net
 | 
				
			||||||
January 16, 2016
 | 
					January 23, 2016
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.\" end of man page
 | 
					.\" end of man page
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user