<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Groupdocs API References – com.groupdocs.editor.htmlcss.resources.images</title>
    <link>/editor/java/com.groupdocs.editor.htmlcss.resources.images/</link>
    <description>Recent content in com.groupdocs.editor.htmlcss.resources.images on Groupdocs API References</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    
	  <atom:link href="/editor/java/com.groupdocs.editor.htmlcss.resources.images/index.xml" rel="self" type="application/rss+xml" />
    
    
      
        
      
    
    
    <item>
      <title>Java: Dimensions</title>
      <link>/editor/java/com.groupdocs.editor.htmlcss.resources.images/dimensions/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/editor/java/com.groupdocs.editor.htmlcss.resources.images/dimensions/</guid>
      <description>
        
        
        &lt;p&gt;&lt;strong&gt;Inheritance:&lt;/strong&gt;
java.lang.Object&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public class Dimensions
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Represents the linear dimensions (width and height) of one raster rectangular image in arbitrary unit. Immutable struct.&lt;/p&gt;
&lt;h2 id=&#34;constructors&#34;&gt;Constructors&lt;/h2&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Constructor&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#Dimensions-int-int-&#34;&gt;Dimensions(int width, int height)&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Creates a new instance from specified width and height&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id=&#34;methods&#34;&gt;Methods&lt;/h2&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Method&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#getWidth--&#34;&gt;getWidth()&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Returns width of the image&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#getHeight--&#34;&gt;getHeight()&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Returns height of the image&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#isSquare--&#34;&gt;isSquare()&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Determines whether specified &amp;lsquo;Dimensions&amp;rsquo; represents square, i.e.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#getArea--&#34;&gt;getArea()&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Returns an area (Width x Height)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#isEmpty--&#34;&gt;isEmpty()&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Determines whether this &amp;ldquo;Dimensions&amp;rdquo; instance is empty and default, i.e.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#getAspectRatio--&#34;&gt;getAspectRatio()&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Aspect ratio of this dimensions as width/height&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#proportionallyResizeForNewWidth-int-&#34;&gt;proportionallyResizeForNewWidth(int targetWidth)&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Creates and returns new &amp;ldquo;Dimensions&amp;rdquo; instance, which is proportionally resized from current, based on specified width&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#proportionallyResizeForNewHeight-int-&#34;&gt;proportionallyResizeForNewHeight(int targetHeight)&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Creates and returns new &amp;ldquo;Dimensions&amp;rdquo; instance, which is proportionally resized from current, based on specified height&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#equals-com.groupdocs.editor.htmlcss.resources.images.Dimensions-&#34;&gt;equals(Dimensions other)&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Determines whether this instance is equal with specified &amp;ldquo;Dimensions&amp;rdquo; instance&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#equals-java.lang.Object-&#34;&gt;equals(Object obj)&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Determines whether this instance is equal with specified uncasted object, which presumably is another &amp;ldquo;Dimensions&amp;rdquo; instance&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#hashCode--&#34;&gt;hashCode()&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Returns a hashcode for this instance, which cannot be changed during its lifetime&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#op-Equality-com.groupdocs.editor.htmlcss.resources.images.Dimensions-com.groupdocs.editor.htmlcss.resources.images.Dimensions-&#34;&gt;op_Equality(Dimensions first, Dimensions second)&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Checks whether two &amp;ldquo;Dimensions&amp;rdquo; values are equal, i.e.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#op-Inequality-com.groupdocs.editor.htmlcss.resources.images.Dimensions-com.groupdocs.editor.htmlcss.resources.images.Dimensions-&#34;&gt;op_Inequality(Dimensions first, Dimensions second)&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Checks whether two &amp;ldquo;Dimensions&amp;rdquo; values are not equal, i.e.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#toString--&#34;&gt;toString()&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Returns a string representation of this &amp;ldquo;Dimensions&amp;rdquo;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#deepClone--&#34;&gt;deepClone()&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Returns a full copy of this instance&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#getEmpty--&#34;&gt;getEmpty()&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Returns an empty Dimensions instance&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h3 id=&#34;Dimensions-int-int-&#34;&gt;Dimensions(int width, int height)&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public Dimensions(int width, int height)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Creates a new instance from specified width and height&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Parameters:&lt;/strong&gt;&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Parameter&lt;/th&gt;
&lt;th&gt;Type&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;width&lt;/td&gt;
&lt;td&gt;int&lt;/td&gt;
&lt;td&gt;Width of image&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;height&lt;/td&gt;
&lt;td&gt;int&lt;/td&gt;
&lt;td&gt;Height of image&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h3 id=&#34;getWidth--&#34;&gt;getWidth()&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public final int getWidth()
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Returns width of the image&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Returns:&lt;/strong&gt;
int&lt;/p&gt;
&lt;h3 id=&#34;getHeight--&#34;&gt;getHeight()&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public final int getHeight()
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Returns height of the image&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Returns:&lt;/strong&gt;
int&lt;/p&gt;
&lt;h3 id=&#34;isSquare--&#34;&gt;isSquare()&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public final boolean isSquare()
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Determines whether specified &amp;lsquo;Dimensions&amp;rsquo; represents square, i.e. if width is equal to height&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Returns:&lt;/strong&gt;
boolean&lt;/p&gt;
&lt;h3 id=&#34;getArea--&#34;&gt;getArea()&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public final long getArea()
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Returns an area (Width x Height)&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Returns:&lt;/strong&gt;
long&lt;/p&gt;
&lt;h3 id=&#34;isEmpty--&#34;&gt;isEmpty()&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public final boolean isEmpty()
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Determines whether this &amp;ldquo;Dimensions&amp;rdquo; instance is empty and default, i.e. it doesn&amp;rsquo;t store correct width and height&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Returns:&lt;/strong&gt;
boolean&lt;/p&gt;
&lt;h3 id=&#34;getAspectRatio--&#34;&gt;getAspectRatio()&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public final Ratio getAspectRatio()
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Aspect ratio of this dimensions as width/height&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Returns:&lt;/strong&gt;
&lt;a href=&#34;../../com.groupdocs.editor.htmlcss.css.datatypes/ratio&#34;&gt;Ratio&lt;/a&gt;&lt;/p&gt;
&lt;h3 id=&#34;proportionallyResizeForNewWidth-int-&#34;&gt;proportionallyResizeForNewWidth(int targetWidth)&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public final Dimensions proportionallyResizeForNewWidth(int targetWidth)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Creates and returns new &amp;ldquo;Dimensions&amp;rdquo; instance, which is proportionally resized from current, based on specified width&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Parameters:&lt;/strong&gt;&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Parameter&lt;/th&gt;
&lt;th&gt;Type&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;targetWidth&lt;/td&gt;
&lt;td&gt;int&lt;/td&gt;
&lt;td&gt;New target width, that will be present in resultant Dimension&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;strong&gt;Returns:&lt;/strong&gt;
&lt;a href=&#34;../../com.groupdocs.editor.htmlcss.resources.images/dimensions&#34;&gt;Dimensions&lt;/a&gt; - New &amp;ldquo;Dimensions&amp;rdquo; instance with specified target width and proportionally resized height&lt;/p&gt;
&lt;h3 id=&#34;proportionallyResizeForNewHeight-int-&#34;&gt;proportionallyResizeForNewHeight(int targetHeight)&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public final Dimensions proportionallyResizeForNewHeight(int targetHeight)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Creates and returns new &amp;ldquo;Dimensions&amp;rdquo; instance, which is proportionally resized from current, based on specified height&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Parameters:&lt;/strong&gt;&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Parameter&lt;/th&gt;
&lt;th&gt;Type&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;targetHeight&lt;/td&gt;
&lt;td&gt;int&lt;/td&gt;
&lt;td&gt;New target height, that will be present in resultant Dimension&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;strong&gt;Returns:&lt;/strong&gt;
&lt;a href=&#34;../../com.groupdocs.editor.htmlcss.resources.images/dimensions&#34;&gt;Dimensions&lt;/a&gt; - New &amp;ldquo;Dimensions&amp;rdquo; instance with specified target height and proportionally resized width&lt;/p&gt;
&lt;h3 id=&#34;equals-com.groupdocs.editor.htmlcss.resources.images.Dimensions-&#34;&gt;equals(Dimensions other)&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public final boolean equals(Dimensions other)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Determines whether this instance is equal with specified &amp;ldquo;Dimensions&amp;rdquo; instance&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Parameters:&lt;/strong&gt;&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Parameter&lt;/th&gt;
&lt;th&gt;Type&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;other&lt;/td&gt;
&lt;td&gt;&lt;a href=&#34;../../com.groupdocs.editor.htmlcss.resources.images/dimensions&#34;&gt;Dimensions&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Other &amp;ldquo;Dimensions&amp;rdquo; instance to check on equality&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;strong&gt;Returns:&lt;/strong&gt;
boolean - True if are equal, false if are not equal&lt;/p&gt;
&lt;h3 id=&#34;equals-java.lang.Object-&#34;&gt;equals(Object obj)&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public boolean equals(Object obj)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Determines whether this instance is equal with specified uncasted object, which presumably is another &amp;ldquo;Dimensions&amp;rdquo; instance&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Parameters:&lt;/strong&gt;&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Parameter&lt;/th&gt;
&lt;th&gt;Type&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;obj&lt;/td&gt;
&lt;td&gt;java.lang.Object&lt;/td&gt;
&lt;td&gt;Other object, that is presumably of &amp;ldquo;Dimensions&amp;rdquo; type, that should be checked on equality with this&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;strong&gt;Returns:&lt;/strong&gt;
boolean - True if are equal, false if are not equal&lt;/p&gt;
&lt;h3 id=&#34;hashCode--&#34;&gt;hashCode()&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public int hashCode()
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Returns a hashcode for this instance, which cannot be changed during its lifetime&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Returns:&lt;/strong&gt;
int - Immutable (for this instance) hash-code as signed 4-byte integer&lt;/p&gt;
&lt;h3 id=&#34;op-Equality-com.groupdocs.editor.htmlcss.resources.images.Dimensions-com.groupdocs.editor.htmlcss.resources.images.Dimensions-&#34;&gt;op_Equality(Dimensions first, Dimensions second)&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public static boolean op_Equality(Dimensions first, Dimensions second)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Checks whether two &amp;ldquo;Dimensions&amp;rdquo; values are equal, i.e. they have equal width and height, or both are empty&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Parameters:&lt;/strong&gt;&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Parameter&lt;/th&gt;
&lt;th&gt;Type&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;first&lt;/td&gt;
&lt;td&gt;&lt;a href=&#34;../../com.groupdocs.editor.htmlcss.resources.images/dimensions&#34;&gt;Dimensions&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;First instance to check&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;second&lt;/td&gt;
&lt;td&gt;&lt;a href=&#34;../../com.groupdocs.editor.htmlcss.resources.images/dimensions&#34;&gt;Dimensions&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Second instance to check&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;strong&gt;Returns:&lt;/strong&gt;
boolean - True if are equal, false if are not equal&lt;/p&gt;
&lt;h3 id=&#34;op-Inequality-com.groupdocs.editor.htmlcss.resources.images.Dimensions-com.groupdocs.editor.htmlcss.resources.images.Dimensions-&#34;&gt;op_Inequality(Dimensions first, Dimensions second)&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public static boolean op_Inequality(Dimensions first, Dimensions second)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Checks whether two &amp;ldquo;Dimensions&amp;rdquo; values are not equal, i.e. their corresponding width and/or height are different&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Parameters:&lt;/strong&gt;&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Parameter&lt;/th&gt;
&lt;th&gt;Type&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;first&lt;/td&gt;
&lt;td&gt;&lt;a href=&#34;../../com.groupdocs.editor.htmlcss.resources.images/dimensions&#34;&gt;Dimensions&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;First instance to check&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;second&lt;/td&gt;
&lt;td&gt;&lt;a href=&#34;../../com.groupdocs.editor.htmlcss.resources.images/dimensions&#34;&gt;Dimensions&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Second instance to check&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;strong&gt;Returns:&lt;/strong&gt;
boolean - True if are unequal, false if are equal&lt;/p&gt;
&lt;h3 id=&#34;toString--&#34;&gt;toString()&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public String toString()
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Returns a string representation of this &amp;ldquo;Dimensions&amp;rdquo;&lt;/p&gt;
&lt;hr&gt;
&lt;blockquote&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;W640×H480
&lt;/code&gt;&lt;/pre&gt;&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;Returns:&lt;/strong&gt;
java.lang.String - String instance, that contains a width and height in W:(width)×H:(height) format&lt;/p&gt;
&lt;h3 id=&#34;deepClone--&#34;&gt;deepClone()&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public final Dimensions deepClone()
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Returns a full copy of this instance&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Returns:&lt;/strong&gt;
&lt;a href=&#34;../../com.groupdocs.editor.htmlcss.resources.images/dimensions&#34;&gt;Dimensions&lt;/a&gt; - New instance, that is a full and deep copy of this one&lt;/p&gt;
&lt;h3 id=&#34;getEmpty--&#34;&gt;getEmpty()&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public static Dimensions getEmpty()
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Returns an empty Dimensions instance&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Returns:&lt;/strong&gt;
&lt;a href=&#34;../../com.groupdocs.editor.htmlcss.resources.images/dimensions&#34;&gt;Dimensions&lt;/a&gt;&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Java: ImageType</title>
      <link>/editor/java/com.groupdocs.editor.htmlcss.resources.images/imagetype/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/editor/java/com.groupdocs.editor.htmlcss.resources.images/imagetype/</guid>
      <description>
        
        
        &lt;p&gt;&lt;strong&gt;Inheritance:&lt;/strong&gt;
