473,418 Members | 2,337 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,418 software developers and data experts.

converting rtf to JPEG?

Tim
Since rtf files cause so many troubles, i.e., allow the users to download the
files, slow loading, incompatible with other browser, and so on. Do you think
I should convert them to JPEG files to embeb them into HTML? Once converting
to JPEG, it is easier to programming in HTML (i.e., just add the image tag),
load faster, and prevent the user from download the files? Do you think
that's a good idea.
thanks

Dec 14 '05 #1
9 2072
=?Utf-8?B?VGlt?= wrote on 14 dec 2005 in
microsoft.public.inetserver.asp.general:
Since rtf files cause so many troubles, i.e., allow the users to
download the files, slow loading, incompatible with other browser, and
so on. Do you think I should convert them to JPEG files to embeb them
into HTML? Once converting to JPEG, it is easier to programming in
HTML (i.e., just add the image tag), load faster, and prevent the user
from download the files? Do you think that's a good idea.


No.

Despite this not being an ASP issus, as the repeated translation would play
havoc on server cpu time, it also would increase download time enormously.

What is wrong with HTML/CSS for text and pictures?

--
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)

Dec 14 '05 #2
What do you try to do with RTF ? Is this to display text ? If yes, why can't
you use just text...
--
Patrice

"Tim" <Ti*@discussions.microsoft.com> a écrit dans le message de
news:87**********************************@microsof t.com...
Since rtf files cause so many troubles, i.e., allow the users to download the files, slow loading, incompatible with other browser, and so on. Do you think I should convert them to JPEG files to embeb them into HTML? Once converting to JPEG, it is easier to programming in HTML (i.e., just add the image tag), load faster, and prevent the user from download the files? Do you think
that's a good idea.
thanks

Dec 14 '05 #3
..jpg or .jpeg images on .asp or .htm or .html pages on the Internet
sounds all around better than .rtf pages to me.

Best regards,
J. Paul Schmidt, Freelance Web and Database Developer
http://www.Bullschmidt.com
Access Database Sample, Web Database Sample, ASP Design Tips
Tim wrote:
Since rtf files cause so many troubles, i.e., allow the users to download the
files, slow loading, incompatible with other browser, and so on. Do you think
I should convert them to JPEG files to embeb them into HTML? Once converting
to JPEG, it is easier to programming in HTML (i.e., just add the image tag),
load faster, and prevent the user from download the files? Do you think
that's a good idea.
thanks


Dec 14 '05 #4
Tim
Hi all,
I use rft files not txt because I have to. There is a software vendor that
sells the program to convert the rtf files to JPEG. So, Evertjan, I don't do
the translation on the server. How can I prevent the users to down load files
onto their computer? Isn't it very slow to load the files on the user's
browser? It seems to me that I should use the converter, but I am not sure so
that's why I post the question.

Paul, look like you know the problem. I'd like to make sure I go the right
direction. Any tips about it would be appreciated.

Thank you,

"pa**@bullschmidt.com" wrote:
..jpg or .jpeg images on .asp or .htm or .html pages on the Internet
sounds all around better than .rtf pages to me.

Best regards,
J. Paul Schmidt, Freelance Web and Database Developer
http://www.Bullschmidt.com
Access Database Sample, Web Database Sample, ASP Design Tips
Tim wrote:
Since rtf files cause so many troubles, i.e., allow the users to download the
files, slow loading, incompatible with other browser, and so on. Do you think
I should convert them to JPEG files to embeb them into HTML? Once converting
to JPEG, it is easier to programming in HTML (i.e., just add the image tag),
load faster, and prevent the user from download the files? Do you think
that's a good idea.
thanks


Dec 14 '05 #5
wrote on 14 dec 2005 in microsoft.public.inetserver.asp.general:
I use rft files not txt because I have to. There is a software vendor
that sells the program to convert the rtf files to JPEG. So, Evertjan,
I don't do the translation on the server.
So where is your ASP question?
How can I prevent the users to down load files onto their computer?
The only way is not to allow the users to download the file,
if you don't mind not showing the file to the user.
Isn't it very slow to load the files on the user's browser?
That depends on the connection and the size of the jpg.
It seems to me that I should use the converter,
but I am not sure so that's why I post the question.
Do some testing, and if there is an ASP related question,
this NG is a good start.
Paul, look like you know the problem. I'd like to make sure I go the
right direction. Any tips about it would be appreciated.

--
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)

Dec 14 '05 #6
IMO we really need the whole picture. What are those RTF files ? How are
they produced ? Is this some kind of online document management application
? Do you have some kind of right management problem ?

You could also use the PDF or the some kind of e-Book format that AFAIK
includes some kind of protection scheme. The user must download the file to
have something viewable client side. A JPG file could be processed by an OCR
software to get the text.

Finally it's likely the image file is bigger than just the corrresponding
text.

I assume you have some kind of document management while the usual user
interface uses HTML ?

--
Patrice

"Tim" <Ti*@discussions.microsoft.com> a écrit dans le message de
news:F1**********************************@microsof t.com...
Hi all,
I use rft files not txt because I have to. There is a software vendor that
sells the program to convert the rtf files to JPEG. So, Evertjan, I don't do the translation on the server. How can I prevent the users to down load files onto their computer? Isn't it very slow to load the files on the user's
browser? It seems to me that I should use the converter, but I am not sure so that's why I post the question.

Paul, look like you know the problem. I'd like to make sure I go the right
direction. Any tips about it would be appreciated.

Thank you,

"pa**@bullschmidt.com" wrote:
..jpg or .jpeg images on .asp or .htm or .html pages on the Internet
sounds all around better than .rtf pages to me.

