This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'RMagick' | |
| def export_gif() | |
| newGif = Magick::ImageList.new("images/ass.png", "images/ss.png", "images/gr.jpg", "images/image512.png") | |
| newGif.write("animated.gif") | |
| end | |
| def read_image_properties() | |
| img = Magick::Image.read("images/ss.png").first |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import android.app.Activity | |
| import android.content.Context | |
| import android.util.TypedValue | |
| import android.view.ViewGroup | |
| import android.widget.FrameLayout | |
| import android.widget.LinearLayout | |
| import android.widget.RelativeLayout | |
| import android.util.DisplayMetrics | |
| object Dimension { |