java.lang.Object&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;All Implemented Interfaces:&lt;/strong&gt;
&lt;a href=&#34;../../com.groupdocs.editor.htmlcss.resources/iresourcetype&#34;&gt;com.groupdocs.editor.htmlcss.resources.IResourceType&lt;/a&gt;&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public class ImageType implements IResourceType
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Represents one supportable image type (format), supports both raster and vector formats&lt;/p&gt;
&lt;h2 id=&#34;constructors&#34;&gt;Constructors&lt;/h2&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Constructor&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#ImageType--&#34;&gt;ImageType()&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h2 id=&#34;methods&#34;&gt;Methods&lt;/h2&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Method&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#getUndefined--&#34;&gt;getUndefined()&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Undefined image type - special value, which should not normally occur&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#getJpeg--&#34;&gt;getJpeg()&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;JPEG image type&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#getPng--&#34;&gt;getPng()&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;PNG image type&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#getBmp--&#34;&gt;getBmp()&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;BMP image type&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#getGif--&#34;&gt;getGif()&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;GIF image type&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#getIcon--&#34;&gt;getIcon()&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;ICON image type&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#getSvg--&#34;&gt;getSvg()&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;SVG vector image type&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#getWmf--&#34;&gt;getWmf()&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;WMF (Windows MetaFile) vector image type&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#getEmf--&#34;&gt;getEmf()&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;EMF (Enhanced MetaFile) vector image type&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#getTiff--&#34;&gt;getTiff()&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;TIFF (Tagged Image File Format) raster image type&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#getFormalName--&#34;&gt;getFormalName()&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Returns a formal name of this image format.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#isVector--&#34;&gt;isVector()&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Indicates whether this particular format is vector (true) or raster (false)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#getFileExtension--&#34;&gt;getFileExtension()&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;File extension (without leading dot character) of a particular image type in lower case.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#toString--&#34;&gt;toString()&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Returns a FormalName property&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#getMimeCode--&#34;&gt;getMimeCode()&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;MIME code of a particular image type as a string.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#equals-com.groupdocs.editor.htmlcss.resources.images.ImageType-&#34;&gt;equals(ImageType other)&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Determines whether this instance is equal with specified &amp;ldquo;ImageType&amp;rdquo; instance&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#equals-java.lang.Object-&#34;&gt;equals(Object obj)&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Determines whether this instance is equal with specified uncasted object, which presumably is another &amp;ldquo;ImageType&amp;rdquo; instance&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#op-Equality-com.groupdocs.editor.htmlcss.resources.images.ImageType-com.groupdocs.editor.htmlcss.resources.images.ImageType-&#34;&gt;op_Equality(ImageType first, ImageType second)&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Defines whether two specific ImageType instances are equal&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#op-Inequality-com.groupdocs.editor.htmlcss.resources.images.ImageType-com.groupdocs.editor.htmlcss.resources.images.ImageType-&#34;&gt;op_Inequality(ImageType first, ImageType second)&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Defines whether two specific ImageType instances are not equal&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#hashCode--&#34;&gt;hashCode()&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Returns a hash-code, which is an immutable number for this specific instance&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#parseFromFilenameWithExtension-java.lang.String-&#34;&gt;parseFromFilenameWithExtension(String filename)&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Returns ImageType value, which is equivalent of filename extension, which is extracted from specified filename&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#parseFromMime-java.lang.String-&#34;&gt;parseFromMime(String mimeCode)&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Returns ImageType value, which is equivalent of specified MIME code&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h3 id=&#34;ImageType--&#34;&gt;ImageType()&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public ImageType()
&lt;/code&gt;&lt;/pre&gt;&lt;h3 id=&#34;getUndefined--&#34;&gt;getUndefined()&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public static ImageType getUndefined()
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Undefined image type - special value, which should not normally occur&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Returns:&lt;/strong&gt;
&lt;a href=&#34;../../com.groupdocs.editor.htmlcss.resources.images/imagetype&#34;&gt;ImageType&lt;/a&gt;&lt;/p&gt;
&lt;h3 id=&#34;getJpeg--&#34;&gt;getJpeg()&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public static ImageType getJpeg()
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;JPEG image type&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Returns:&lt;/strong&gt;
&lt;a href=&#34;../../com.groupdocs.editor.htmlcss.resources.images/imagetype&#34;&gt;ImageType&lt;/a&gt;&lt;/p&gt;
&lt;h3 id=&#34;getPng--&#34;&gt;getPng()&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public static ImageType getPng()
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;PNG image type&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Returns:&lt;/strong&gt;
&lt;a href=&#34;../../com.groupdocs.editor.htmlcss.resources.images/imagetype&#34;&gt;ImageType&lt;/a&gt;&lt;/p&gt;
&lt;h3 id=&#34;getBmp--&#34;&gt;getBmp()&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public static ImageType getBmp()
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;BMP image type&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Returns:&lt;/strong&gt;
&lt;a href=&#34;../../com.groupdocs.editor.htmlcss.resources.images/imagetype&#34;&gt;ImageType&lt;/a&gt;&lt;/p&gt;
&lt;h3 id=&#34;getGif--&#34;&gt;getGif()&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public static ImageType getGif()
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;GIF image type&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Returns:&lt;/strong&gt;
&lt;a href=&#34;../../com.groupdocs.editor.htmlcss.resources.images/imagetype&#34;&gt;ImageType&lt;/a&gt;&lt;/p&gt;
&lt;h3 id=&#34;getIcon--&#34;&gt;getIcon()&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public static ImageType getIcon()
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;ICON image type&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Returns:&lt;/strong&gt;
&lt;a href=&#34;../../com.groupdocs.editor.htmlcss.resources.images/imagetype&#34;&gt;ImageType&lt;/a&gt;&lt;/p&gt;
&lt;h3 id=&#34;getSvg--&#34;&gt;getSvg()&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public static ImageType getSvg()
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;SVG vector image type&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Returns:&lt;/strong&gt;
&lt;a href=&#34;../../com.groupdocs.editor.htmlcss.resources.images/imagetype&#34;&gt;ImageType&lt;/a&gt;&lt;/p&gt;
&lt;h3 id=&#34;getWmf--&#34;&gt;getWmf()&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public static ImageType getWmf()
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;WMF (Windows MetaFile) vector image type&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Returns:&lt;/strong&gt;
&lt;a href=&#34;../../com.groupdocs.editor.htmlcss.resources.images/imagetype&#34;&gt;ImageType&lt;/a&gt;&lt;/p&gt;
&lt;h3 id=&#34;getEmf--&#34;&gt;getEmf()&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public static ImageType getEmf()
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;EMF (Enhanced MetaFile) vector image type&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Returns:&lt;/strong&gt;
&lt;a href=&#34;../../com.groupdocs.editor.htmlcss.resources.images/imagetype&#34;&gt;ImageType&lt;/a&gt;&lt;/p&gt;
&lt;h3 id=&#34;getTiff--&#34;&gt;getTiff()&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public static ImageType getTiff()
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;TIFF (Tagged Image File Format) raster image type&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Returns:&lt;/strong&gt;
&lt;a href=&#34;../../com.groupdocs.editor.htmlcss.resources.images/imagetype&#34;&gt;ImageType&lt;/a&gt;&lt;/p&gt;
&lt;h3 id=&#34;getFormalName--&#34;&gt;getFormalName()&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public final String getFormalName()
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Returns a formal name of this image format. Never reurns NULL. If instance is not corrupted, never throws an exception.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Returns:&lt;/strong&gt;
java.lang.String&lt;/p&gt;
&lt;h3 id=&#34;isVector--&#34;&gt;isVector()&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public final boolean isVector()
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Indicates whether this particular format is vector (true) or raster (false)&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Returns:&lt;/strong&gt;
boolean&lt;/p&gt;
&lt;h3 id=&#34;getFileExtension--&#34;&gt;getFileExtension()&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public final String getFileExtension()
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;File extension (without leading dot character) of a particular image type in lower case. For the Undefined type returns a string &amp;lsquo;unsefined&amp;rsquo;.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Returns:&lt;/strong&gt;
java.lang.String&lt;/p&gt;
&lt;h3 id=&#34;toString--&#34;&gt;toString()&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public String toString()
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Returns a FormalName property&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Returns:&lt;/strong&gt;
java.lang.String -&lt;/p&gt;
&lt;h3 id=&#34;getMimeCode--&#34;&gt;getMimeCode()&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public final String getMimeCode()
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;MIME code of a particular image type as a string. For the Undefined type returns a string &amp;lsquo;unsefined&amp;rsquo;.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Returns:&lt;/strong&gt;
java.lang.String&lt;/p&gt;
&lt;h3 id=&#34;equals-com.groupdocs.editor.htmlcss.resources.images.ImageType-&#34;&gt;equals(ImageType other)&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public final boolean equals(ImageType other)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Determines whether this instance is equal with specified &amp;ldquo;ImageType&amp;rdquo; instance&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Parameters:&lt;/strong&gt;&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Parameter&lt;/th&gt;
&lt;th&gt;Type&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;other&lt;/td&gt;
&lt;td&gt;&lt;a href=&#34;../../com.groupdocs.editor.htmlcss.resources.images/imagetype&#34;&gt;ImageType&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Other ImageType instance to check on equality with this&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;strong&gt;Returns:&lt;/strong&gt;
boolean - True if are equal, false if are unequal&lt;/p&gt;
&lt;h3 id=&#34;equals-java.lang.Object-&#34;&gt;equals(Object obj)&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public boolean equals(Object obj)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Determines whether this instance is equal with specified uncasted object, which presumably is another &amp;ldquo;ImageType&amp;rdquo; instance&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Parameters:&lt;/strong&gt;&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Parameter&lt;/th&gt;
&lt;th&gt;Type&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;obj&lt;/td&gt;
&lt;td&gt;java.lang.Object&lt;/td&gt;
&lt;td&gt;Other System.Object instance, that is presumably of ImageType type, to check on equality with this&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;strong&gt;Returns:&lt;/strong&gt;
boolean - True if are equal, false if are unequal&lt;/p&gt;
&lt;h3 id=&#34;op-Equality-com.groupdocs.editor.htmlcss.resources.images.ImageType-com.groupdocs.editor.htmlcss.resources.images.ImageType-&#34;&gt;op_Equality(ImageType first, ImageType second)&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public static boolean op_Equality(ImageType first, ImageType second)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Defines whether two specific ImageType instances are equal&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Parameters:&lt;/strong&gt;&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Parameter&lt;/th&gt;
&lt;th&gt;Type&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;first&lt;/td&gt;
&lt;td&gt;&lt;a href=&#34;../../com.groupdocs.editor.htmlcss.resources.images/imagetype&#34;&gt;ImageType&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;First ImageType instance to check&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;second&lt;/td&gt;
&lt;td&gt;&lt;a href=&#34;../../com.groupdocs.editor.htmlcss.resources.images/imagetype&#34;&gt;ImageType&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Second ImageType instance to check&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;strong&gt;Returns:&lt;/strong&gt;
boolean - True if are equal, false if are unequal&lt;/p&gt;
&lt;h3 id=&#34;op-Inequality-com.groupdocs.editor.htmlcss.resources.images.ImageType-com.groupdocs.editor.htmlcss.resources.images.ImageType-&#34;&gt;op_Inequality(ImageType first, ImageType second)&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public static boolean op_Inequality(ImageType first, ImageType second)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Defines whether two specific ImageType instances are not equal&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Parameters:&lt;/strong&gt;&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Parameter&lt;/th&gt;
&lt;th&gt;Type&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;first&lt;/td&gt;
&lt;td&gt;&lt;a href=&#34;../../com.groupdocs.editor.htmlcss.resources.images/imagetype&#34;&gt;ImageType&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;First ImageType instance to check&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;second&lt;/td&gt;
&lt;td&gt;&lt;a href=&#34;../../com.groupdocs.editor.htmlcss.resources.images/imagetype&#34;&gt;ImageType&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;Second ImageType instance to check&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;strong&gt;Returns:&lt;/strong&gt;
boolean - True if are unequal, false if are equal&lt;/p&gt;
&lt;h3 id=&#34;hashCode--&#34;&gt;hashCode()&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public int hashCode()
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Returns a hash-code, which is an immutable number for this specific instance&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Returns:&lt;/strong&gt;
int - Signed 4-byte integer&lt;/p&gt;
&lt;h3 id=&#34;parseFromFilenameWithExtension-java.lang.String-&#34;&gt;parseFromFilenameWithExtension(String filename)&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public static ImageType parseFromFilenameWithExtension(String filename)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Returns ImageType value, which is equivalent of filename extension, which is extracted from specified filename&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Parameters:&lt;/strong&gt;&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Parameter&lt;/th&gt;
&lt;th&gt;Type&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;filename&lt;/td&gt;
&lt;td&gt;java.lang.String&lt;/td&gt;
&lt;td&gt;Arbitrary filename, can be a relative or full path&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;strong&gt;Returns:&lt;/strong&gt;
&lt;a href=&#34;../../com.groupdocs.editor.htmlcss.resources.images/imagetype&#34;&gt;ImageType&lt;/a&gt; - ImageType value. Returns ImageType.Undefined, if extension cannot be recognized.&lt;/p&gt;
&lt;h3 id=&#34;parseFromMime-java.lang.String-&#34;&gt;parseFromMime(String mimeCode)&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public static ImageType parseFromMime(String mimeCode)
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Returns ImageType value, which is equivalent of specified MIME code&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Parameters:&lt;/strong&gt;&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Parameter&lt;/th&gt;
&lt;th&gt;Type&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;mimeCode&lt;/td&gt;
&lt;td&gt;java.lang.String&lt;/td&gt;
&lt;td&gt;Arbitrary MIME-code&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;strong&gt;Returns:&lt;/strong&gt;
&lt;a href=&#34;../../com.groupdocs.editor.htmlcss.resources.images/imagetype&#34;&gt;ImageType&lt;/a&gt; - ImageType value. Returns ImageType.Undefined, if extension cannot be recognized.&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Java: IImage</title>
      <link>/editor/java/com.groupdocs.editor.htmlcss.resources.images/iimage/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/editor/java/com.groupdocs.editor.htmlcss.resources.images/iimage/</guid>
      <description>
        
        
        &lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public interface IImage
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Image CSS data type represents a two-dimensional image&lt;/p&gt;
&lt;hr&gt;
&lt;p&gt;&lt;a href=&#34;https://developer.mozilla.org/en-US/docs/Web/CSS/image&#34;&gt;https://developer.mozilla.org/en-US/docs/Web/CSS/image&lt;/a&gt; CSS reference declares 4 types of images, that can be handled: 1. Images with intrinsic dimensions (a natural size) and thus fixed aspect ratio, that includes all raster images. 2. Images with multiple intrinsic dimensions, existing in multiple versions inside a single file, that includes ICON (*.ico) files. This may be also TIFF, as they support multiple images inside one file, however TIFF format is not supported in web. 3. Images with no intrinsic dimensions but with an intrinsic aspect ratio between its width and height. This includes all vector images, SVG first of all. 4. Images with neither intrinsic dimensions, nor an intrinsic aspect ratio. This includes all gradients.&lt;/p&gt;

      </description>
    </item>
    
    <item>
      <title>Java: IImageResource</title>
      <link>/editor/java/com.groupdocs.editor.htmlcss.resources.images/iimageresource/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      
      <guid>/editor/java/com.groupdocs.editor.htmlcss.resources.images/iimageresource/</guid>
      <description>
        
        
        &lt;p&gt;&lt;strong&gt;All Implemented Interfaces:&lt;/strong&gt;
