# Deprecated List (/api/deprecated)



\*&#x2A;Global <ApiLink name="lv_image_buf_free" />  (<ApiLink name="lv_image_dsc_t" /> &#x2A;dsc)**
: <span id="deprecated_1_deprecated000002" />Use lv\_draw\_buffer\_create/destroy instead. Free the data pointer and dsc struct of an image.

\*&#x2A;Global <ApiLink name="lv_image_buf_set_palette" />  (<ApiLink name="lv_image_dsc_t" /> &#x2A;dsc, uint8\_t id, <ApiLink name="lv_color32_t" /> c)**
: <span id="deprecated_1_deprecated000001" />Use lv\_draw\_buf\_set\_palette instead.

\*&#x2A;Global <ApiLink name="lv_snapshot_free" />  (<ApiLink name="lv_image_dsc_t" /> &#x2A;dsc)**
: <span id="deprecated_1_deprecated000003" />Use `lv_draw_buf_destroy` instead.

\*\*Global <ApiLink name="lv_snapshot_take_to_buf" />  (lv\_obj\_t \*obj, lv\_color\_format\_t cf, <ApiLink name="lv_image_dsc_t" /> &#x2A;dsc, void &#x2A;buf, uint32\_t buf\_size)**
: <span id="deprecated_1_deprecated000004" />Use lv\_snapshot\_take\_to\_draw\_buf instead.

\*&#x2A;Global <ApiLink name="lv_textarea_set_align" />  (lv\_obj\_t &#x2A;obj, lv\_text\_align\_t align)**
: <span id="deprecated_1_deprecated000005" />Use the normal text\_align style property instead Set the label's alignment. It sets where the label is aligned (in one line mode it can be smaller than the text area) and how the lines of the area align in case of multiline text area
