Questions tagged [cfimage]

Creates a ColdFusion image that can be manipulated by using Image functions. You can use the cfimage tag to perform common image manipulation operations as a shortcut to Image functions.You can use the cfimage tag independently or in conjunction with Image function

41 questions
5
votes
3 answers

How do I save/convert a 24-bit PNG as an 8-bit PNG?

I am creating images using ImageNew (and related) in Railo, which uses JAI under the covers. When I save an image, I'm getting a 24-bit PNG, but I only need 8-bit. (Simply re-saving the file with as 8-bit with a graphics editor results a quarter to…
Peter Boughton
  • 110,170
  • 32
  • 120
  • 176
3
votes
1 answer

Stream cfcontent from an image?

Let me just say at the top that I'm not sure I truly understand what cfcontent is doing... so bear with me if this is a stupid question. I've been using cfcontent to stream images outside of my web root to the browser. I've decided that I now want…
earachefl
  • 1,880
  • 7
  • 31
  • 55
3
votes
1 answer

How do you convert a TIF image into PDF within coldfusion

The closest I have been able to get is using this code
user1322114
  • 317
  • 2
  • 10
3
votes
1 answer

Crop images from bottom and top equally with ColdFusion 10

I've been trying to programmatically resize and crop images with ColdFusion 10. What's driving me nuts is that I can not make it equally crop images from bottom and top while maintaining the same width in the process. Here is what I currently have,…
user2595617
  • 219
  • 3
  • 13
3
votes
3 answers

how to resize with CFImage and actually reducing the image file size?

Possible Duplicate: Why should I resize an image in Coldfusion if the file size doen't decrease and the quality of the image suffers? I must be doing something wrong here... using Coldfuison8 I have a product search which is pulling in images…
frequent
  • 27,643
  • 59
  • 181
  • 333
2
votes
2 answers

resize facebook profile image

Is there any way to resize the profile picture you retreive from the graph api url https://graph.facebook.com/profileid/picture?type=square? I know about the different types you can call. But I need to resize the image server side, stored in a…
dreagan
  • 2,426
  • 6
  • 24
  • 34
2
votes
2 answers

Session variable not refreshing with new cfimage

Here's an odd one, for me at least. I'm reading an image into a cf image variable and saving it as a session variable: I plan to be manipulating…
earachefl
  • 1,880
  • 7
  • 31
  • 55
2
votes
1 answer

Coldfusion 2018 No SOF segment Multi-Page TIFF Error

I have a new CF18 server and I'm getting some errors reading and converting some old images that were readable on my previous CF11 server. FYI GetReadableImageFormats results in "BMP,GIF,JPEG,JPEG…
Stephen Sharpe
  • 167
  • 1
  • 8
2
votes
1 answer

How to parse Multipart/mixed data in Coldfusion

I am working with a REST service that returns a blob of images as part of Multipart/mixed data. There can be 1 or more images in the content. The boundary for this blob is returned in the Content-Type. If the boundary of this multipart content is,…
2
votes
0 answers

Unable to resize images in ColdFusion 8, file becomes hidden

My code takes an uploaded file, resizes it and attempts to save it to another file, from a temp folder to destination folder. I've tried all variations of sample code found online. When the cfimage tag goes to save the resized image, the file…
Connie DeCinko
  • 996
  • 5
  • 19
  • 39
2
votes
1 answer

Adding a text watermark

I've learned how to add a watermark to a pdf.
Phillip Senn
  • 46,771
  • 90
  • 257
  • 373
2
votes
6 answers

Need Coldfusion strategy for watermarking 11 GB of jpegs

I have a client who wants to watermark their images on a IIS server running ColdFusion 10. I'm looking for any way to avoid mutilating all images with a batch update and having to manage both a version watermarked and one for the original. Can…
Beth B
  • 59
  • 2
1
vote
2 answers

CFEclipse doesn't recognize structName in cfimage tag

This code: is giving this error: The attribute 'structName' is required for the tag. (Found: [source, structname, action]) When I run this code in CFBuilder - everything is OK,…
Wolandello
  • 127
  • 4
  • 15
1
vote
2 answers

coldfusion imageDraw java.lang.Double cannot be cast to java.lang.String

I am working with imageDraw and getting an odd error. If I just plugin values and don't try to use the ones I am retrieving from elsewhere, it works, but I have to draw the values for the margins and line height from other places and calculate…
1
vote
1 answer

Coldfusion cfimage barcode generator (generating multiple barcodes)

This script works fine. The issue I'm having is trying to get it to generate multiple barcodes per page. It will only generate the first one. the rest are blank images.
1
2 3