&lt;a href=&#34;../../com.groupdocs.editor.htmlcss.resources/ihtmlresource&#34;&gt;com.groupdocs.editor.htmlcss.resources.IHtmlResource&lt;/a&gt;, &lt;a href=&#34;../../com.groupdocs.editor.htmlcss.resources.images/iimage&#34;&gt;com.groupdocs.editor.htmlcss.resources.images.IImage&lt;/a&gt;&lt;/p&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public interface IImageResource extends IHtmlResource, IImage
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;Represents image resource of any type, raster or vector&lt;/p&gt;
&lt;hr&gt;
&lt;p&gt;&lt;a href=&#34;https://developer.mozilla.org/en-US/docs/Web/CSS/image&#34;&gt;https://developer.mozilla.org/en-US/docs/Web/CSS/image&lt;/a&gt;&lt;/p&gt;
&lt;h2 id=&#34;methods&#34;&gt;Methods&lt;/h2&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Method&lt;/th&gt;
&lt;th&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#getType--&#34;&gt;getType()&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;In implementing type should return a type of specific image as an instance of specific ImageType, which encapsulates all type-specific info&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#getAspectRatio--&#34;&gt;getAspectRatio()&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;In implementing type should return an aspect ratio of particular image regardless of its type.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;a href=&#34;#getLinearDimensions--&#34;&gt;getLinearDimensions()&lt;/a&gt;&lt;/td&gt;
&lt;td&gt;In implementing type should return linear dimensions of the image.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h3 id=&#34;getType--&#34;&gt;getType()&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public abstract ImageType getType()
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;In implementing type should return a type of specific image as an instance of specific ImageType, which encapsulates all type-specific info&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Returns:&lt;/strong&gt;
&lt;a href=&#34;../../com.groupdocs.editor.htmlcss.resources.images/imagetype&#34;&gt;ImageType&lt;/a&gt;&lt;/p&gt;
&lt;h3 id=&#34;getAspectRatio--&#34;&gt;getAspectRatio()&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public abstract Ratio getAspectRatio()
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;In implementing type should return an aspect ratio of particular image regardless of its type. Both vector and raster images have intrinsic aspect ratio between its width and height.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Returns:&lt;/strong&gt;
&lt;a href=&#34;../../com.groupdocs.editor.htmlcss.css.datatypes/ratio&#34;&gt;Ratio&lt;/a&gt; -&lt;/p&gt;
&lt;h3 id=&#34;getLinearDimensions--&#34;&gt;getLinearDimensions()&lt;/h3&gt;
&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;public abstract Dimensions getLinearDimensions()
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;In implementing type should return linear dimensions of the image. For raster images they are intrinsic dimensions in pixels. Vector images, in counterpart, have no fixed dimensions, but their metadata can contain some basic dimensions in different measurement units.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Returns:&lt;/strong&gt;
&lt;a href=&#34;../../com.groupdocs.editor.htmlcss.resources.images/dimensions&#34;&gt;Dimensions&lt;/a&gt; -&lt;/p&gt;

      </description>
    </item>
    
  </channel>
</rss>