Best regards,
J. Paul Schmidt, Freelance Web and Database Developer
http://www.Bullschmidt.com
Access Database Sample, Web Database Sample, ASP Design Tips
Tim wrote:
Since rtf files cause so many troubles, i.e., allow the users to download the files, slow loading, incompatible with other browser, and so on. Do you think I should convert them to JPEG files to embeb them into HTML? Once converting to JPEG, it is easier to programming in HTML (i.e., just add the image tag), load faster, and prevent the user from download the files? Do you think that's a good idea.
thanks


Dec 14 '05 #7
Tim
>So where is your ASP question?
My ASP question is how can I embed the rtf files into ASP project without
allowing the users to download/alter them? And I would like to use loop to go
through all rtf files.
The only way is not to allow the users to download the file,
if you don't mind not showing the file to the user. That's why I am interested in JPEG. By converting to JPEG, in my opinion,
the rtf (or text) files will become images and it would not be downloaded by
coding. I still don't know how to code it but I am sure there is a way. Of
course, maybe I am wrong.
------------------ IMO we really need the whole picture. What are those RTF files ? How are
they produced ? Is this some kind of online document management application
? Do you have some kind of right management problem ?

Sorry if I can tell you more in details. Just understand that now I got a
bulk of rtf files that I need to play around to put them on the internet
using ASP.

Thank you for trying helping.
Tim
Dec 14 '05 #8
=?Utf-8?B?VGlt?= wrote on 14 dec 2005 in
microsoft.public.inetserver.asp.general:
So where is your ASP question? My ASP question is how can I embed the rtf files into ASP project
without allowing the users to download/alter them?


This NG is not about "asp-projects embedding" [definition?],
but about ASP being a platform for serverside coding.

Whatever you send to the user must be downloaded, because there is no
difference between those words.
And I would like to use loop to go through all rtf files.
Elementary:

<%
for n=0 to RTFmax
%>
<a href='myDir/myRTF<%=n%>.rtf'>myRTF<%=n%></a><br>
<%
next
%>

The only way is not to allow the users to download the file,
if you don't mind not showing the file to the user.

That's why I am interested in JPEG. By converting to JPEG, in my
opinion, the rtf (or text) files will become images and it would not
be downloaded by coding. I still don't know how to code it but I am
sure there is a way. Of course, maybe I am wrong.


"downloaded by coding", how else would you download something?

Text in jpg can be reconstructed to simple text by software,
unless you make the jpg so bad, it is even a problem for human reading.

and the jpg-s themselves can be saved to the local hd easily.
------------------
IMO we really need the whole picture. What are those RTF files ? How
are they produced ? Is this some kind of online document management
application ? Do you have some kind of right management problem ?

Sorry if I can tell you more in details. Just understand that now I
got a bulk of rtf files that I need to play around to put them on the
internet using ASP.


ASP, being serverside technology has nothing to do with your obfuscation
efforts, unless it does some serverside task.

Once the stream has left the server, ASP is not involved.

I think, unless you are comfortable by a goal of preventing 80% of the
users, the lazy ones, to counter your ineffective measures, you are out of
luck. And ASP will not help you.

Setting a authentication, and limiting the number of users to trusted users
[and perhaps certified lazy users], whom you do not mind using your rtf-s,
is a better approach.

--
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)

Dec 15 '05 #9

Tim wrote:
So where is your ASP question? My ASP question is how can I embed the rtf files into ASP project without
allowing the users to download/alter them? And I would like to use loop to go
through all rtf files.


You're doing this the hard way. Convert all your stuff to PDF, and if
you're concerned about alteration, put passwords on them, and let
people download all they want.
That's why I am interested in JPEG. By converting to JPEG, in my opinion,
the rtf (or text) files will become images and it would not be downloaded by
coding. I still don't know how to code it but I am sure there is a way. Of
course, maybe I am wrong.


Everything in a browser is downloaded, that's why you can see it.
And if someone can see it, they can take a snapshot of it.

Dec 16 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Ming | last post by:
Hi All, I want to write a PHP webpage which allows people to upload images (no matter what formats) to me and at the same time converts any non-jpeg image to JPEG. Here's what I have: ...
6
by: Luis Arvayo | last post by:
Hello, I am trying to convert a jpeg image stored in a PictureBox to a byte array in order to later save it to a database, but I get this error : "Generic Error in GDI+". The source code is...
0
by: Mark Allen | last post by:
Hello, I am creating an RTF document server side for a report. However I am having problems converting images into the required RTF format. I am converting the image into a string (binary)...
6
by: Krakatioison | last post by:
I've seen once program which was able to convert any url to JPG file. Once I tried it on cnn.com website and it created the nice jpg, even that the page was scrollable, so it was not using...
4
by: Beginner | last post by:
How do I convert JPEG images to binary files in ASP.NET? Please advice. Thanks.
2
by: marydeepthy | last post by:
Hi, I am a not an expert in c, but i want to be one. In many applications, we can save a jpeg/gif/bmp image as gif/bmp/jpeg. I want to write my own program for that. i am searching the net to...
2
by: Laurent Navarro | last post by:
Hello, I am using a library which returns a byte containing RAW data, ie all pixels' color values coded in a byte array without header. I would like to save those data into a JPEG file so I...
2
by: mndprasad | last post by:
hi all i am doing a project in java where i need to convert 10 jpeg images into a single tiff image..conversion of single jpeg image to single tiff is happening but embedding all the 10 jpeg images...
5
by: Vani Perumal | last post by:
Hai All, I am working on Fingerprints. I reproduced fingerprints in C. I want to print it and also for matching I want to store the output as a JPEG file. For printing I tried PrintScreen, I...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.