display and print different image quality - solved
Phil Jimmieson
phil at liverpool.ac.uk
Fri Nov 30 14:56:50 EST 2012
The technique I use is I have an image dump card and put all my large images on there. I then scale them smaller (with resizequality set to best) and lock them to prevent them resizing back to full size. If you now use imagesource items in a field to refer to those images, the field version displays at the same size as the scaled down version, but if you print the field it uses the original higher resolution images in the output.
Sent from my iPhone
On 30 Nov 2012, at 19:33, stephen barncard <stephenREVOLUTION2 at barncard.com> wrote:
> This bugs me. I thought the printer routines USED to take care of this
> automatically;
>
> create an image object with data bigger than what one wants to display,
> then resize the image to fit the layout. The increase in resolution in the
> printed, reduced image should be obvious.
> But multiple files per image.... yikes...
>
> On Fri, Nov 30, 2012 at 6:25 AM, Tiemo Hollmann TB <toolbook at kestner.de>wrote:
>
>> Add FYI: Thanks to William, I found another more straight forward approach.
>> I still have two logo images, a small dimensioned one for display on my
>> card
>> and a larger (hidden) one for containing a better resolution for printing
>> in
>> a larger scale. Now I export a snapshot of the larger img to a local and
>> set
>> the text of the small img to this local. Using this workaround the small
>> displayed AND larger printed quality of the small logo image is fine.
>> I don't know why, but the result of the print resolution differs
>> completely,
>> if you set the text of the small image directly to the text of the large
>> image (bad resolution) or if you set the text to the exported local. Having
>> set the resizequality both times to best before.
>> Thanks
>> Tiemo
>>
>>> -----Ursprüngliche Nachricht-----
>>> Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im
>>> Auftrag von Tiemo Hollmann TB
>>> Gesendet: Donnerstag, 29. November 2012 19:13
>>> An: 'How to use LiveCode'
>>> Betreff: AW: display and print different image quality
>>>
>>> I think I tested all kinds of resizing the image, setting the text or the
>>> imagedata of the image, but don’t get a sharp resized logo text in my
>>> image.
>>> And why should it? It's the same as resizing a bitmap image containing
>>> text in photoshop. You only can resize a text based logo in full quality,
>>> if you have a vector based image. And obviously my trick (printing a
>> large
>>> hidden image into a small rect) just does this, because LiveCode passes
>>> the imagedata to the printer driver, which does a kind of vector
>>> processing, when resizing. I don't know how the printer driver can do
>>> this, without actually having a vector image, but the trick works.
>>> So probably no other straight forward method!?
>>> Thanks
>>> Tiemo
>>>
>>>> -----Ursprüngliche Nachricht-----
>>>> Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im
>>>> Auftrag von Tiemo Hollmann TB
>>>> Gesendet: Donnerstag, 29. November 2012 12:38
>>>> An: 'How to use LiveCode'
>>>> Betreff: display and print different image quality
>>>>
>>>> Hi,
>>>>
>>>> I have a card with an logo image, which is to be printed. Up to now I
>>>> have two images for my logo, a small one, which is shown on the card
>>>> and a large one, to be printed. I do this because if I print the small
>>>> one, which resides on the card, the text in the logo is printed
>>>> blurred, because the print dimension is much bigger, then the card
>>>> size. On the opposite, I can't set the text of the small display-image
>>>> to the text of the big print-image, because just shrinking the logo in
>>>> livecode the text shows bad pixeled.
>>>>
>>>>
>>>>
>>>> My workaround up to now is, that I use the small image only for
>>>> displaying on the card and a big print-image, which I set offscreen.
>>>> Now I print the rectangle of the big offscreen-image into the rect of
>>>> the small print position , while hiding the small display image. This
>>>> works fine with good display and print quality, but I am wondering, if
>>>> there is a more straight approach, with manipulating the text or
>>>> imagedata of the image, but I didn't find an easier solution yet.
>>>>
>>>>
>>>>
>>>> Thanks
>>>>
>>>> Tiemo
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> use-livecode mailing list
>>>> use-livecode at lists.runrev.com
>>>> Please visit this url to subscribe, unsubscribe and manage your
>>>> subscription preferences:
>>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>>
>>>
>>> _______________________________________________
>>> use-livecode mailing list
>>> use-livecode at lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>>
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
>
> --
>
>
>
> Stephen Barncard
> San Francisco Ca. USA
>
> more about sqb <http://www.google.com/profiles/sbarncar>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list