doable in Java but doable in .Net?
-
I'm working on a "image processing" application... This is what I want to do... Take a TIF file, convert to PDF with 10 dpi and add couple of texts to the bottom of the image... This is doable in Java but I'm not familiar with Java and like to know if it can be done in .Net? if so, any ideas, sample websies would be great..
-
I'm working on a "image processing" application... This is what I want to do... Take a TIF file, convert to PDF with 10 dpi and add couple of texts to the bottom of the image... This is doable in Java but I'm not familiar with Java and like to know if it can be done in .Net? if so, any ideas, sample websies would be great..
I'd bet a huge pile of money that you can't do that in Java out of the box any more than you can in .NET. How do you know it can be done if you don't use Java ? You can buy components to do what you want in .NET, and if your requirements aren't too complex, there's some free stuff on source forge. I am sure that is the case for Java also. Christian I have drunk the cool-aid and found it wan and bitter. - Chris Maunder
-
I'd bet a huge pile of money that you can't do that in Java out of the box any more than you can in .NET. How do you know it can be done if you don't use Java ? You can buy components to do what you want in .NET, and if your requirements aren't too complex, there's some free stuff on source forge. I am sure that is the case for Java also. Christian I have drunk the cool-aid and found it wan and bitter. - Chris Maunder
ex-coworker did it in Java... but she was laid off and we cant use her code anymore... these are some of her code: Document document = new Document(PageSize.A4, 50, 50, 50, 50); ..... PdfWriter writer = PdfWriter.getInstance(document, new FileOutputStream("tiffTest.pdf"));
-
ex-coworker did it in Java... but she was laid off and we cant use her code anymore... these are some of her code: Document document = new Document(PageSize.A4, 50, 50, 50, 50); ..... PdfWriter writer = PdfWriter.getInstance(document, new FileOutputStream("tiffTest.pdf"));
eramgarden wrote: but she was laid off and we cant use her code anymore... Good thing you laid her off then. Smart move eramgarden wrote: PdfWriter writer = PdfWriter.getInstance(document, new FileOutputStream("tiffTest.pdf")); Yeah, what would you expect the code to look like if she's using a component that writes PDF's ? It took me three seconds to find a PDFWriter class for Java with Google ( I did it to double check that it's not core Java ). Are you sure your ex-coworker was fired ? I reckon she ran for her life. Christian I have drunk the cool-aid and found it wan and bitter. - Chris Maunder
-
eramgarden wrote: but she was laid off and we cant use her code anymore... Good thing you laid her off then. Smart move eramgarden wrote: PdfWriter writer = PdfWriter.getInstance(document, new FileOutputStream("tiffTest.pdf")); Yeah, what would you expect the code to look like if she's using a component that writes PDF's ? It took me three seconds to find a PDFWriter class for Java with Google ( I did it to double check that it's not core Java ). Are you sure your ex-coworker was fired ? I reckon she ran for her life. Christian I have drunk the cool-aid and found it wan and bitter. - Chris Maunder
I'm not a Java developer..just have her code to look over and see what she's done...If I knew there's a PDFWrite class, I wouldnt be asking..I looked at the folder she gave us and didnt see such class.. There's no shame in asking and getting help..is there? This helps a lot. Thanks.
-
I'm not a Java developer..just have her code to look over and see what she's done...If I knew there's a PDFWrite class, I wouldnt be asking..I looked at the folder she gave us and didnt see such class.. There's no shame in asking and getting help..is there? This helps a lot. Thanks.
-
I'm not a Java developer..just have her code to look over and see what she's done...If I knew there's a PDFWrite class, I wouldnt be asking..I looked at the folder she gave us and didnt see such class.. There's no shame in asking and getting help..is there? This helps a lot. Thanks.
There is not class for the PDFWriter, but it is a component installed on that machine. It would work something like an ActiveX control (a .oCX file) registered on the system. The Java code is then instantiating the PDFWriter just like and other control and passing the parameters to it. RageInTheMachine9532
-
There is not class for the PDFWriter, but it is a component installed on that machine. It would work something like an ActiveX control (a .oCX file) registered on the system. The Java code is then instantiating the PDFWriter just like and other control and passing the parameters to it. RageInTheMachine9532
I did more research about PDFWriter . Someone said it comes with ADOBE. I have ADOBE on my machine and there's a folder with 2 ocx files: C:\Program Files\Adobe\Acrobat 5.0\Reader\ActiveX PDF.ocx and AcroIEHelper.ocx I reference PDF.ocx in my VB.Net code but I dont see any PDFWriter member for it from the dropdown box when I reference it... is this the right ocx??
-
I did more research about PDFWriter . Someone said it comes with ADOBE. I have ADOBE on my machine and there's a folder with 2 ocx files: C:\Program Files\Adobe\Acrobat 5.0\Reader\ActiveX PDF.ocx and AcroIEHelper.ocx I reference PDF.ocx in my VB.Net code but I dont see any PDFWriter member for it from the dropdown box when I reference it... is this the right ocx??
The PDF.OCX you found is the Acrobat READER control that you can use to view a PDF document in your own apps. It will NOT write out a PDF! RageInTheMachine9532
-
The PDF.OCX you found is the Acrobat READER control that you can use to view a PDF document in your own apps. It will NOT write out a PDF! RageInTheMachine9532
-
I'm working on a "image processing" application... This is what I want to do... Take a TIF file, convert to PDF with 10 dpi and add couple of texts to the bottom of the image... This is doable in Java but I'm not familiar with Java and like to know if it can be done in .Net? if so, any ideas, sample websies would be great..
I've played with a little bit of PDF stuff, though not a lot. I used PDF-Lib from www.pdflib.com. You can use the library for free, but it will display a banner across the created page. To not know is bad. To not wish to know is worse.