问题标签 [android-bitmap]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
android - SVG 到 Android 中的运行时转换位图
如何在 Android 运行时将 SVG(可缩放矢量图形)转换为位图?
如果可能的话,请向我提供确切的代码块或确切的链接。我对 Android 应用程序开发很陌生。
java - How to cut the picture into equal parts?
I have images on my android app. How cut this picture into 9 or 12 equal parts and add these parts an array?
java - 位图 getWidth 返回错误值
我的 android 应用程序可绘制文件夹中有一个 jpg 图像,分辨率为 1000x600。我像这样将该图像加载到位图
在此之后我调用bitMap .getWidth()
返回 1500。它怎么可能?以及如何获得正确的图像宽度和高度?
android - 获取附加到 ImageView 的位图
给定
是否可以检索位图?
android - android从资产中获取位图或声音
我需要从资产中获取位图和声音。我尝试这样做:
像这样:
但我得到的只是可用空间,而不是图像。
这该怎么做?
android - 如何在 Android 中获取 ImageView/Bitmap 的高度和宽度
我想获取位于ImageView
或背景图像中的图像位图的高度和宽度。请帮助我,任何帮助将不胜感激。
android - Android中的Bitmap和Drawable有什么区别?
我用谷歌搜索,但找不到任何文章来描述 Android 中 Bitmap 和 Drawable 之间的区别。
android - Android 位图到 Base64 字符串
如何将大型位图(用手机相机拍摄的照片)转换为 Base64 字符串?
android - 位图 vs ImageView vs Drawable
他们之间有什么不同?
我们在哪里以及为什么需要从一种类型转换为另一种类型?
android - 缩放图像在背景可绘制中保持其纵横比
如何使背景图像适合视图但在<bitmap />
用作背景可绘制 XML 时保持其纵横比?<bitmap>
的值都没有android:gravity
给出预期的效果。