Returns the resulting width of the cropped image.<p>

@return the width
973318
public int getResultingWidth() {

        int width = getResultingTargetWidth();
        if (width == -1) {
            if (isCropped()) {
                width = m_cropWidth;
            } else {
                width = m_orgWidth;
            }
        }
        return width;
    }
1333850
public static int getImageWidth(String imageLoc) {

        // Get the image as an InputStream
        InputStream is = null;
        try {
            URI imageUri = new URI(imageLoc);
            URL imageUrl = imageUri.toURL();
            is = imageUrl.openStream();
        } catch (Exception e) {
            jlogger.log(Level.SEVERE, "getImageWidth", e);

            return -1;
        }
        // Determine the image width
        try {
            // Create an image input stream on the image
            ImageInputStream iis = ImageIO.createImageInputStream(is);

            // Find all image readers that recognize the image format
            Iterator iter = ImageIO.getImageReaders(iis);

            // No readers found
            if (!iter.hasNext()) {
                return -1;
            }

            // Use the first reader
            ImageReader reader = (ImageReader) iter.next();
            reader.setInput(iis, true);
            int width = reader.getWidth(0);
            iis.close();

            return width;
        } catch (IOException e) {
            jlogger.log(Level.SEVERE, "getImageWidth", e);
            // The image could not be read
        }
        return -1;
    }
835045
public String getSrcSetEntry() {

        StringBuffer result = new StringBuffer(128);
        if (m_currentScaler.isValid()) {
            // append the image source
            result.append(getSrcUrl());
            result.append(" ");
            // append width
            result.append(m_currentScaler.getWidth());
            result.append("w");
        }
        return result.toString();
    }
1124076
private int getResultingTargetWidth() {

        int width = -1;
        if ((m_targetHeight > -1) || (m_targetWidth > -1)) {
            if (m_targetWidth > -1) {
                width = m_targetWidth;
            } else {
                width = (int)Math.floor(((1.00 * m_orgWidth) / m_orgHeight) * m_targetHeight);
            }
        }
        return width;
    }
767572
public int getViewSize() {
        if(viewSize > 0) {
            return viewSize;
        }
        if(direction == Direction.HORIZONTAL) {
            return getSize().getColumns();
        }
        else {
            return getSize().getRows();
        }
    }
209819
@Override
	public int getHeight() {
		int height = super.getHeight();
		if (height <= 0) {
			ImageView imageView = (ImageView) viewRef.get();
			if (imageView != null) {
				height = getImageViewFieldValue(imageView, "mMaxHeight"); // Check maxHeight parameter
			}
		}
		return height;
	}
730327
@TargetApi(Build.VERSION_CODES.JELLY_BEAN)
	public int getMaxWidth (){
		if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN)
			return mInputView.getMaxWidth();

		return -1;
	}
100365
public Rectangle getBarcodeSize() {
        Rectangle rect = ean.getBarcodeSize();
        rect.setRight(rect.getWidth() + supp.getBarcodeSize().getWidth() + n);
        return rect;
    }
125596
public static int getDisplayWidth(@NonNull final Context context) {
        Condition.INSTANCE.ensureNotNull(context, "The context may not be null");
        return context.getResources().getDisplayMetrics().widthPixels;
    }
256523
public int getWidth(ViewNode node) {
		int width = node.getDepth();
		ViewNode children[] = node.findChildren();
		for (int i = 0; i < children.length; i++) {
			int current = getWidth(children[i]);
			if (current > width)
				width = current;
		}
		return (width);
	}
1115449
public Integer getColWidth() {
        final Object result = getStateHelper().eval(PropertyKeys.colWidth, null);
        if (result == null) {
            return null;
        }
        return Integer.valueOf(result.toString());
    }
195824
@Column(header = org.opencms.workplace.commons.Messages.GUI_LABEL_SIZE_0, order = 80)
    public Integer getSize() {

        return Integer.valueOf(m_bean.getSize());
    }
464301
public float getWidthCorrected(float charSpacing, float wordSpacing)
    {
        if (image != null) {
            return image.getScaledWidth() + charSpacing;
        }
        int numberOfSpaces = 0;
        int idx = -1;
        while ((idx = value.indexOf(' ', idx + 1)) >= 0)
            ++numberOfSpaces;
        return width() + (value.length() * charSpacing + numberOfSpaces * wordSpacing);
    }
973234
public float getWidth() {
    if (DocumentElement_Type.featOkTst && ((DocumentElement_Type)jcasType).casFeat_width == null)
      jcasType.jcas.throwFeatMissing("width", "ch.epfl.bbp.uima.types.DocumentElement");
    return jcasType.ll_cas.ll_getFloatValue(addr, ((DocumentElement_Type)jcasType).casFeatCode_width);}
182252
public int getWidth() {
        if (format == ImageFormat.GIF && streamMetadata != null) {
            Node screenDescNode = NodeUtils.getChild(streamMetadata, "LogicalScreenDescriptor");
            if (screenDescNode != null) {
                return NodeUtils.getIntAttr(screenDescNode, "logicalScreenWidth");
            }
        }

        return getWidth(0);
    }
12238
function() {
            var data = {
                src: this._image.src,
                width: this._image.w,
                height: this._image.h,
                crops: []
            };

            for(var n = 0; n < this._image.crops.length; n++) {
                data.crops.push({
                    id: this._image.crops[n].id,
                    x: Math.round(this._image.crops[n].x),
                    y: Math.round(this._image.crops[n].y),
                    width: Math.round(this._image.crops[n].w),
                    height: Math.round(this._image.crops[n].h),
                    usable: this._image.crops[n].usable
                });
            }

            return data;
        }
1350378
public int getWidth() {
        try {
            return ((RemoteWebElement) getElement()).getSize().width;
        } catch (NumberFormatException e) {
            throw new WebElementException("Attribute " + WIDTH + " not found for Image " + getLocator(), e);
        }
    }