General information
Category:
Reports & Report designer
Are you able to change encoding for tiff files?
>I also notice that the GDIpSaveImagetoFile Dll takes the clsidEncoder parameter and this parameter can be found in the gdiplus.h file as
>#define EncoderValueCompressionCCITT3 3
>#define EncoderValueCompressionCCITT4 4
>#define EncoderValueCompressionRle 5
>
>
>
>>Just curious, did you try it yourself? I have never been able to get it to work with tiff files unless I do not specify the compression, colordepth, saveflag.
>>
>>
>>>In the GDI image.savetofile() method you gave 3 parameter
>>>TIFF
>>> compression, colordepth, saveflag
>>>
>>>
>>>
>>>
>>>>My second try on this topic:
>>>>
>>>>From VFP Help on the ReportListener.OutputPage
>>>>
>>>>The ReportListener class's native ability to provide images of pages as various file types is limited to some default settings for each image type it supports. In the case of TIFFs, ReportListener provides compressed TIFFs for performance. However, you are not limited to the settings provided in the native implementation. You can give the ReportListener a GDI+ graphics handle and, in the OutputPage method, request that it render a page to this device. You can then save the result to an image file with non-default specifications. Visual FoxPro supplies a class library to help you perform this and other GDI+-related tasks. For more information, see GDI Plus API Wrapper Foundation Classes
>>>>
>>>>
>>>>I need a little more info on how to create a TIFF file with different compression ratio and other specific settings. I cannot find any sample anywhere.
>>>>
>>>>I cannot use a third party tool, I need to do this with VFP9 (the help says it can be done) The VFP help is not usefull at all.
>>>>
>>>>
>>>>Please Help!
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only