1999-11-04 07:30:04 +00:00
|
|
|
<!-- ##### SECTION Title ##### -->
|
2001-02-12 17:50:13 +00:00
|
|
|
File Loading
|
1999-11-04 07:30:04 +00:00
|
|
|
|
|
|
|
<!-- ##### SECTION Short_Description ##### -->
|
2001-02-12 17:50:13 +00:00
|
|
|
Loading a pixbuf from a file.
|
1999-11-04 07:30:04 +00:00
|
|
|
|
|
|
|
<!-- ##### SECTION Long_Description ##### -->
|
2001-02-12 17:50:13 +00:00
|
|
|
<para>
|
|
|
|
The &gdk-pixbuf; library provides a simple mechanism for loading
|
|
|
|
an image from a file in synchronous fashion. This means that the
|
|
|
|
library takes control of the application while the file is being
|
|
|
|
loaded; from the user's point of view, the application will block
|
|
|
|
until the image is done loading.
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
This interface can be used by applications in which blocking is
|
|
|
|
acceptable while an image is being loaded. It can also be used to
|
|
|
|
load small images in general. Applications that need progressive
|
|
|
|
loading can use the #GdkPixbufLoader functionality instead.
|
|
|
|
</para>
|
2000-12-12 07:32:32 +00:00
|
|
|
|
1999-11-04 07:30:04 +00:00
|
|
|
<!-- ##### SECTION See_Also ##### -->
|
2001-02-12 17:50:13 +00:00
|
|
|
<para>
|
|
|
|
#GdkPixbufLoader.
|
|
|
|
</para>
|
2000-12-12 07:32:32 +00:00
|
|
|
|
2000-10-29 08:03:34 +00:00
|
|
|
<!-- ##### FUNCTION gdk_pixbuf_new_from_file ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@filename:
|
|
|
|
@error:
|
2001-02-12 17:50:13 +00:00
|
|
|
@Returns: <!--
|
|
|
|
Local variables:
|
|
|
|
mode: sgml
|
|
|
|
sgml-parent-document: ("../gdk-pixbuf.sgml" "book" "refsect2" "")
|
|
|
|
End:
|
|
|
|
-->
|
2000-10-29 08:03:34 +00:00
|
|
|
|
|
|
|
|
2003-07-28 16:08:20 +00:00
|
|
|
<!-- ##### FUNCTION gdk_pixbuf_new_from_file_at_size ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@filename:
|
|
|
|
@width:
|
|
|
|
@height:
|
|
|
|
@error:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|
2004-08-31 21:15:51 +00:00
|
|
|
<!-- ##### FUNCTION gdk_pixbuf_new_from_file_at_scale ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@filename:
|
|
|
|
@width:
|
|
|
|
@height:
|
2004-09-16 06:16:38 +00:00
|
|
|
@preserve_aspect_ratio:
|
2004-08-31 21:15:51 +00:00
|
|
|
@error:
|
|
|
|
@Returns:
|
2004-09-16 06:16:38 +00:00
|
|
|
<!-- # Unused Parameters # -->
|
|
|
|
@keep_aspect_ratio:
|
2004-08-31 21:15:51 +00:00
|
|
|
|
|
|
|
|
2004-01-22 06:48:20 +00:00
|
|
|
<!-- ##### FUNCTION gdk_pixbuf_get_file_info ##### -->
|
|
|
|
<para>
|
|
|
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
@filename:
|
|
|
|
@width:
|
|
|
|
@height:
|
|
|
|
@Returns:
|
|
|
|
|
|
|
|
|