search for: forgetgravity

Displaying 2 results from an estimated 2 matches for "forgetgravity".

2007 Feb 27
2
Invisible window problem
...0x3400787 (has no name) Absolute upper-left X: 294 Absolute upper-left Y: 413 Relative upper-left X: 294 Relative upper-left Y: 413 Width: 1092 Height: 264 Depth: 0 Visual Class: TrueColor Border width: 0 Class: InputOnly Colormap: 0x0 (not installed) Bit Gravity State: ForgetGravity Window Gravity State: NorthWestGravity Backing Store State: NotUseful Save Under State: no Map State: IsViewable Override Redirect State: yes Corners: +294+413 -294+413 -294-373 +294-373 -geometry 1092x264+294+413 Is there any other debugging information I could get on this? The...
2008 Mar 20
0
Having trouble with a remote-crop-then-resize using attachment fu =(
...params[:x1].to_f*scene.wscale.to_f y1 = params[:y1].to_i*scene.hscale.to_f width = params[:width].to_f*scene.wscale.to_f height = params[:height].to_f*scene.hscale.to_f img = Magick::Image.read("#{RAILS_ROOT}/ public#{scene.avatar.public_filename}")[0] chopped = img.crop(Magick::ForgetGravity, x1, y1, width, height) path = "#{RAILS_ROOT}/public/images/avatars/yings/ #{self.id}_thing.png" chopped = chopped.write(path) #create_or_update_thumbnail(path, suffix, *size) end avatar_system.rb attr_accessor :uploaded_avatar_data def save_with_avatar(params) avatar...