Image Stamping patch by Diego (and peach request)- stamps image info into metadata...
authorCampbell Barton <ideasman42@gmail.com>
Sat, 20 Oct 2007 16:17:27 +0000 (16:17 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sat, 20 Oct 2007 16:17:27 +0000 (16:17 +0000)
commit46deddcc62784dab47b1f14dda0d802f5f341b18
treee3542a1b2d10f1c77e4ac5f7078f485d5b4e1006
parente5a9e0b12a6d6aa334561edaf8a839f3f1a8d7d4
Image Stamping patch by Diego (and peach request)- stamps image info into metadata and optionally
draws into the
frame.

This patch includes some changes I made...
* use blenders bitmap fonts (rather then own fonts)
* select font size
* user interface layout changes
* Marker as another image stamp option

Also added some new API calls
BMF_GetFontHeight(font);
BMF_DrawStringBuf(...);  - so we can draw text into an imbuf's image buffer.
get_frame_marker(frame) - get the last marker from the frame.
IMB_rectfill_area(...) - fill in an image buffer with a rectangle area of color.

TODO - draw stamp info in 3d view, at the moment it just displays in the animation.
23 files changed:
intern/bmfont/BMF_Api.h
intern/bmfont/intern/BMF_Api.cpp
intern/bmfont/intern/BMF_BitmapFont.cpp
intern/bmfont/intern/BMF_BitmapFont.h
source/blender/blenkernel/BKE_blender.h
source/blender/blenkernel/BKE_image.h
source/blender/blenkernel/intern/image.c
source/blender/blenloader/intern/readfile.c
source/blender/blenpluginapi/iff.h
source/blender/imbuf/IMB_imbuf.h
source/blender/imbuf/intern/IMB_imginfo.h
source/blender/imbuf/intern/imginfo.c
source/blender/imbuf/intern/png.c
source/blender/imbuf/intern/rectop.c
source/blender/imbuf/intern/thumbs.c
source/blender/include/BSE_time.h
source/blender/makesdna/DNA_scene_types.h
source/blender/src/buttons_scene.c
source/blender/src/buttons_shading.c
source/blender/src/drawview.c
source/blender/src/editmesh_tools.c
source/blender/src/edittime.c
source/blender/src/transform_constraints.c