- IMAGING-34316: EWKC0074.DWG
- IMAGING-34315: BLDGPLAN.DWG
Aravindb:2. I am try to convert all images files to pdfccitt,gif,jpeg,jpg,png,tif,tiff,bmp,emf,exif,icon,wmf to pdf,is this following code is correct for all format here i mention ?Dim imageLicense As Aspose.Imaging.License = New Aspose.Imaging.License()imageLicense.SetLicense(ConfigurationManager.AppSettings("AsposeLic"))Dim pdf As Pdf = New Pdf()Dim MainSection As Aspose.Pdf.Generator.Section = pdf.Sections.Add()Dim sample_image As Aspose.Pdf.Generator.Image = New Aspose.Pdf.Generator.Image()sample_image.ImageInfo.File = inputfilesample_image.ImageInfo.FixWidth = MainSection.PageInfo.PageWidth - MainSection.PageInfo.Margin.Left - MainSection.PageInfo.Margin.Rightsample_image.ImageInfo.FixHeight = MainSection.PageInfo.PageHeight - MainSection.PageInfo.Margin.Top - MainSection.PageInfo.Margin.BottomDim myimage As Bitmap = New Bitmap(inputfile)If (myimage.Width > MainSection.PageInfo.PageWidth) ThenMainSection.IsLandscape = TrueElseMainSection.IsLandscape = FalseEnd IfMainSection.Paragraphs.Add(sample_image)pdf.Save(outputfile)
Aravindb:3.One bmp to pdf convert file,but output not look like original bmg image in output pdf file.Here i attach that origianl file and output pdf file also,for your clarification.
Aravindb:4.Why still water mark appear in output pdf files? i am use Aspose.Total license(30 days temporary license),and license path correctly given,for word,excel to pdf ,in output pdf watermark not appear,but only in image to pdf watermark still appear.Here i also attach one image to pdf file output file.
Aspose.Email.License licenseEmail = new Aspose.Email.License();
licenseEmail.SetLicense(licPath + "Aspose.Total.lic");
Aspose.Pdf.License licensePdf = new Aspose.Pdf.License();
licensePdf.SetLicense(licPath + "Aspose.Total.lic");
Aspose.BarCode.License licenseBarCode = new Aspose.BarCode.License();
licenseBarCode.SetLicense(licPath + "Aspose.Total.lic");
Aspose.Words.License licenseWords = new Aspose.Words.License();
licenseWords.SetLicense(licPath + "Aspose.Total.lic");
Aspose.Cells.License licenseCells = new Aspose.Cells.License();
licenseCells.SetLicense(licPath + "Aspose.Total.lic");
Aspose.Slides.License licenseSlides = new Aspose.Slides.License();
licenseSlides.SetLicense(licPath + "Aspose.Total.lic");
Aravindb:5.I have one tiff file with 30 pages(in one tiff files like a word file have more than one pages).If i try to convert ,i can see only first page only convert and in output pdf file appear other pages are not appear in output pdf file.For security reason i cant attach that file here.
Aravindb:For 2,if i try to convert tiff file (6 mb ),it take long time to convert to pdf format and long length tiff file output is reduced in output file.pls check this post.http://www.aspose.com/community/forums/567724/i-don-t-want-reduce-length-and-height-of-the-image-when-convert-to-pdf-format/showthread.aspx#567724
both AutoCAD 2011 Sample Files and AutoCAD 2010 Sample Files(23 files)
- IMAGING-34315: The sample BLDGPLAN.DWG has the AutoCAD 2000 data format that is currently not supported by Aspose.Imaging API. We are investigating the possibility to support this format with future releases, and we will keep you posted with updates in this regard. For now, we have enhanced the exception handling to throw appropriate messages when unsupported data formats are fed to Aspose.Imaging API.
- IMAGING-34316: The sample EWKC0074.DWG corresponds to an ancient AutoCAD version - Release 10 (October 1988). We can not support this format as we don’t have the documentation explaining the data format structure for this revision of DWG. If you wish to process this sample with Aspose.Imaging API, you have to upgrade the DWG format to the version supported at the moment.