public String convertImg(String srcUrl,String width,String height,String IP_PORT,String apiKey){
        String name = upLoad(srcUrl, IP_PORT, apiKey);
        String ext = getFileHouzhui(name);
        String id = name.replace(ext,"");


        String destination = "http://"+IP_PORT+"/cms/api/convertImage?id="+id+"&ext="+ext+"&width="+width+"&height="+height+"&apikey="+apiKey;
        HttpClient httpClient = new DefaultHttpClient();
        HttpGet httpGet = new HttpGet(destination);
        HttpResponse httpResponse = null;
        String backRes = "-1";
        try {
            httpResponse = httpClient.execute(httpGet);
            int backCode = httpResponse.getStatusLine().getStatusCode();
            if(backCode == HttpStatus.SC_OK){
                String strBack = InputStreamUtils.inputStream2String(httpResponse.getEntity().getContent());
                JSONObject jsonBack = JSONObject.fromObject(strBack);
                backRes = jsonBack.getString("status");
                if(backRes.equals("0")){
                    backRes = jsonBack.getString("name");
                    return backRes;
                }
            }
        } catch (IOException e) {
            e.printStackTrace();
        }
        return backRes;
    }