Tag: 图像

呈现HTML到图像

有没有办法像PNG呈现HTML图像? 我知道这是可能的canvas,但我想呈现标准的HTML元素,例如div。

将图片插入SQL Server 2005图片字段只使用SQL

如何使用SQL Server 2005和Management Studio将图片插入表格的Imagetypes列? 最重要的是如何确认它是否在那里?

Java库比较图像相似性

我花了相当一段时间研究一个图书馆,使我能够比较Java中的图像。 我没有真正发现任何有用的东西,也许我的Googlesearch技能还不够高,所以我想我会问你们,如果你能指出我的方向,我可以find这样的东西。 基本上我想要做的是比较两个图像彼此,并得到两个相似的价值。 像一个百分比左右。 我希望你们有我可以使用的东西,我不知道如何写这样的东西自己… PS:它不一定是在Java中,这只是我的应用程序将运行的环境。

如何在HTML / CSS中显示图像的一部分?

比方说,我想要一种方式来显示HTML中250×250像素图像的中心50×50像素。 我怎样才能做到这一点。 另外,有没有办法做到这一点的CSS:url()引用? 我知道剪辑在CSS中,但似乎只适用于绝对定位使用。

从Photos.app获取最后一张图片?

我已经看到其他应用程序做到这一点,你可以从照片应用程序导入最后一张照片,以便快速使用,但据我所知,我只知道如何得到一个图像,而不是最后一个(最近一个)。 任何人都可以告诉我如何得到最后的形象?

在Android中的ImageButton中调整图像

我在我的活动中有6个ImageButton,我通过我的代码设置图像(不使用XML)。 我希望他们覆盖button区域的75%。 但是,如果一些图像覆盖的面积较小,有些太大而不适合imageButton。 如何以编程方式resize并显示它们? 以下是屏幕截图 下面是xml文件 <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" android:layout_marginBottom="5sp" android:layout_marginLeft="2sp" android:layout_marginRight="5sp" android:layout_marginTop="0sp" > <LinearLayout android:layout_height="0dp" android:layout_width="match_parent" android:layout_weight="1" android:orientation="horizontal"> <ImageButton android:layout_height="match_parent" android:layout_width="0dp" android:layout_weight="1" android:id="@+id/button_topleft" android:layout_marginBottom="5sp" android:layout_marginLeft="2sp" android:layout_marginRight="5sp" android:layout_marginTop="0sp" /> <ImageButton android:layout_height="match_parent" android:layout_width="0dp" android:layout_weight="1" android:id="@+id/button_topright" android:layout_marginBottom="5sp" android:layout_marginLeft="2sp" android:layout_marginRight="5sp" android:layout_marginTop="0sp" /> </LinearLayout> <LinearLayout android:layout_height="0dp" android:layout_width="match_parent" android:layout_weight="1" android:orientation="horizontal"> <ImageButton android:layout_height="match_parent" android:layout_width="0dp" android:layout_weight="1" android:id="@+id/button_repeat" […]

图像预加载器如何工作?

我很难弄清楚图像预加载器如何在java脚本中工作。 所以,如果有人能够解释他们如何与一个会帮助很多的例子。 没有jquery

如何使用VBA将图片插入指定单元格位置的Excel中

我用下面的代码将“.jpg”文件添加到我的Excel工作表中: 'Add picture to excel xlApp.Cells(i, 20).Select xlApp.ActiveSheet.Pictures.Insert(picPath).Select 'Calgulate new picture size With xlApp.Selection.ShapeRange .LockAspectRatio = msoTrue .Width = 75 .Height = 100 End With 'Resize and make printable With xlApp.Selection .Placement = 1 'xlMoveAndSize '.Placement = 2 'xlMove '.Placement = 3 'xlFreeFloating .PrintObject = True End With 我不知道我在做什么错,但它不会插入到正确的单元格,所以我应该怎么做,把这个图片到Excel中指定的单元格?

字节数组到图像对象

我给了一个Java的byte []数组,其中包含一个图像的字节,我需要输出到一个图像。 我怎么去做这个? 非常感谢

检查图像是否存在于远程URL上

我正在为图书ISBN生成图片的dynamicurl。 我需要一个可靠的方式来检查图像是否确实存在于远程URL。 我尝试了不同的PHP库,curl等各种方法,但没有一个运行良好,其中一些是彻头彻尾的缓慢。 鉴于我需要为我的数据库中的每本书生成(并检查!)约60个URL,这是一个巨大的等待时间。 任何线索?