Skip to content

Commit 4e60a30

Browse files
authored
Merge pull request libvips#2159 from der-eismann/fix-heifsave-filename-argument
Set correct description for heifsave argument
2 parents 6ab30ca + 13a4d9f commit 4e60a30

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cplusplus/include/vips/VImage8.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2983,7 +2983,7 @@ static VImage heifload_source( VSource source, VOption *options = 0 );
29832983
* - **background** -- Background value, std::vector<double>.
29842984
* - **page_height** -- Set page height for multipage save, int.
29852985
*
2986-
* @param filename Filename to load from.
2986+
* @param filename Filename to save to.
29872987
* @param options Set of options.
29882988
*/
29892989
void heifsave( const char *filename, VOption *options = 0 ) const;

libvips/foreign/heifsave.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ vips_foreign_save_heif_file_class_init( VipsForeignSaveHeifFileClass *class )
566566

567567
VIPS_ARG_STRING( class, "filename", 1,
568568
_( "Filename" ),
569-
_( "Filename to load from" ),
569+
_( "Filename to save to" ),
570570
VIPS_ARGUMENT_REQUIRED_INPUT,
571571
G_STRUCT_OFFSET( VipsForeignSaveHeifFile, filename ),
572572
NULL );

0 commit comments

Comments
 (0)